summaryrefslogtreecommitdiffstats
path: root/arch/i386/math-emu/reg_u_div.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/math-emu/reg_u_div.S')
-rw-r--r--arch/i386/math-emu/reg_u_div.S20
1 files changed, 7 insertions, 13 deletions
diff --git a/arch/i386/math-emu/reg_u_div.S b/arch/i386/math-emu/reg_u_div.S
index 328e9116e..5bba98dd8 100644
--- a/arch/i386/math-emu/reg_u_div.S
+++ b/arch/i386/math-emu/reg_u_div.S
@@ -4,9 +4,9 @@
| |
| Core division routines |
| |
- | Copyright (C) 1992,1993 |
+ | Copyright (C) 1992,1993,1995 |
| W. Metzenthen, 22 Parker St, Ormond, Vic 3163, |
- | Australia. E-mail billm@vaxc.cc.monash.edu.au |
+ | Australia. E-mail billm@jacobi.maths.monash.edu.au |
| |
| |
+---------------------------------------------------------------------------*/
@@ -21,7 +21,7 @@
+---------------------------------------------------------------------------*/
#include "exception.h"
-#include "fpu_asm.h"
+#include "fpu_emu.h"
#include "control_w.h"
@@ -69,13 +69,7 @@ FPU_ovfl_flag:
.text
- .align 2,144
-
-.globl _reg_u_div
-
-.globl _divide_kernel
-
-_reg_u_div:
+ENTRY(reg_u_div)
pushl %ebp
movl %esp,%ebp
#ifndef NON_REENTRANT_FPU
@@ -95,7 +89,7 @@ _reg_u_div:
cmpl EXP_UNDER,%eax
jg xOp1_not_denorm
- call _denormal_operand
+ call SYMBOL_NAME(denormal_operand)
orl %eax,%eax
jnz fpu_Arith_exit
@@ -104,14 +98,14 @@ xOp1_not_denorm:
cmpl EXP_UNDER,%eax
jg xOp2_not_denorm
- call _denormal_operand
+ call SYMBOL_NAME(denormal_operand)
orl %eax,%eax
jnz fpu_Arith_exit
xOp2_not_denorm:
#endif DENORM_OPERAND
-_divide_kernel:
+ENTRY(divide_kernel)
#ifdef PARANOID
/* testl $0x80000000, SIGH(%esi) // Dividend */
/* je L_bugged */