diff options
Diffstat (limited to 'sys/gnu/i386/fpemul')
-rw-r--r-- | sys/gnu/i386/fpemul/fpu_asm.h | 2 | ||||
-rw-r--r-- | sys/gnu/i386/fpemul/reg_div.s | 18 | ||||
-rw-r--r-- | sys/gnu/i386/fpemul/reg_norm.s | 4 | ||||
-rw-r--r-- | sys/gnu/i386/fpemul/reg_round.s | 12 | ||||
-rw-r--r-- | sys/gnu/i386/fpemul/reg_u_add.s | 4 | ||||
-rw-r--r-- | sys/gnu/i386/fpemul/reg_u_div.s | 8 | ||||
-rw-r--r-- | sys/gnu/i386/fpemul/reg_u_mul.s | 4 | ||||
-rw-r--r-- | sys/gnu/i386/fpemul/reg_u_sub.s | 6 | ||||
-rw-r--r-- | sys/gnu/i386/fpemul/wm_shrx.s | 4 |
9 files changed, 31 insertions, 31 deletions
diff --git a/sys/gnu/i386/fpemul/fpu_asm.h b/sys/gnu/i386/fpemul/fpu_asm.h index ab505e9..44a3278 100644 --- a/sys/gnu/i386/fpemul/fpu_asm.h +++ b/sys/gnu/i386/fpemul/fpu_asm.h @@ -64,7 +64,7 @@ #include <machine/asmacros.h> #include <gnu/i386/fpemul/fpu_emu.h> -#define EXCEPTION _exception +#define EXCEPTION exception #define PARAM1 8(%ebp) diff --git a/sys/gnu/i386/fpemul/reg_div.s b/sys/gnu/i386/fpemul/reg_div.s index 6f4b63e..c06d40e 100644 --- a/sys/gnu/i386/fpemul/reg_div.s +++ b/sys/gnu/i386/fpemul/reg_div.s @@ -89,7 +89,7 @@ ENTRY(reg_div) cmpl EXP_UNDER,EXP(%esi) jg xL_arg1_not_denormal - call _denormal_operand + call denormal_operand orl %eax,%eax jnz FPU_Arith_exit @@ -97,7 +97,7 @@ xL_arg1_not_denormal: cmpl EXP_UNDER,EXP(%ebx) jg xL_arg2_not_denormal - call _denormal_operand + call denormal_operand orl %eax,%eax jnz FPU_Arith_exit @@ -117,7 +117,7 @@ xL_arg2_not_denormal: addl EXP_BIAS,%edx movl %edx,EXP(%edi) - jmp _divide_kernel + jmp divide_kernel /*-----------------------------------------------------------------------*/ @@ -134,14 +134,14 @@ L_arg2_NaN: pushl %edi /* Destination */ pushl %ebx pushl %esi - call _real_2op_NaN + call real_2op_NaN jmp LDiv_exit /* Invalid operations */ L_zero_zero: L_inf_inf: pushl %edi /* Destination */ - call _arith_invalid /* 0/0 or Infinity/Infinity */ + call arith_invalid /* 0/0 or Infinity/Infinity */ jmp LDiv_exit L_no_NaN_arg: @@ -168,7 +168,7 @@ L_inf_valid: cmpl EXP_UNDER,EXP(%ebx) jg L_copy_arg1 /* Answer is Inf */ - call _denormal_operand + call denormal_operand orl %eax,%eax jnz FPU_Arith_exit #endif DENORM_OPERAND @@ -193,7 +193,7 @@ L_arg1_not_inf: movb SIGN(%esi),%al xorb SIGN(%ebx),%al pushl %eax /* lower 8 bits have the sign */ - call _divide_by_zero + call divide_by_zero jmp LDiv_exit L_arg2_not_zero: @@ -207,7 +207,7 @@ L_arg2_not_zero: cmpl EXP_UNDER,EXP(%esi) jg L_return_zero /* Answer is zero */ - call _denormal_operand + call denormal_operand orl %eax,%eax jnz FPU_Arith_exit #endif DENORM_OPERAND @@ -227,7 +227,7 @@ L_arg2_not_inf: cmpl EXP_UNDER,EXP(%ebx) jg L_copy_arg1 /* Answer is zero */ - call _denormal_operand + call denormal_operand orl %eax,%eax jnz FPU_Arith_exit #endif DENORM_OPERAND diff --git a/sys/gnu/i386/fpemul/reg_norm.s b/sys/gnu/i386/fpemul/reg_norm.s index 40d6a1d..f940327 100644 --- a/sys/gnu/i386/fpemul/reg_norm.s +++ b/sys/gnu/i386/fpemul/reg_norm.s @@ -125,13 +125,13 @@ L_zero: L_underflow: push %ebx - call _arith_underflow + call arith_underflow pop %ebx jmp L_exit L_overflow: push %ebx - call _arith_overflow + call arith_overflow pop %ebx jmp L_exit diff --git a/sys/gnu/i386/fpemul/reg_round.s b/sys/gnu/i386/fpemul/reg_round.s index 9acc602..76ba828 100644 --- a/sys/gnu/i386/fpemul/reg_round.s +++ b/sys/gnu/i386/fpemul/reg_round.s @@ -443,7 +443,7 @@ FPU_Arith_exit: /* round-up.*/ xL_precision_lost_up: push %eax - call _set_precision_flag_up + call set_precision_flag_up popl %eax jmp xL_no_precision_loss @@ -451,7 +451,7 @@ xL_precision_lost_up: /* truncation.*/ xL_precision_lost_down: push %eax - call _set_precision_flag_down + call set_precision_flag_down popl %eax jmp xL_no_precision_loss @@ -588,7 +588,7 @@ LNormalise_shift_done: /* There must be a masked underflow*/ push %eax pushl EX_Underflow - call _exception + call exception popl %eax popl %eax jmp xL_Normalised @@ -598,12 +598,12 @@ LNormalise_shift_done: // Masked response.*/ L_underflow_to_zero: push %eax - call _set_precision_flag_down + call set_precision_flag_down popl %eax push %eax pushl EX_Underflow - call _exception + call exception popl %eax popl %eax @@ -614,7 +614,7 @@ L_underflow_to_zero: /* The operations resulted in a number too large to represent.*/ L_overflow: push %edi - call _arith_overflow + call arith_overflow pop %edi jmp FPU_Arith_exit diff --git a/sys/gnu/i386/fpemul/reg_u_add.s b/sys/gnu/i386/fpemul/reg_u_add.s index fb70809..26fc8bc 100644 --- a/sys/gnu/i386/fpemul/reg_u_add.s +++ b/sys/gnu/i386/fpemul/reg_u_add.s @@ -94,7 +94,7 @@ ENTRY(reg_u_add) cmpl EXP_UNDER,EXP(%esi) jg xOp1_not_denorm - call _denormal_operand + call denormal_operand orl %eax,%eax jnz FPU_Arith_exit @@ -102,7 +102,7 @@ xOp1_not_denorm: cmpl EXP_UNDER,EXP(%edi) jg xOp2_not_denorm - call _denormal_operand + call denormal_operand orl %eax,%eax jnz FPU_Arith_exit diff --git a/sys/gnu/i386/fpemul/reg_u_div.s b/sys/gnu/i386/fpemul/reg_u_div.s index 8a7c234..d9c144a 100644 --- a/sys/gnu/i386/fpemul/reg_u_div.s +++ b/sys/gnu/i386/fpemul/reg_u_div.s @@ -102,7 +102,7 @@ ovfl_flag: .text -.globl _divide_kernel +.globl divide_kernel ENTRY(reg_u_div) pushl %ebp @@ -121,7 +121,7 @@ ENTRY(reg_u_div) cmpl EXP_UNDER,%eax jg xOp1_not_denorm - call _denormal_operand + call denormal_operand orl %eax,%eax jnz FPU_Arith_exit @@ -130,14 +130,14 @@ xOp1_not_denorm: cmpl EXP_UNDER,%eax jg xOp2_not_denorm - call _denormal_operand + call denormal_operand orl %eax,%eax jnz FPU_Arith_exit xOp2_not_denorm: #endif DENORM_OPERAND -_divide_kernel: +divide_kernel: #ifdef PARANOID /* testl $0x80000000, SIGH(%esi) *//* Dividend */ /* je L_bugged */ diff --git a/sys/gnu/i386/fpemul/reg_u_mul.s b/sys/gnu/i386/fpemul/reg_u_mul.s index 4ce893c..b5b4525 100644 --- a/sys/gnu/i386/fpemul/reg_u_mul.s +++ b/sys/gnu/i386/fpemul/reg_u_mul.s @@ -105,7 +105,7 @@ ENTRY(reg_u_mul) cmpl EXP_UNDER,%eax jg xOp1_not_denorm - call _denormal_operand + call denormal_operand orl %eax,%eax jnz FPU_Arith_exit @@ -114,7 +114,7 @@ xOp1_not_denorm: cmpl EXP_UNDER,%eax jg xOp2_not_denorm - call _denormal_operand + call denormal_operand orl %eax,%eax jnz FPU_Arith_exit diff --git a/sys/gnu/i386/fpemul/reg_u_sub.s b/sys/gnu/i386/fpemul/reg_u_sub.s index e24c4af..84b9c8c 100644 --- a/sys/gnu/i386/fpemul/reg_u_sub.s +++ b/sys/gnu/i386/fpemul/reg_u_sub.s @@ -93,7 +93,7 @@ ENTRY(reg_u_sub) cmpl EXP_UNDER,EXP(%esi) jg xOp1_not_denorm - call _denormal_operand + call denormal_operand orl %eax,%eax jnz FPU_Arith_exit @@ -101,7 +101,7 @@ xOp1_not_denorm: cmpl EXP_UNDER,EXP(%edi) jg xOp2_not_denorm - call _denormal_operand + call denormal_operand orl %eax,%eax jnz FPU_Arith_exit @@ -351,7 +351,7 @@ L_exit: L_underflow: push %edi - call _arith_underflow + call arith_underflow pop %ebx jmp L_exit diff --git a/sys/gnu/i386/fpemul/wm_shrx.s b/sys/gnu/i386/fpemul/wm_shrx.s index e64219f..19bdb7e 100644 --- a/sys/gnu/i386/fpemul/wm_shrx.s +++ b/sys/gnu/i386/fpemul/wm_shrx.s @@ -163,8 +163,8 @@ L_more_than_95: | part which has been shifted out of the arg. | | Results returned in the 64 bit arg and eax. | +---------------------------------------------------------------------------*/ - .globl _shrxs -_shrxs: + .globl shrxs +shrxs: push %ebp movl %esp,%ebp pushl %esi |