Home | History | Annotate | Download | only in dist

Lines Matching refs:OVERFLOW

456 set ovfl_bit,		4			# overflow
463 set aovfl_bit, 6 # accrued overflow bit
484 set ovfl_mask, 0x00001000 # overflow exception mask
491 set aovfl_mask, 0x00000040 # accrued overflow
589 # _fpsp_ovfl(): 060FPSP entry point for FP Overflow exception. #
592 # FP Overflow exception in an operating system. #
604 # _real_ovfl() - "callout" for Overflow exception enabled code #
613 # Overflow Exception enabled: #
616 # Overflow Exception disabled: #
621 # On the 060, if an FP overflow is present as the result of any #
622 # instruction, the 060 will take an overflow exception whether the #
633 # _real_ovfl() so that the operating system enabled overflow handler #
635 # Two other conditions exist. First, if overflow was disabled #
640 # overflow was disabled and the trace exception was enabled, this #
731 # the exceptional possibilities we have left ourselves with are ONLY overflow
732 # and inexact. and, the inexact is such that overflow occurred and was disabled
748 # overflow is enabled AND overflow, of course, occurred. so, we have the EXOP
765 # overflow occurred but is disabled. meanwhile, inexact is enabled. therefore,
844 # _real_ovfl() - "callout" for Overflow exception enabled code #
873 # _real_unfl() so that the operating system enabled overflow handler #
979 # the exceptional possibilities we have left ourselves with are ONLY overflow
980 # and inexact. and, the inexact is such that overflow occurred and was disabled
998 # overflow is enabled AND overflow, of course, occurred. so, we have the EXOP
1370 btst &ovfl_bit,FPSR_EXCEPT(%a6) # was overflow set?
1376 bra.w fu_in_exc_ovfl # go insert overflow frame
1401 btst &ovfl_bit,FPSR_EXCEPT(%a6) # did disabled overflow occur?
1630 # if a disabled overflow occurred and inexact was enabled but the result
1632 btst &ovfl_bit,FPSR_EXCEPT(%a6) # was overflow set?
1948 btst &ovfl_bit,FPSR_EXCEPT(%a6) # was overflow set?
1979 btst &ovfl_bit,FPSR_EXCEPT(%a6) # did disabled overflow occur?
2662 # no exception occurred. now, did a disabled, exact overflow occur with inexact
2663 # enabled? if so, then we have to stuff an overflow frame into the FPU.
2664 btst &ovfl_bit,FPSR_EXCEPT(%a6) # did overflow occur?
2679 # the enabled exception was inexact. so, if it occurs with an overflow
2680 # or underflow that was disabled, then we have to force an overflow or
2682 btst &ovfl_bit,FPSR_EXCEPT(%a6) # did overflow occur?
4194 # no exception that was enabled was set BUT if we got an exact overflow
4195 # and overflow wasn't enabled but inexact was (yech!) then this is
4197 btst &ovfl_bit,FPSR_EXCEPT(%a6) # did overflow occur?
4200 # the overflow w/ exact result happened but was inexact set in the FPCR?
4213 # the enabled exception was inexact. so, if it occurs with an overflow
4214 # or underflow that was disabled, then we have to force an overflow or
4215 # underflow frame. the eventual overflow or underflow handler will see that
4218 # a disabled overflow or underflow has also happened.
4219 btst &ovfl_bit,FPSR_EXCEPT(%a6) # did overflow occur?
4238 # insert an overflow frame
5586 #--there is a danger of unwanted overflow in first LOOP iteration. In this
6017 #--there is a danger of unwanted overflow in first LOOP iteration. In this
6934 # neither overflow nor underflow. If AdjFlag = 1, that #
6937 # Hence, exp(X) may overflow or underflow or neither. #
6940 # over/underflow. Possible exception in 6.4 is overflow #
6978 # Notes: Exp(X) will surely overflow or underflow, depending on #
6982 # inexact together with either overflow or underflow. #
7711 # overflow. Thus, we calculate sinh(X) as follows: #
7718 # 5. (|X| > 16480 log2) sinh(X) must overflow. Return #
7719 # Huge*Huge to generate overflow and an infinity with #
7824 # However, invoking exp(|X|) may cause premature overflow. #
7833 # 5. (|X| > 16480 log2) sinh(X) must overflow. Return #
7834 # sign(X)*Huge*Huge to generate overflow and an infinity with #
8990 # 1. Generate overflow by Huge * Huge if X > 0; otherwise, #
9173 #--|X| IS LARGE, GENERATE OVERFLOW IF X > 0; ELSE GENERATE UNDERFLOW
9478 # or overflow.
9575 # >= 2^14, an overflow or underflow is returned. #
9688 bra t_ovfl_sc # no; overflow
10352 # routine may have caused an underflow or overflow. #
10390 # an underflow or overflow exception occurred.
11365 # Overflow, Underflow, and Unsupported Data Type. #
11540 # ovf_res() - return default overflow result #
11559 # an exception. If so, return the default overflow/underflow result #
11616 beq.w fmul_may_ovfl # result may rnd to overflow
11617 blt.w fmul_ovfl # result will overflow
11625 # - the result of the multiply operation will neither overflow nor underflow.
11659 # OVERFLOW:
11660 # - the result of the multiply operation is an overflow.
11664 # - if overflow or inexact is enabled, we need a multiply result rounded to
11743 # may OVERFLOW:
11744 # - the result of the multiply operation MAY overflow.
11764 fbge.w fmul_ovfl_tst # yes; overflow has occurred
11766 # no, it didn't overflow; we have correct result
11775 # - if overflow or inexact is enabled, we need a multiply result rounded to
12035 # ovf_res() - return default overflow result #
12087 # or overflow because of rounding to the correct precision. so...
12154 cmpi.l %d0,&0x3fff-0x407e # will move in overflow?
12156 blt.w fin_sd_ovfl # yes; go handle overflow
12159 # operand will NOT overflow or underflow when moved into the fp reg file
12197 cmpi.l %d0,&0x3fff-0x43fe # will move in overflow?
12199 blt.w fin_sd_ovfl # yes; go handle overflow
12249 # operand WILL overflow.
12303 # the move in MAY overflow. so...
12318 fbge.w fin_sd_ovfl_tst # yes; overflow has occurred
12320 # no, it didn't overflow; we have correct result
12357 # ovf_res() - return default overflow result #
12376 # an exception. If so, return the default overflow/underflow result #
12389 long 0x3fff - 0x7ffe # ext overflow exponent
12390 long 0x3fff - 0x407e # sgl overflow exponent
12391 long 0x3fff - 0x43fe # dbl overflow exponent
12438 cmp.l %d0,(tbl_fdiv_ovfl.b,%pc,%d1.w*4) # will result overflow?
12439 ble.w fdiv_may_ovfl # result will overflow
12810 # ovf_res() - return default overflow result #
12827 # and an actual fneg performed to see if overflow/underflow would have #
12828 # occurred. If so, return default underflow/overflow result. Else, #
12860 # or overflow because of rounding to the correct precision. so...
12934 cmpi.l %d0,&0x3fff-0x407e # will move in overflow?
12936 blt.w fneg_sd_ovfl # yes; go handle overflow
12939 # operand will NOT overflow or underflow when moved in to the fp reg file
12977 cmpi.l %d0,&0x3fff-0x43fe # will move in overflow?
12979 blt.w fneg_sd_ovfl # yes; go handle overflow
13029 # operand WILL overflow.
13098 fbge.w fneg_sd_ovfl_tst # yes; overflow has occurred
13100 # no, it didn't overflow; we have correct result
13430 # ovf_res() - calculate overflow result #
13446 # Double and single precision can overflow and underflow. First, #
13483 # or overflow because of rounding to the correct precision. so...
13552 cmpi.l %d0,&0x3fff-0x407e # will move in overflow?
13554 blt.w fabs_sd_ovfl # yes; go handle overflow
13557 # operand will NOT overflow or underflow when moved in to the fp reg file
13595 cmpi.l %d0,&0x3fff-0x43fe # will move in overflow?
13597 blt.w fabs_sd_ovfl # yes; go handle overflow
13644 # operand WILL overflow.
13713 fbge.w fabs_sd_ovfl_tst # yes; overflow has occurred
13715 # no, it didn't overflow; we have correct result
13942 # ovf_res() - return default overflow result #
13961 # an exception. If so, return the default overflow/underflow result #
13995 beq.w fsglmul_may_ovfl # result may rnd to overflow
13996 blt.w fsglmul_ovfl # result will overflow
14093 fbge.w fsglmul_ovfl_tst # yes; overflow has occurred
14095 # no, it didn't overflow; we have correct result
14283 # ovf_res() - return default overflow result #
14302 # an exception. If so, return the default overflow/underflow result #
14394 cmp.l %d1,&0x7fff # did divide overflow?
14618 # ovf_res() - return default overflow result #
14698 cmp.l %d2,(tbl_fadd_ovfl.b,%pc,%d1.w*4) # is it an overflow?
15071 # ovf_res() - return default overflow result #
15151 cmp.l %d2,(tbl_fsub_ovfl.b,%pc,%d1.w*4) # is it an overflow?
15518 # ovf_res() - return default overflow result #
15536 # an exception. If so, return the default overflow/underflow result #
15615 cmpi.l %d0,&0x3fff-0x407f # will move in overflow?
15617 blt.w fsqrt_sd_ovfl # yes; go handle overflow
15620 # operand will NOT overflow or underflow when moved in to the fp reg file
15660 cmpi.l %d0,&0x3fff-0x43ff # will move in overflow?
15662 blt.w fsqrt_sd_ovfl # yes; go handle overflow
15726 # operand WILL overflow.
15784 bne.w fsqrt_sd_ovfl # yes, so overflow
15798 fbge.w fsqrt_sd_ovfl_tst # yes; overflow has occurred
15800 # no, it didn't overflow; we have correct result
20164 # ovf_res() - create default overflow result for sgl/dbl precision#
20181 # fp0 : intermediate underflow or overflow result if #
20192 # For sgl or dbl precision, overflow or underflow can occur. If #
20449 # would cause either an underflow or overflow. these cases are handled
20456 cmpi.w %d0,&SGL_HI # will operand overflow?
20552 # it's definitely an overflow so call ovf_res to get the correct answer
20568 # overflow result. DON'T save the returned ccodes from ovf_res() since
20574 fmovm.x (%a0),&0x80 # load default overflow result
20602 # move out MAY overflow:
20625 bra.w fout_sgl_ovfl # yes; go handle overflow
20687 # would cause either an underflow or overflow. these cases are handled
20694 cmpi.w %d0,&DBL_HI # will operand overflow?
20773 # it's definitely an overflow so call ovf_res to get the correct answer
20789 # overflow result. DON'T save the returned ccodes from ovf_res() since
20795 fmovm.x (%a0),&0x80 # load default overflow result
20813 # move out MAY overflow:
20836 bra.w fout_dbl_ovfl # yes; go handle overflow
22140 bcc.b scc_clr # no mantissa overflow
22833 # ovf_res(): routine to produce the default overflow result of #
22854 # The default overflow result can be determined by the sign of #
23021 # Note: this operation can never overflow. #
23027 # Note: this operation can never overflow. #
23909 # to overflow. Only a negative iscale can cause this, so