patch-2.4.4 linux/arch/i386/math-emu/reg_u_div.S
Next file: linux/arch/i386/math-emu/reg_u_mul.S
Previous file: linux/arch/i386/math-emu/reg_u_add.S
Back to the patch index
Back to the overall index
- Lines: 103
- Date:
Fri Apr 6 10:42:47 2001
- Orig file:
v2.4.3/linux/arch/i386/math-emu/reg_u_div.S
- Orig date:
Fri Aug 27 10:18:17 1999
diff -u --recursive --new-file v2.4.3/linux/arch/i386/math-emu/reg_u_div.S linux/arch/i386/math-emu/reg_u_div.S
@@ -67,7 +67,7 @@
.long 0
FPU_ovfl_flag:
.byte 0
-#endif NON_REENTRANT_FPU
+#endif /* NON_REENTRANT_FPU */
#define REGA PARAM1
#define REGB PARAM2
@@ -79,7 +79,7 @@
movl %esp,%ebp
#ifndef NON_REENTRANT_FPU
subl $28,%esp
-#endif NON_REENTRANT_FPU
+#endif /* NON_REENTRANT_FPU */
pushl %esi
pushl %edi
@@ -112,7 +112,7 @@
/* je L_bugged */
testl $0x80000000, SIGH(%ebx) /* Divisor */
je L_bugged
-#endif PARANOID
+#endif /* PARANOID */
/* Check if the divisor can be treated as having just 32 bits */
cmpl $0,SIGL(%ebx)
@@ -248,7 +248,7 @@
#ifdef PARANOID
jb L_bugged_1
-#endif PARANOID
+#endif /* PARANOID */
/* need to subtract another once of the denom */
incl FPU_result_2 /* Correct the answer */
@@ -261,7 +261,7 @@
#ifdef PARANOID
sbbl $0,FPU_accum_3
jne L_bugged_1 /* Must check for non-zero result here */
-#endif PARANOID
+#endif /* PARANOID */
/*----------------------------------------------------------------------*/
/* Half of the main problem is done, there is just a reduced numerator
@@ -291,7 +291,7 @@
#ifdef PARANOID
je L_bugged_2 /* Can't bump the result to 1.0 */
-#endif PARANOID
+#endif /* PARANOID */
LDo_2nd_div:
cmpl $0,%ecx /* augmented denom msw */
@@ -314,7 +314,7 @@
#ifdef PARANOID
jc L_bugged_2
-#endif PARANOID
+#endif /* PARANOID */
movl FPU_result_1,%eax /* Get the result back */
mull SIGL(%ebx) /* now mul the ls dw of the denom */
@@ -325,14 +325,14 @@
#ifdef PARANOID
jc L_bugged_2
-#endif PARANOID
+#endif /* PARANOID */
jz LDo_3rd_32_bits
#ifdef PARANOID
cmpl $1,FPU_accum_2
jne L_bugged_2
-#endif PARANOID
+#endif /* PARANOID */
/* need to subtract another once of the denom */
movl SIGL(%ebx),%eax
@@ -344,14 +344,14 @@
#ifdef PARANOID
jc L_bugged_2
jne L_bugged_2
-#endif PARANOID
+#endif /* PARANOID */
addl $1,FPU_result_1 /* Correct the answer */
adcl $0,FPU_result_2
#ifdef PARANOID
jc L_bugged_2 /* Must check for non-zero result here */
-#endif PARANOID
+#endif /* PARANOID */
/*----------------------------------------------------------------------*/
/* The division is essentially finished here, we just need to perform
@@ -470,4 +470,4 @@
leave
ret
-#endif PARANOID
+#endif /* PARANOID */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)