[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git-commits-head
Subject:    [SPARC64]: Always use sethi+jmpl to reach VISenter{,half}.
From:       Linux Kernel Mailing List <linux-kernel () vger ! kernel ! org>
Date:       2003-09-30 11:24:13
[Download RAW message or body]

ChangeSet 1.1375.1.82, 2003/09/30 04:24:13-07:00, davem@nuts.ninka.net

	[SPARC64]: Always use sethi+jmpl to reach VISenter{,half}.


# This patch includes the following deltas:
#	           ChangeSet	1.1375.1.81 -> 1.1375.1.82
#	include/asm-sparc64/visasm.h	1.4     -> 1.5    
#

 visasm.h |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)


diff -Nru a/include/asm-sparc64/visasm.h b/include/asm-sparc64/visasm.h
--- a/include/asm-sparc64/visasm.h	Tue Sep 30 09:11:50 2003
+++ b/include/asm-sparc64/visasm.h	Tue Sep 30 09:11:50 2003
@@ -17,7 +17,8 @@
 	andcc		%o5, (FPRS_FEF|FPRS_DU), %g0;	\
 	be,pt		%icc, 297f;			\
 	 sethi		%hi(297f), %g7;			\
-	ba,pt		%xcc, VISenter;			\
+	sethi		%hi(VISenter), %g1;		\
+	jmpl		%g1 + %lo(VISenter), %g0;	\
 	 or		%g7, %lo(297f), %g7;		\
 297:	wr		%g0, FPRS_FEF, %fprs;		\
 
@@ -32,7 +33,8 @@
 	andcc		%o5, FPRS_FEF, %g0;		\
 	be,pt		%icc, 297f;			\
 	 sethi		%hi(298f), %g7;			\
-	ba,pt		%xcc, VISenterhalf;		\
+	sethi		%hi(VISenterhalf), %g1;		\
+	jmpl		%g1 + %lo(VISenterhalf), %g0;	\
 	 or		%g7, %lo(298f), %g7;		\
 	clr		%o5;				\
 297:	wr		%o5, FPRS_FEF, %fprs;		\
@@ -48,7 +50,8 @@
 "		andcc %%o5, %0, %%g0\n"
 "		be,pt %%icc, 299f\n"
 "		 sethi %%hi(298f), %%g7\n"
-"		ba VISenter	! Note. This cannot be bp, as it may be too far from VISenter.\n"
+"		sethi %%hi(VISenter), %%g1\n"
+"		jmpl %%g1 + %%lo(VISenter), %%g0\n"
 "		 or %%g7, %%lo(298f), %%g7\n"
 "	298:	wr %%g0, 0, %%fprs\n"
 "	299:\n"
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic