Lines Matching refs:snan
440 set SNAN, 0x05 # operand type for STAG/DTAG
482 set snan_mask, 0x00004000 # snan exception mask
549 set SNAN_VEC, 0xd8 # snan vector offset
1123 # _real_snan() - "callout" for SNAN exception #
1136 # If SNAN exception (opclass 3): #
1137 # - The system stack is changed to an SNAN exception stk frame #
1321 # SNAN : all dyadic ops
1390 # restore exc state (SNAN||OPERR||OVFL||UNFL||DZ||INEX) into the FPU;
1550 # SNAN : none
1675 short tbl_fu_out - tbl_fu_out # SNAN can't happen
1683 # for snan,operr,ovfl,unfl, src op is still in FP_SRC so just
1866 # SNAN : all dyadic ops
1968 # restore exc state (SNAN||OPERR||OVFL||UNFL||DZ||INEX) into the FPU;
1987 # this is INCORRECT for enabled SNAN which would give to the user the skewed SNAN!!!
2107 # SNAN : yes
2177 # the only exception possible on packed move out are INEX, OPERR, and SNAN.
2618 # SNAN : all operations
3264 # _fpsp_snan(): 060FPSP entry point for FP SNAN exception. #
3272 # _real_snan() - "callout" to operating system SNAN handler #
3279 # - The system stack contains the FP SNAN exception frame #
3288 # In a system where the FP SNAN exception is enabled, the goal #
3295 # SNAN result out to memory or data register file as it should. #
3300 # which creates an access error stack frame from the current SNAN #
3357 # snan exceptions. we do this here before passing control to
3358 # the user snan handler.
3385 mov.b FP_SRC_HI(%a6),%d0 # load upper byte of SNAN
3386 bset &6,%d0 # set SNAN bit
3402 mov.w FP_SRC_HI(%a6),%d0 # load upper word of SNAN
3403 bset &14,%d0 # set SNAN bit
3419 mov.l FP_SRC_HI(%a6),%d0 # load upper longword of SNAN
3420 bset &30,%d0 # set SNAN bit
3438 mov.l FP_SRC_EX(%a6),%d0 # fetch SNAN sign
3440 ori.l &0x7fc00000,%d0 # insert new exponent,SNAN bit
3443 or.l %d1,%d0 # create sgl SNAN
3452 mov.l FP_SRC_EX(%a6),%d0 # fetch SNAN sign
3454 ori.l &0x7fc00000,%d0 # insert new exponent,SNAN bit
3458 or.l %d1,%d0 # create sgl SNAN
3465 mov.l FP_SRC_EX(%a6),%d0 # fetch SNAN sign
3467 ori.l &0x7ff80000,%d0 # insert new exponent,SNAN bit
3540 # the operation was "fmove.x SNAN,-(a7)" from supervisor mode.
5698 # res_snan(): return default result w/ SNAN operand for dyadic #
5700 # res_snan_1op(): return dflt result w/ SNAN operand for monadic #
5717 # If either operand to an operation is a signalling NAN (SNAN), #
5718 # then, the SNAN bit is set in the FPSR EXC byte. If the SNAN trap #
5720 # destination is not modified. If the SNAN trap enable bit is not set, #
5721 # then the SNAN is converted to a nonsignalling NAN (by setting the #
5722 # SNAN bit in the operand to one), and the operation continues as #
5732 cmp.b DTAG(%a6), &SNAN # is the dst an SNAN?
5742 bset &0x6, FP_SRC_HI(%a6) # set SNAN bit
5754 bset &0x6, FP_DST_HI(%a6) # set SNAN bit
5759 cmp.b STAG(%a6), &SNAN
6607 # one of: NORM, INF, QNAN, SNAN, DENORM, UNNORM, ZERO #
6672 mov.b &SNAN, %d0
6687 # one of: NORM, INF, QNAN, SNAN, DENORM, ZERO #
6732 mov.b &SNAN, %d0
6750 # one of: NORM, INF, QNAN, SNAN, DENORM, ZERO #
6791 mov.b &SNAN, %d0
7953 cmpi.b %d0,&SNAN # is it an SNAN?
7958 ori.w &snaniop2_mask,FPSR_EXCEPT(%a6) # set SNAN/AIOP
7959 bset &0x6,FP_SRC_HI(%a6) # set snan bit
7974 # res_snan() - return SNAN result #
8350 short fmul_res_snan - tbl_fmul_op # NORM x SNAN
8359 short fmul_res_snan - tbl_fmul_op # ZERO x SNAN
8368 short fmul_res_snan - tbl_fmul_op # INF x SNAN
8377 short fmul_res_snan - tbl_fmul_op # QNAN x SNAN
8386 short fmul_res_snan - tbl_fmul_op # NORM x SNAN
8390 short fmul_res_snan - tbl_fmul_op # SNAN x NORM
8391 short fmul_res_snan - tbl_fmul_op # SNAN x ZERO
8392 short fmul_res_snan - tbl_fmul_op # SNAN x INF
8393 short fmul_res_snan - tbl_fmul_op # SNAN x QNAN
8394 short fmul_res_snan - tbl_fmul_op # SNAN x DENORM
8395 short fmul_res_snan - tbl_fmul_op # SNAN x SNAN
8470 # res_snan_1op() - return SNAN result #
8763 cmpi.b %d1,&SNAN # weed out SNANs
8791 # res_snan() - return SNAN result #
9118 short fdiv_res_snan - tbl_fdiv_op # NORM / SNAN
9127 short fdiv_res_snan - tbl_fdiv_op # ZERO / SNAN
9136 short fdiv_res_snan - tbl_fdiv_op # INF / SNAN
9145 short fdiv_res_snan - tbl_fdiv_op # QNAN / SNAN
9154 short fdiv_res_snan - tbl_fdiv_op # DENORM / SNAN
9158 short fdiv_res_snan - tbl_fdiv_op # SNAN / NORM
9159 short fdiv_res_snan - tbl_fdiv_op # SNAN / ZERO
9160 short fdiv_res_snan - tbl_fdiv_op # SNAN / INF
9161 short fdiv_res_snan - tbl_fdiv_op # SNAN / QNAN
9162 short fdiv_res_snan - tbl_fdiv_op # SNAN / DENORM
9163 short fdiv_res_snan - tbl_fdiv_op # SNAN / SNAN
9245 # res_snan_1op() - return SNAN result #
9543 cmpi.b %d1,&SNAN # weed out SNAN
9602 cmpi.b %d1,&SNAN # weed out SNAN
9702 cmpi.b %d1,&SNAN # weed out SNAN
9804 cmpi.b %d1,&SNAN # weed out SNAN
10158 cmpi.b %d1,&SNAN # weed out SNAN
10180 # res_snan() - return SNAN result #
10233 short fcmp_res_snan - tbl_fcmp_op # NORM - SNAN
10242 short fcmp_res_snan - tbl_fcmp_op # ZERO - SNAN
10251 short fcmp_res_snan - tbl_fcmp_op # INF - SNAN
10260 short fcmp_res_snan - tbl_fcmp_op # QNAN - SNAN
10269 short fcmp_res_snan - tbl_fcmp_op # DENORM - SNAN
10273 short fcmp_res_snan - tbl_fcmp_op # SNAN - NORM
10274 short fcmp_res_snan - tbl_fcmp_op # SNAN - ZERO
10275 short fcmp_res_snan - tbl_fcmp_op # SNAN - INF
10276 short fcmp_res_snan - tbl_fcmp_op # SNAN - QNAN
10277 short fcmp_res_snan - tbl_fcmp_op # SNAN - DENORM
10278 short fcmp_res_snan - tbl_fcmp_op # SNAN - SNAN
10282 # unlike all other functions for QNAN and SNAN, fcmp does NOT set the
10283 # 'N' bit for a negative QNAN or SNAN input so we must squelch it here.
10376 # res_snan() - return SNAN result #
10645 short fsglmul_res_snan - tbl_fsglmul_op # NORM x SNAN
10654 short fsglmul_res_snan - tbl_fsglmul_op # ZERO x SNAN
10663 short fsglmul_res_snan - tbl_fsglmul_op # INF x SNAN
10672 short fsglmul_res_snan - tbl_fsglmul_op # QNAN x SNAN
10681 short fsglmul_res_snan - tbl_fsglmul_op # NORM x SNAN
10685 short fsglmul_res_snan - tbl_fsglmul_op # SNAN x NORM
10686 short fsglmul_res_snan - tbl_fsglmul_op # SNAN x ZERO
10687 short fsglmul_res_snan - tbl_fsglmul_op # SNAN x INF
10688 short fsglmul_res_snan - tbl_fsglmul_op # SNAN x QNAN
10689 short fsglmul_res_snan - tbl_fsglmul_op # SNAN x DENORM
10690 short fsglmul_res_snan - tbl_fsglmul_op # SNAN x SNAN
10717 # res_snan() - return SNAN result #
10980 short fsgldiv_res_snan - tbl_fsgldiv_op # NORM / SNAN
10989 short fsgldiv_res_snan - tbl_fsgldiv_op # ZERO / SNAN
10998 short fsgldiv_res_snan - tbl_fsgldiv_op # INF / SNAN
11007 short fsgldiv_res_snan - tbl_fsgldiv_op # QNAN / SNAN
11016 short fsgldiv_res_snan - tbl_fsgldiv_op # DENORM / SNAN
11020 short fsgldiv_res_snan - tbl_fsgldiv_op # SNAN / NORM
11021 short fsgldiv_res_snan - tbl_fsgldiv_op # SNAN / ZERO
11022 short fsgldiv_res_snan - tbl_fsgldiv_op # SNAN / INF
11023 short fsgldiv_res_snan - tbl_fsgldiv_op # SNAN / QNAN
11024 short fsgldiv_res_snan - tbl_fsgldiv_op # SNAN / DENORM
11025 short fsgldiv_res_snan - tbl_fsgldiv_op # SNAN / SNAN
11053 # res_snan() - set SNAN result #
11344 short fadd_res_snan - tbl_fadd_op # NORM + SNAN
11353 short fadd_res_snan - tbl_fadd_op # NORM + SNAN
11362 short fadd_res_snan - tbl_fadd_op # NORM + SNAN
11371 short fadd_res_snan - tbl_fadd_op # QNAN + SNAN
11380 short fadd_res_snan - tbl_fadd_op # NORM + SNAN
11384 short fadd_res_snan - tbl_fadd_op # SNAN + NORM
11385 short fadd_res_snan - tbl_fadd_op # SNAN + ZERO
11386 short fadd_res_snan - tbl_fadd_op # SNAN + INF
11387 short fadd_res_snan - tbl_fadd_op # SNAN + QNAN
11388 short fadd_res_snan - tbl_fadd_op # SNAN + DENORM
11389 short fadd_res_snan - tbl_fadd_op # SNAN + SNAN
11506 # res_snan() - set SNAN result #
11797 short fsub_res_snan - tbl_fsub_op # NORM - SNAN
11806 short fsub_res_snan - tbl_fsub_op # NORM - SNAN
11815 short fsub_res_snan - tbl_fsub_op # NORM - SNAN
11824 short fsub_res_snan - tbl_fsub_op # QNAN - SNAN
11833 short fsub_res_snan - tbl_fsub_op # NORM - SNAN
11837 short fsub_res_snan - tbl_fsub_op # SNAN - NORM
11838 short fsub_res_snan - tbl_fsub_op # SNAN - ZERO
11839 short fsub_res_snan - tbl_fsub_op # SNAN - INF
11840 short fsub_res_snan - tbl_fsub_op # SNAN - QNAN
11841 short fsub_res_snan - tbl_fsub_op # SNAN - DENORM
11842 short fsub_res_snan - tbl_fsub_op # SNAN - SNAN
11952 # res_snan_1op() - return SNAN result #
12247 cmpi.b %d1,&SNAN # weed out SNAN
12846 # value in d0. The FP number can be DENORM or SNAN so we have to be #