diff options
-rw-r--r-- | sys/gnu/arch/i386/fpemul/polynomial.s | 8 | ||||
-rw-r--r-- | sys/gnu/arch/i386/fpemul/reg_div.s | 18 | ||||
-rw-r--r-- | sys/gnu/arch/i386/fpemul/reg_round.s | 16 | ||||
-rw-r--r-- | sys/gnu/arch/i386/fpemul/reg_u_add.s | 8 | ||||
-rw-r--r-- | sys/gnu/arch/i386/fpemul/reg_u_div.s | 24 | ||||
-rw-r--r-- | sys/gnu/arch/i386/fpemul/reg_u_mul.s | 8 | ||||
-rw-r--r-- | sys/gnu/arch/i386/fpemul/reg_u_sub.s | 12 | ||||
-rw-r--r-- | sys/gnu/arch/i386/fpemul/wm_sqrt.s | 12 |
8 files changed, 53 insertions, 53 deletions
diff --git a/sys/gnu/arch/i386/fpemul/polynomial.s b/sys/gnu/arch/i386/fpemul/polynomial.s index dad18e54155..e6a289bb012 100644 --- a/sys/gnu/arch/i386/fpemul/polynomial.s +++ b/sys/gnu/arch/i386/fpemul/polynomial.s @@ -1,4 +1,4 @@ -/* $OpenBSD: polynomial.s,v 1.2 2002/10/12 07:12:58 pvalchev Exp $ */ +/* $OpenBSD: polynomial.s,v 1.3 2004/01/13 18:08:48 espie Exp $ */ /* * polynomial.S * @@ -124,7 +124,7 @@ L_accum_loop: movl -28(%ebp),%eax mull 4(%edi) /* x ms long */ movl %edx,-12(%ebp) -#endif EXTRA_PRECISE +#endif /* EXTRA_PRECISE */ movl -24(%ebp),%eax mull (%edi) /* x ls long */ @@ -171,7 +171,7 @@ L_accum_loop: addl $1,-24(%ebp) adcl $0,-20(%ebp) L_no_poly_round: -#endif EXTRA_PRECISE +#endif /* EXTRA_PRECISE */ subl TERM_SIZE,%ecx jns L_accum_loop @@ -184,7 +184,7 @@ L_accum_done: addl $1,-24(%ebp) adcl $0,-20(%ebp) -#endif EXTRA_PRECISE +#endif /* EXTRA_PRECISE */ L_poly_done: movl -24(%ebp),%eax diff --git a/sys/gnu/arch/i386/fpemul/reg_div.s b/sys/gnu/arch/i386/fpemul/reg_div.s index d6b402749ec..bb2729af697 100644 --- a/sys/gnu/arch/i386/fpemul/reg_div.s +++ b/sys/gnu/arch/i386/fpemul/reg_div.s @@ -1,5 +1,5 @@ .file "reg_div.S" -/* $OpenBSD: reg_div.s,v 1.4 2003/07/03 04:09:07 drahn Exp $ */ +/* $OpenBSD: reg_div.s,v 1.5 2004/01/13 18:08:48 espie Exp $ */ /* * reg_div.S * @@ -114,7 +114,7 @@ xL_arg1_not_denormal: jnz FPU_Arith_exit xL_arg2_not_denormal: -#endif DENORM_OPERAND +#endif /* DENORM_OPERAND */ /* Both arguments are TW_Valid */ movb TW_Valid,TAG(%edi) @@ -170,7 +170,7 @@ L_no_NaN_arg: /* arg2 must be zero or valid */ cmpb TW_Zero,TAG(%ebx) ja L_unknown_tags -#endif PARANOID +#endif /* PARANOID */ /* Note that p16-9 says that infinity/0 returns infinity */ jmp L_copy_arg1 /* Answer is Inf */ @@ -183,7 +183,7 @@ L_inf_valid: call _C_LABEL(denormal_operand) orl %eax,%eax jnz FPU_Arith_exit -#endif DENORM_OPERAND +#endif /* DENORM_OPERAND */ jmp L_copy_arg1 /* Answer is Inf */ @@ -198,7 +198,7 @@ L_arg1_not_inf: /* arg1 must be valid */ cmpb TW_Valid,TAG(%esi) ja L_unknown_tags -#endif PARANOID +#endif /* PARANOID */ /* Division by zero error */ pushl %edi /* destination */ @@ -222,7 +222,7 @@ L_arg2_not_zero: call _C_LABEL(denormal_operand) orl %eax,%eax jnz FPU_Arith_exit -#endif DENORM_OPERAND +#endif /* DENORM_OPERAND */ jmp L_return_zero /* Answer is zero */ @@ -231,7 +231,7 @@ L_arg2_not_inf: #ifdef PARANOID cmpb TW_Zero,TAG(%esi) jne L_unknown_tags -#endif PARANOID +#endif /* PARANOID */ /* arg1 is zero, arg2 is not Infinity or a NaN */ @@ -242,7 +242,7 @@ L_arg2_not_inf: call _C_LABEL(denormal_operand) orl %eax,%eax jnz FPU_Arith_exit -#endif DENORM_OPERAND +#endif /* DENORM_OPERAND */ L_copy_arg1: movb TAG(%esi),%al @@ -299,4 +299,4 @@ L_unknown_tags: movl _CONST_QNaN+8,%eax movl %eax,SIGH(%edi) jmp LDiv_exit -#endif PARANOID +#endif /* PARANOID */ diff --git a/sys/gnu/arch/i386/fpemul/reg_round.s b/sys/gnu/arch/i386/fpemul/reg_round.s index 0973ef614bb..c8e57f7dfcd 100644 --- a/sys/gnu/arch/i386/fpemul/reg_round.s +++ b/sys/gnu/arch/i386/fpemul/reg_round.s @@ -1,5 +1,5 @@ .file "reg_round.S" -/* $OpenBSD: reg_round.s,v 1.3 2003/04/17 03:45:30 drahn Exp $ */ +/* $OpenBSD: reg_round.s,v 1.4 2004/01/13 18:08:48 espie Exp $ */ /* * reg_round.S * @@ -176,7 +176,7 @@ FPU_round_sqrt: /* Entry point from wm_sqrt.S */ /* Cannot use this here yet */ /* orl %eax,%eax */ /* jns L_entry_bugged */ -#endif PARANOID +#endif /* PARANOID */ cmpl EXP_UNDER,EXP(%edi) jle xMake_denorm /* The number is a de-normal*/ @@ -199,7 +199,7 @@ xDenorm_done: #ifdef PARANOID jmp L_bugged /* There is no bug, just a bad control word */ -#endif PARANOID +#endif /* PARANOID */ /* Round etc to 24 bit precision */ @@ -220,7 +220,7 @@ LRound_To_24: #ifdef PARANOID jmp L_bugged -#endif PARANOID +#endif /* PARANOID */ LUp_24: cmpb SIGN_POS,SIGN(%edi) @@ -300,7 +300,7 @@ LRound_To_53: #ifdef PARANOID jmp L_bugged -#endif PARANOID +#endif /* PARANOID */ LUp_53: cmpb SIGN_POS,SIGN(%edi) @@ -374,7 +374,7 @@ LRound_To_64: #ifdef PARANOID jmp L_bugged -#endif PARANOID +#endif /* PARANOID */ LUp_64: cmpb SIGN_POS,SIGN(%edi) @@ -574,7 +574,7 @@ xNormalise_result: /* But check it... just in case.*/ cmpl EXP_UNDER+1,EXP(%edi) jne L_norm_bugged -#endif PARANOID +#endif /* PARANOID */ orl %eax,%eax /* ms bits*/ jnz LNormalise_shift_up_to_31 /* Shift left 0 - 31 bits*/ @@ -661,4 +661,4 @@ L_entry_bugged: call EXCEPTION popl %ebx jmp FPU_Arith_exit -#endif PARANOID +#endif /* PARANOID */ diff --git a/sys/gnu/arch/i386/fpemul/reg_u_add.s b/sys/gnu/arch/i386/fpemul/reg_u_add.s index 52f325beec2..721bdf7faa1 100644 --- a/sys/gnu/arch/i386/fpemul/reg_u_add.s +++ b/sys/gnu/arch/i386/fpemul/reg_u_add.s @@ -1,5 +1,5 @@ .file "reg_u_add.S" -/* $OpenBSD: reg_u_add.s,v 1.2 2002/10/12 07:12:59 pvalchev Exp $ */ +/* $OpenBSD: reg_u_add.s,v 1.3 2004/01/13 18:08:48 espie Exp $ */ /* * reg_u_add.S * @@ -118,7 +118,7 @@ xOp1_not_denorm: jnz FPU_Arith_exit xOp2_not_denorm: -#endif DENORM_OPERAND +#endif /* DENORM_OPERAND */ /* xorl %ecx,%ecx*/ movl EXP(%esi),%ecx @@ -156,7 +156,7 @@ L_accum_loaded: testl $0x80000000,SIGH(%esi) je L_bugged -#endif PARANOID +#endif /* PARANOID */ /* The number to be shifted is in %eax:%ebx:%edx*/ cmpw $32,%cx /* shrd only works for 0..31 bits */ @@ -240,7 +240,7 @@ L_bugged: call EXCEPTION pop %ebx jmp L_exit -#endif PARANOID +#endif /* PARANOID */ L_exit: diff --git a/sys/gnu/arch/i386/fpemul/reg_u_div.s b/sys/gnu/arch/i386/fpemul/reg_u_div.s index d3f0b3a145d..9e77537f75a 100644 --- a/sys/gnu/arch/i386/fpemul/reg_u_div.s +++ b/sys/gnu/arch/i386/fpemul/reg_u_div.s @@ -1,5 +1,5 @@ .file "reg_u_div.S" -/* $OpenBSD: reg_u_div.s,v 1.2 2002/10/12 07:12:59 pvalchev Exp $ */ +/* $OpenBSD: reg_u_div.s,v 1.3 2004/01/13 18:08:48 espie Exp $ */ /* * reg_u_div.S * @@ -151,7 +151,7 @@ xOp1_not_denorm: jnz FPU_Arith_exit xOp2_not_denorm: -#endif DENORM_OPERAND +#endif /* DENORM_OPERAND */ _C_LABEL(divide_kernel): #ifdef PARANOID @@ -159,7 +159,7 @@ _C_LABEL(divide_kernel): /* 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) @@ -295,7 +295,7 @@ LFirst_div_done: #ifdef PARANOID jb L_bugged_1 -#endif PARANOID +#endif /* PARANOID */ /* need to subtract another once of the denom */ incl result_2 /* Correct the answer */ @@ -308,7 +308,7 @@ LFirst_div_done: #ifdef PARANOID sbbl $0,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 @@ -338,7 +338,7 @@ LPrevent_2nd_overflow: #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*/ @@ -361,7 +361,7 @@ LSecond_div_done: #ifdef PARANOID jc L_bugged_2 -#endif PARANOID +#endif /* PARANOID */ movl result_1,%eax /* Get the result back */ mull SIGL(%ebx) /* now mul the ls dw of the denom */ @@ -372,14 +372,14 @@ LSecond_div_done: #ifdef PARANOID jc L_bugged_2 -#endif PARANOID +#endif /* PARANOID */ jz LDo_3rd_32_bits #ifdef PARANOID cmpl $1,accum_2 jne L_bugged_2 -#endif PARANOID +#endif /* PARANOID */ /* need to subtract another once of the denom */ movl SIGL(%ebx),%eax @@ -391,14 +391,14 @@ LSecond_div_done: #ifdef PARANOID jc L_bugged_2 jne L_bugged_2 -#endif PARANOID +#endif /* PARANOID */ addl $1,result_1 /* Correct the answer */ adcl $0,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 @@ -514,4 +514,4 @@ L_exit: leave ret -#endif PARANOID +#endif /* PARANOID */ diff --git a/sys/gnu/arch/i386/fpemul/reg_u_mul.s b/sys/gnu/arch/i386/fpemul/reg_u_mul.s index 0b53d9dd663..7add8ab89ab 100644 --- a/sys/gnu/arch/i386/fpemul/reg_u_mul.s +++ b/sys/gnu/arch/i386/fpemul/reg_u_mul.s @@ -1,5 +1,5 @@ .file "reg_u_mul.S" -/* $OpenBSD: reg_u_mul.s,v 1.2 2002/10/12 07:12:59 pvalchev Exp $ */ +/* $OpenBSD: reg_u_mul.s,v 1.3 2004/01/13 18:08:48 espie Exp $ */ /* * reg_u_mul.S * @@ -114,7 +114,7 @@ _C_LABEL(reg_u_mul): jz L_bugged testl $0x80000000,SIGH(%edi) jz L_bugged -#endif PARANOID +#endif /* PARANOID */ #ifdef DENORM_OPERAND movl EXP(%esi),%eax @@ -135,7 +135,7 @@ xOp1_not_denorm: jnz FPU_Arith_exit xOp2_not_denorm: -#endif DENORM_OPERAND +#endif /* DENORM_OPERAND */ xorl %ecx,%ecx xorl %ebx,%ebx @@ -206,5 +206,5 @@ L_exit: popl %esi leave ret -#endif PARANOID +#endif /* PARANOID */ diff --git a/sys/gnu/arch/i386/fpemul/reg_u_sub.s b/sys/gnu/arch/i386/fpemul/reg_u_sub.s index 69700aa7684..1f8c8470b0e 100644 --- a/sys/gnu/arch/i386/fpemul/reg_u_sub.s +++ b/sys/gnu/arch/i386/fpemul/reg_u_sub.s @@ -1,5 +1,5 @@ .file "reg_u_sub.S" -/* $OpenBSD: reg_u_sub.s,v 1.2 2002/10/12 07:12:59 pvalchev Exp $ */ +/* $OpenBSD: reg_u_sub.s,v 1.3 2004/01/13 18:08:48 espie Exp $ */ /* * reg_u_sub.S * @@ -117,7 +117,7 @@ xOp1_not_denorm: jnz FPU_Arith_exit xOp2_not_denorm: -#endif DENORM_OPERAND +#endif /* DENORM_OPERAND */ /* xorl %ecx,%ecx */ movl EXP(%esi),%ecx @@ -133,7 +133,7 @@ xOp2_not_denorm: testl $0x80000000,SIGH(%esi) je L_bugged_2 -#endif PARANOID +#endif /* PARANOID */ /*--------------------------------------+ | Form a register holding the | @@ -246,7 +246,7 @@ L_subtr: #ifdef PARANOID /* We can never get a borrow */ jc L_bugged -#endif PARANOID +#endif /* PARANOID */ /*--------------------------------------+ | Normalize the result | @@ -278,7 +278,7 @@ L_must_be_zero: #ifdef PARANOID orl %edx,%edx jnz L_bugged_3 -#endif PARANOID +#endif /* PARANOID */ /* The result is zero */ movb TW_Zero,TAG(%edi) @@ -337,7 +337,7 @@ L_bugged: call EXCEPTION pop %ebx jmp L_exit -#endif PARANOID +#endif /* PARANOID */ L_store: diff --git a/sys/gnu/arch/i386/fpemul/wm_sqrt.s b/sys/gnu/arch/i386/fpemul/wm_sqrt.s index 352fe811ef1..e8c6d2bef5c 100644 --- a/sys/gnu/arch/i386/fpemul/wm_sqrt.s +++ b/sys/gnu/arch/i386/fpemul/wm_sqrt.s @@ -1,5 +1,5 @@ .file "wm_sqrt.S" -/* $OpenBSD: wm_sqrt.s,v 1.3 2002/10/12 07:12:59 pvalchev Exp $ */ +/* $OpenBSD: wm_sqrt.s,v 1.4 2004/01/13 18:08:48 espie Exp $ */ /* * wm_sqrt.S * @@ -250,7 +250,7 @@ sqrt_stage_2_finish: /* It should be possible to get here only if the arg is ffff....ffff*/ cmp $0xffffffff,fsqrt_arg_1 jnz sqrt_stage_2_error -#endif PARANOID +#endif /* PARANOID */ /* The best rounded result.*/ xorl %eax,%eax @@ -264,7 +264,7 @@ sqrt_stage_2_finish: sqrt_stage_2_error: pushl EX_INTERNAL|0x213 call EXCEPTION -#endif PARANOID +#endif /* PARANOID */ sqrt_stage_2_done: @@ -319,7 +319,7 @@ sqrt_stage_3_error: call EXCEPTION sqrt_stage_3_no_error: -#endif PARANOID +#endif /* PARANOID */ movl accum_2,%edx movl accum_1,%eax @@ -422,7 +422,7 @@ sqrt_near_exact: call EXCEPTION sqrt_near_exact_ok: -#endif PARANOID +#endif /* PARANOID */ or %ebx,%ebx js sqrt_near_exact_small @@ -482,7 +482,7 @@ sqrt_get_more_precision: call EXCEPTION sqrt_more_prec_ok: -#endif PARANOID +#endif /* PARANOID */ or %ebx,%ebx js sqrt_more_prec_small |