Lines Matching refs:SIGN
451 set q_sn_bit, 0x7 # sign bit of quotient byte
522 set sign_bit, 0x7 # sign bit
1450 andi.w &0x7fff,%d0 # strip sign
1480 andi.w &0x7fff,%d0 # strip sign
1527 andi.w &0x7fff,%d0 # strip sign
2321 andi.w &0x7fff,%d0 # strip sign
2338 andi.w &0x7fff,%d0 # strip sign
2345 mov.w %d0,FP_SRC_EX(%a6) # insert exponent with cleared sign
2351 tst.b 0x2+FP_SRC(%a6) # is sign set?
2353 bset &15,%d0 # set sign
3165 # through here. we simply need to test the sign of the src
3363 # for byte, word, and long, we simply need to test the sign of the src
3438 mov.l FP_SRC_EX(%a6),%d0 # fetch SNAN sign
3439 andi.l &0x80000000,%d0 # keep sign
3452 mov.l FP_SRC_EX(%a6),%d0 # fetch SNAN sign
3453 andi.l &0x80000000,%d0 # keep sign
3465 mov.l FP_SRC_EX(%a6),%d0 # fetch SNAN sign
3466 andi.l &0x80000000,%d0 # keep sign
4847 mov.w %d0,%a0 # sign extend displacement
4860 mov.w %d0,%a0 # sign extend displacement
4873 mov.w %d0,%a0 # sign extend displacement
4886 mov.w %d0,%a0 # sign extend displacement
4899 mov.w %d0,%a0 # sign extend displacement
4912 mov.w %d0,%a0 # sign extend displacement
4925 mov.w %d0,%a0 # sign extend displacement
4938 mov.w %d0,%a0 # sign extend displacement
4980 ext.l %d0 # sign extend word index
4988 extb.l %d2 # sign extend displacement
5034 mov.w %d0,%a0 # sign extend displacement
5076 ext.l %d0 # sign extend word index
5084 extb.l %d2 # sign extend displacement
5159 ext.l %d0 # sign extend bd
5190 ext.l %d0 # sign extend od
6206 # If sign of fp number = 0 (positive), then add 1 to l. #
6209 tst.b FTEMP_SGN(%a0) # check for sign
6223 # If sign of fp number = 1 (negative), then add 1 to l. #
6226 tst.b FTEMP_SGN(%a0) # check for sign
6541 and.w &0x8000, %d0 # save old sign
6620 andi.w &0x7fff, %d0 # strip off sign
6820 # exponent is extended to 16 bits and the sign is stored in the unused #
6864 tst.b FTEMP_SGN(%a0) # is "internal result" sign set?
6867 clr.b FTEMP_SGN(%a0) # clear temp sign
6924 tst.b FTEMP_SGN(%a0) # is "internal result" sign set?
6927 clr.b FTEMP_SGN(%a0) # clear temp sign
6977 # The default overflow result can be determined by the sign of #
6988 andi.w &0x10,%d1 # keep result sign
6997 and.w &0x10, %d1 # keep result sign
7005 # use the rounding mode, precision, and result sign as in index into the
7168 andi.l &0x80000000,%d1 # keep DENORM sign
7214 andi.l &0x80000000,%d1 # keep DENORM sign
7261 andi.l &0x80000000,%d1 # keep DENORM sign
7332 andi.w &0x8000,FP_SCR0_EX(%a6) # keep only old sign
7356 andi.w &0x7fff,%d0 # strip sign
7512 mov.w SRC_EX(%a0),%d1 # fetch current sign
7557 bclr &0x7,FP_SCR0_EX(%a6) # clear sign bit
7558 sne.b 2+FP_SCR0_EX(%a6) # set internal sign bit
7594 andi.w &0x7fff,%d0 # strip sign
7723 mov.w SRC_EX(%a0),%d1 # fetch current sign
7789 tst.b FTEMP_EX(%a0) # test sign
7791 bset &0x1f,%d0 # if negative, set sign
7854 tst.b FTEMP_EX(%a0) # test sign
7856 bset &0x1f,%d0 # if negative, put in sign first
7916 # the question now is whether the exponents sign bit is allowed to be non-zero
8081 andi.l &0x7fff,%d1 # strip sign
8082 andi.w &0x8000,%d2 # keep old sign
8084 or.w %d2,%d1 # concat old sign,new exp
8127 sne %d1 # set sign param accordingly
8151 andi.l &0x7fff,%d1 # strip sign
8154 andi.w &0x7fff,%d1 # clear sign bit
8155 andi.w &0x8000,%d2 # keep old sign
8156 or.w %d2,%d1 # concat old sign,new exp
8271 andi.l &0x7fff,%d1 # strip sign
8272 andi.w &0x8000,%d2 # keep old sign
8276 or.w %d2,%d1 # concat old sign,new exp
8440 fabs.x %fp0 # clear result sign
8441 fneg.x %fp0 # set result sign
8445 fabs.x %fp0 # clear result sign
8560 mov.w FP_SCR0_EX(%a6),%d1 # fetch old sign,exp
8561 andi.w &0x8000,%d1 # keep old sign
8562 andi.w &0x7fff,%d0 # clear sign position
8563 or.w %d1,%d0 # concat new exo,old sign
8609 andi.l &0x7fff,%d1 # strip sign
8611 andi.w &0x8000,%d2 # keep old sign
8612 or.w %d1,%d2 # concat old sign,new exponent
8669 andi.l &0x7fff,%d1 # strip sign
8671 andi.w &0x8000,%d2 # extract old sign
8674 or.w %d1,%d2 # concat old sign,new exp
8707 sne %d1 # set sign param accordingly
8723 andi.l &0x7fff,%d1 # strip sign
8724 andi.w &0x8000,%d2 # keep old sign
8895 andi.l &0x7fff,%d1 # strip sign
8896 andi.w &0x8000,%d2 # keep old sign
8898 or.w %d2,%d1 # concat old sign,new exp
8931 andi.l &0x7fff,%d0 # strip sign
8946 sne %d1 # set sign param accordingly
8964 andi.l &0x7fff,%d1 # strip sign
8967 andi.w &0x7fff,%d1 # clear sign bit
8968 andi.w &0x8000,%d2 # keep old sign
8969 or.w %d2,%d1 # concat old sign,new exp
9039 andi.l &0x7fff,%d1 # strip sign
9040 andi.w &0x8000,%d2 # keep old sign
9044 or.w %d2,%d1 # concat old sign,new exp
9176 mov.b SRC_EX(%a0),%d0 # result sign is exclusive
9190 # therefore, is an INF w/ the proper sign.
9191 # So, determine the sign and return a new INF (w/ the j-bit cleared).
9210 # an INF w/ the proper sign.
9211 # The 68881/882 returns the destination INF w/ the new sign(if the j-bit of the
9222 fabs.x %fp0 # clear sign bit
9223 fneg.x %fp0 # set sign bit
9258 # emulated by simply setting sign bit. Sgl/dbl operands must be scaled #
9284 # NEGATE SIGN : norms and denorms ONLY!
9298 sign
9299 bpl.b fneg_norm_load # sign is positive
9319 eori.w &0x8000,%d0 # negate sign
9340 mov.w FP_SCR0_EX(%a6),%d1 # fetch old sign,exp
9341 andi.w &0x8000,%d1 # keep old sign
9342 andi.w &0x7fff,%d0 # clear sign position
9343 or.w %d1,%d0 # concat old sign, new exponent
9389 andi.l &0x7fff,%d1 # strip sign
9391 andi.w &0x8000,%d2 # keep old sign
9392 or.w %d1,%d2 # concat old sign,new exp
9420 eori.b &0x80,FP_SCR0_EX(%a6) # negate sign
9449 andi.l &0x7fff,%d1 # strip sign
9450 andi.w &0x8000,%d2 # keep old sign
9454 or.w %d2,%d1 # concat new sign,new exp
9487 sne %d1 # set sign param accordingly
9503 andi.l &0x7fff,%d1 # strip sign
9504 andi.w &0x8000,%d2 # keep old sign
9508 or.w %d2,%d1 # concat sign,exp
9574 # to the operand type and sign. #
9716 mov.w SRC_EX(%a0),FP_SCR0_EX(%a6) # copy sign, zero exp
9818 mov.w SRC_EX(%a0),FP_SCR0_EX(%a6) # copy sign, zero exp
9876 # Simply clear sign for extended precision norm. Ext prec denorm #
9939 bclr &15,%d0 # clear sign
9958 mov.w FP_SCR0_EX(%a6),%d1 # fetch old sign,exp
9959 andi.w &0x8000,%d1 # keep old sign
9960 andi.w &0x7fff,%d0 # clear sign position
9961 or.w %d1,%d0 # concat old sign, new exponent
10007 andi.l &0x7fff,%d1 # strip sign
10009 andi.w &0x8000,%d2 # keep old sign
10010 or.w %d1,%d2 # concat old sign,new exp
10064 andi.l &0x7fff,%d1 # strip sign
10065 andi.w &0x8000,%d2 # keep old sign
10069 or.w %d2,%d1 # concat new sign,new exp
10102 sne %d1 # set sign param accordingly
10118 andi.l &0x7fff,%d1 # strip sign
10119 andi.w &0x8000,%d2 # keep old sign
10123 or.w %d2,%d1 # concat sign,exp
10300 # But with a DENORM and a NORM of the same sign, the neg bit is set if the
10452 andi.l &0x7fff,%d1 # strip sign
10453 andi.w &0x8000,%d2 # keep old sign
10455 or.w %d2,%d1 # concat old sign,new exp
10485 sne %d1 # set sign param accordingly
10499 andi.l &0x7fff,%d1 # strip sign
10503 andi.w &0x8000,%d2 # keep old sign
10504 or.w %d2,%d1 # concat old sign,new exp
10576 andi.l &0x7fff,%d1 # strip sign
10577 andi.w &0x8000,%d2 # keep old sign
10581 or.w %d2,%d1 # concat old sign,new exp
10799 andi.l &0x7fff,%d1 # strip sign
10800 andi.w &0x8000,%d2 # keep old sign
10802 or.w %d2,%d1 # concat old sign,new exp
10824 andi.l &0x7fff,%d1 # strip sign
10838 sne %d1 # set sign param accordingly
10852 andi.l &0x7fff,%d1 # strip sign
10853 andi.w &0x8000,%d2 # keep old sign
10857 or.w %d2,%d1 # concat old sign,new exp
10909 andi.l &0x7fff,%d1 # strip sign
10910 sign
10914 or.w %d2,%d1 # concat old sign, new exp
11126 mov.w (%sp),%d2 # fetch new sign, exp
11127 andi.l &0x7fff,%d2 # strip sign
11139 andi.w &0x8000,%d1 # keep sign
11140 or.w %d2,%d1 # concat sign,new exp
11172 sne %d1 # set sign param accordingly
11187 andi.w &0x8000,%d1 # keep sign
11190 or.w %d2,%d1 # concat sign,new exp
11262 andi.l &0x7fff,%d1 # strip sign
11263 andi.w &0x8000,%d2 # keep old sign
11267 or.w %d2,%d1 # concat sign,new exp
11460 # different signs. else, an INF of the same sign is returned
11580 andi.l &0x7fff,%d2 # strip sign
11592 andi.w &0x8000,%d1 # keep sign
11625 sne %d1 # set sign param accordingly
11640 andi.w &0x8000,%d1 # keep sign
11643 or.w %d2,%d1 # concat sign,exp
11715 andi.l &0x7fff,%d1 # strip sign
11716 andi.w &0x8000,%d2 # keep old sign
11860 # the signs are opposite, so, return a ZERO w/ the sign of the dst ZERO
11925 fneg.x %fp0 # invert sign
11926 fbge.w fsub_inf_done # sign is now positive
12070 andi.l &0x7fff,%d1 # strip sign
12072 andi.w &0x8000,%d2 # keep old sign
12073 or.w %d1,%d2 # concat old sign,new exp
12146 andi.l &0x7fff,%d1 # strip sign
12147 andi.w &0x8000,%d2 # keep old sign
12151 or.w %d2,%d1 # concat new sign,new exp
12184 sne %d1 # set sign param accordingly
12200 andi.l &0x7fff,%d1 # strip sign
12201 andi.w &0x8000,%d2 # keep old sign
12205 or.w %d2,%d1 # concat sign,exp
12979 # muls. Set the sign according to SE. Subtract 16 to compensate #
12985 # adds and muls in FP0. Set the sign according to SM. #
13013 # exponent sign is positive, and dividing FP0 by FP1 if #
13054 # 3. Correct for exponent sign.
13097 # 2. Correct for mantissa sign.
13151 # Check the sign of the mant and make the value in fp0 the same sign.
13154 btst &31,(%a0) # test sign of the mantissa
13167 # 1. Branch on the sign of the adjusted exponent.
13203 # routine is necessary. If so, then check the sign of the exponent
13211 btst &30,(%a0) # check sign of exp
13332 # Sign of Mant Sign of Exp Rounding Mode PWRTEN Rounding Mode
13393 # Check the sign of the adjusted exp and make the value in fp0 the
13394 # same sign. If the exp was pos then multiply fp1*fp0;
13404 btst &30,(%a0) # test the sign of the exponent
13438 # d0 = contains the k-factor sign-extended to 32-bits. #
13445 # A1. Set RM and size ext; Set SIGMA = sign of input. #
13479 # sign of ISCALE, used in A9. Fp1 contains #
13529 # A16. Write sign bits to final string. #
13585 # A1. Set RM and size ext. Set SIGMA = sign input;
13593 mov.l (%a0),L_SCR2(%a6) # save exponent for sign check
13605 and.w &0x7fff,%d0 # strip sign of normalized exp
13621 and.w &0x7fff,%d0 # strip sign of normalized exp
13723 tst.l %d7 # branch on sign of k
13732 tst.l %d4 # LEN check: branch on sign of LEN
13748 # in the output before conversion to bcd. LAMBDA is the sign
13752 # of opposite sign in bindec.sa from Coonen).
13755 # FPCR[6:5] LAMBDA SIGN(X) FPCR[6:5]
13795 tst.l %d7 # test sign of k
13807 tst.l %d0 # test sign of ISCALE
13822 tst.l L_SCR2(%a6) # test sign of original x
13918 andi.w &0x7fff,%d3 # clear sign
13929 andi.w &0x8000,(%sp) # keep sign
13931 andi.w &0x7fff,(%a0) # clear sign bit on DENORM again
14034 tst.l L_SCR2(%a6) # test sign of original operand
14284 tst.l %d7 # check sign of the k-factor
14332 # A16. Write sign bits to final string.
14358 tst.l L_SCR2(%a6) # check sign of original mantissa
14362 tst.l %d6 # check sign of ILOG