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?
6263 bcc.b scc_clr # no mantissa overflow
6956 # ovf_res(): routine to produce the default overflow result of #
6977 # The default overflow result can be determined by the sign of #
7066 # ovf_res() - create default overflow result for sgl/dbl precision#
7083 # fp0 : intermediate underflow or overflow result if #
7094 # For sgl or dbl precision, overflow or underflow can occur. If #
7351 # would cause either an underflow or overflow. these cases are handled
7358 cmpi.w %d0,&SGL_HI # will operand overflow?
7454 # it's definitely an overflow so call ovf_res to get the correct answer
7470 # overflow result. DON'T save the returned ccodes from ovf_res() since
7476 fmovm.x (%a0),&0x80 # load default overflow result
7504 # move out MAY overflow:
7527 bra.w fout_sgl_ovfl # yes; go handle overflow
7589 # would cause either an underflow or overflow. these cases are handled
7596 cmpi.w %d0,&DBL_HI # will operand overflow?
7675 # it's definitely an overflow so call ovf_res to get the correct answer
7691 # overflow result. DON'T save the returned ccodes from ovf_res() since
7697 fmovm.x (%a0),&0x80 # load default overflow result
7715 # move out MAY overflow:
7738 bra.w fout_dbl_ovfl # yes; go handle overflow
7972 # ovf_res() - return default overflow result #
7991 # an exception. If so, return the default overflow/underflow result #
8048 beq.w fmul_may_ovfl # result may rnd to overflow
8049 blt.w fmul_ovfl # result will overflow
8057 # - the result of the multiply operation will neither overflow nor underflow.
8091 # OVERFLOW:
8092 # - the result of the multiply operation is an overflow.
8096 # - if overflow or inexact is enabled, we need a multiply result rounded to
8175 # may OVERFLOW:
8176 # - the result of the multiply operation MAY overflow.
8196 fbge.w fmul_ovfl_tst # yes; overflow has occurred
8198 # no, it didn't overflow; we have correct result
8207 # - if overflow or inexact is enabled, we need a multiply result rounded to
8467 # ovf_res() - return default overflow result #
8519 # or overflow because of rounding to the correct precision. so...
8586 cmpi.l %d0,&0x3fff-0x407e # will move in overflow?
8588 blt.w fin_sd_ovfl # yes; go handle overflow
8591 # operand will NOT overflow or underflow when moved into the fp reg file
8629 cmpi.l %d0,&0x3fff-0x43fe # will move in overflow?
8631 blt.w fin_sd_ovfl # yes; go handle overflow
8681 # operand WILL overflow.
8735 # the move in MAY overflow. so...
8750 fbge.w fin_sd_ovfl_tst # yes; overflow has occurred
8752 # no, it didn't overflow; we have correct result
8789 # ovf_res() - return default overflow result #
8808 # an exception. If so, return the default overflow/underflow result #
8821 long 0x3fff - 0x7ffe # ext overflow exponent
8822 long 0x3fff - 0x407e # sgl overflow exponent
8823 long 0x3fff - 0x43fe # dbl overflow exponent
8870 cmp.l %d0,(tbl_fdiv_ovfl.b,%pc,%d1.w*4) # will result overflow?
8871 ble.w fdiv_may_ovfl # result will overflow
9242 # ovf_res() - return default overflow result #
9259 # and an actual fneg performed to see if overflow/underflow would have #
9260 # occurred. If so, return default underflow/overflow result. Else, #
9292 # or overflow because of rounding to the correct precision. so...
9366 cmpi.l %d0,&0x3fff-0x407e # will move in overflow?
9368 blt.w fneg_sd_ovfl # yes; go handle overflow
9371 # operand will NOT overflow or underflow when moved in to the fp reg file
9409 cmpi.l %d0,&0x3fff-0x43fe # will move in overflow?
9411 blt.w fneg_sd_ovfl # yes; go handle overflow
9461 # operand WILL overflow.
9530 fbge.w fneg_sd_ovfl_tst # yes; overflow has occurred
9532 # no, it didn't overflow; we have correct result
9862 # ovf_res() - calculate overflow result #
9878 # Double and single precision can overflow and underflow. First, #
9915 # or overflow because of rounding to the correct precision. so...
9984 cmpi.l %d0,&0x3fff-0x407e # will move in overflow?
9986 blt.w fabs_sd_ovfl # yes; go handle overflow
9989 # operand will NOT overflow or underflow when moved in to the fp reg file
10027 cmpi.l %d0,&0x3fff-0x43fe # will move in overflow?
10029 blt.w fabs_sd_ovfl # yes; go handle overflow
10076 # operand WILL overflow.
10145 fbge.w fabs_sd_ovfl_tst # yes; overflow has occurred
10147 # no, it didn't overflow; we have correct result
10374 # ovf_res() - return default overflow result #
10393 # an exception. If so, return the default overflow/underflow result #
10427 beq.w fsglmul_may_ovfl # result may rnd to overflow
10428 blt.w fsglmul_ovfl # result will overflow
10525 fbge.w fsglmul_ovfl_tst # yes; overflow has occurred
10527 # no, it didn't overflow; we have correct result
10715 # ovf_res() - return default overflow result #
10734 # an exception. If so, return the default overflow/underflow result #
10826 cmp.l %d1,&0x7fff # did divide overflow?
11050 # ovf_res() - return default overflow result #
11130 cmp.l %d2,(tbl_fadd_ovfl.b,%pc,%d1.w*4) # is it an overflow?
11503 # ovf_res() - return default overflow result #
11583 cmp.l %d2,(tbl_fsub_ovfl.b,%pc,%d1.w*4) # is it an overflow?
11950 # ovf_res() - return default overflow result #
11968 # an exception. If so, return the default overflow/underflow result #
12047 cmpi.l %d0,&0x3fff-0x407f # will move in overflow?
12049 blt.w fsqrt_sd_ovfl # yes; go handle overflow
12052 # operand will NOT overflow or underflow when moved in to the fp reg file
12092 cmpi.l %d0,&0x3fff-0x43ff # will move in overflow?
12094 blt.w fsqrt_sd_ovfl # yes; go handle overflow
12158 # operand WILL overflow.
12216 bne.w fsqrt_sd_ovfl # yes, so overflow
12230 fbge.w fsqrt_sd_ovfl_tst # yes; overflow has occurred
12232 # no, it didn't overflow; we have correct result
12982 # Note: this operation can never overflow. #
12988 # Note: this operation can never overflow. #
13870 # to overflow. Only a negative iscale can cause this, so