summary refs log tree commit diff
path: root/sysdeps/sparc/rem.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/rem.S')
-rw-r--r--sysdeps/sparc/rem.S68
1 files changed, 30 insertions, 38 deletions
diff --git a/sysdeps/sparc/rem.S b/sysdeps/sparc/rem.S
index 565fc0f678..05916f0b06 100644
--- a/sysdeps/sparc/rem.S
+++ b/sysdeps/sparc/rem.S
@@ -38,15 +38,7 @@
 
 
 #include "DEFS.h"
-#ifdef __linux__
-#include <asm/traps.h>
-#else
-#ifdef __svr4__
 #include <sys/trap.h>
-#else
-#include <machine/trap.h>
-#endif
-#endif
 
 FUNC(.rem)
 	! compute sign of result; if neither is negative, no problem
@@ -189,14 +181,14 @@ Ldivloop:
 	subcc	%o3,%o5,%o3
 		b	9f
 		add	%o2, (7*2+1), %o2
-	
+
 L.4.23:
 	! remainder is negative
 	addcc	%o3,%o5,%o3
 		b	9f
 		add	%o2, (7*2-1), %o2
-	
-	
+
+
 L.3.19:
 	! remainder is negative
 	addcc	%o3,%o5,%o3
@@ -207,15 +199,15 @@ L.3.19:
 	subcc	%o3,%o5,%o3
 		b	9f
 		add	%o2, (5*2+1), %o2
-	
+
 L.4.21:
 	! remainder is negative
 	addcc	%o3,%o5,%o3
 		b	9f
 		add	%o2, (5*2-1), %o2
-	
-	
-	
+
+
+
 L.2.17:
 	! remainder is negative
 	addcc	%o3,%o5,%o3
@@ -231,14 +223,14 @@ L.2.17:
 	subcc	%o3,%o5,%o3
 		b	9f
 		add	%o2, (3*2+1), %o2
-	
+
 L.4.19:
 	! remainder is negative
 	addcc	%o3,%o5,%o3
 		b	9f
 		add	%o2, (3*2-1), %o2
-	
-	
+
+
 L.3.17:
 	! remainder is negative
 	addcc	%o3,%o5,%o3
@@ -249,16 +241,16 @@ L.3.17:
 	subcc	%o3,%o5,%o3
 		b	9f
 		add	%o2, (1*2+1), %o2
-	
+
 L.4.17:
 	! remainder is negative
 	addcc	%o3,%o5,%o3
 		b	9f
 		add	%o2, (1*2-1), %o2
-	
-	
-	
-	
+
+
+
+
 L.1.16:
 	! remainder is negative
 	addcc	%o3,%o5,%o3
@@ -279,14 +271,14 @@ L.1.16:
 	subcc	%o3,%o5,%o3
 		b	9f
 		add	%o2, (-1*2+1), %o2
-	
+
 L.4.15:
 	! remainder is negative
 	addcc	%o3,%o5,%o3
 		b	9f
 		add	%o2, (-1*2-1), %o2
-	
-	
+
+
 L.3.15:
 	! remainder is negative
 	addcc	%o3,%o5,%o3
@@ -297,15 +289,15 @@ L.3.15:
 	subcc	%o3,%o5,%o3
 		b	9f
 		add	%o2, (-3*2+1), %o2
-	
+
 L.4.13:
 	! remainder is negative
 	addcc	%o3,%o5,%o3
 		b	9f
 		add	%o2, (-3*2-1), %o2
-	
-	
-	
+
+
+
 L.2.15:
 	! remainder is negative
 	addcc	%o3,%o5,%o3
@@ -321,14 +313,14 @@ L.2.15:
 	subcc	%o3,%o5,%o3
 		b	9f
 		add	%o2, (-5*2+1), %o2
-	
+
 L.4.11:
 	! remainder is negative
 	addcc	%o3,%o5,%o3
 		b	9f
 		add	%o2, (-5*2-1), %o2
-	
-	
+
+
 L.3.13:
 	! remainder is negative
 	addcc	%o3,%o5,%o3
@@ -339,16 +331,16 @@ L.3.13:
 	subcc	%o3,%o5,%o3
 		b	9f
 		add	%o2, (-7*2+1), %o2
-	
+
 L.4.9:
 	! remainder is negative
 	addcc	%o3,%o5,%o3
 		b	9f
 		add	%o2, (-7*2-1), %o2
-	
-	
-	
-	
+
+
+
+
 	9:
 Lend_regular_divide:
 	subcc	%o4, 1, %o4