Lines Matching refs:sign
442 set q_sn_bit, 0x7 # sign bit of quotient byte
513 set sign_bit, 0x7 # sign bit
1441 andi.w &0x7fff,%d0 # strip sign
1471 andi.w &0x7fff,%d0 # strip sign
1518 andi.w &0x7fff,%d0 # strip sign
2312 andi.w &0x7fff,%d0 # strip sign
2329 andi.w &0x7fff,%d0 # strip sign
2336 mov.w %d0,FP_SRC_EX(%a6) # insert exponent with cleared sign
2342 tst.b 0x2+FP_SRC(%a6) # is sign set?
2344 bset &15,%d0 # set sign
3156 # through here. we simply need to test the sign of the src
3354 # for byte, word, and long, we simply need to test the sign of the src
3429 mov.l FP_SRC_EX(%a6),%d0 # fetch SNAN sign
3430 andi.l &0x80000000,%d0 # keep sign
3443 mov.l FP_SRC_EX(%a6),%d0 # fetch SNAN sign
3444 andi.l &0x80000000,%d0 # keep sign
3456 mov.l FP_SRC_EX(%a6),%d0 # fetch SNAN sign
3457 andi.l &0x80000000,%d0 # keep sign
4322 ext.l %d0 # sign extend displacement
5140 and.l &0x7FFFFFFF,%d1 # strip sign
5593 ftest.x %fp0 # test sign of argument
6024 ftest.x %fp0 # test sign of argument
6179 # Arctan(X) = sign(X)*Pi/2 + arctan(X'). Exit. #
6621 # 4. (|X| = 1) sgn := sign(X), return asin(X) := sgn * Pi/2. Exit.#
6812 # Step 2. Return ans := ans + sign(X)*2^(-126). Exit. #
6828 # are the sign and biased exponent field of |X|; the #
6970 # X's sign. "Huge" and "Tiny" are respectively large/tiny #
7361 ori.l &0x00800000,(%sp) # sign(X)*2^(-126)
7624 bclr &0xf,%d0 # clear the sign bit
7700 # cosh(X) = sign(X) * exp(|X|)/2. #
7711 # the appropriate sign. Huge is the largest finite number #
7807 # y = |X|, sgn = sign(X), and z = expm1(Y), #
7814 # sinh(X) = sign(X) * exp(|X|)/2. #
7818 # sgn := sign(X) #
7825 # sign(X)*Huge*Huge to generate overflow and an infinity with #
7826 # the appropriate sign. Huge is the largest finite number in #
7925 # sgn := sign(X), y := 2|X|, z := expm1(Y), and #
7935 # sgn := sign(X), y := 2|X|, z := exp(Y), #
7941 # sgn := sign(X), Tiny := 2**(-126), #
8686 # sgn := sign(X) #
8694 # 4. (|X| = 1) Generate infinity with an appropriate sign and #
8696 # sgn := sign(X) #
9476 clr.w LOCAL_SGN(%a0) # sign always positive
9584 smi.b SIGN(%a6) # use SIGN to hold dst sign
9585 andi.l &0x00007fff,%d1 # strip sign from dst exp
9588 andi.w &0x7fff,%d0 # clr src sign bit
9671 # Source is outside of 2^14 range. Test the sign and branch
9716 # Step 1. Save and strip signs of X and Y: signX := sign(X), #
9717 # signY := sign(Y), X := |X|, Y := |Y|, #
9791 #..Save sign of X and Y
9843 mov.w %d1,SignQ(%a6) # sign(Q) obtained
10032 #..Get sign of X
10041 mov.w SignQ(%a6),%d6 # D6 is sign(Q)
10045 or.l %d6,%d3 # sign and bits of Q
10111 # Sets N bit according to sign of source operand. #
10219 andi.w &0x8000,FP_SCR0_EX(%a6) # keep old sign
10231 # with the sign of this result being the same as that #
10233 # - t_unfl2() is provided to force the result sign to #
10265 # with the sign of this result being the same as that #
10267 # - t_ovfl2() is provided to force the result sign to #
10318 tst.b LOCAL_EX(%a0) # what is the sign?
10332 sf.b %d1 # clear sign flag for positive
10411 # d1.b : sign bit of result ('11111111 = (-) ; '00000000 = (+)) #
10418 andi.w &0x10,%d1 # keep sign bit in 4th spot
10479 # src_zero(): Return signed zero according to sign of src operand. #
10483 tst.b SRC_EX(%a0) # get sign of src operand
10503 # dst_zero(): Return signed zero according to sign of dst operand. #
10507 tst.b DST_EX(%a1) # get sign of dst operand
10512 # src_inf(): Return signed inf according to sign of src operand. #
10516 tst.b SRC_EX(%a0) # get sign of src operand
10538 # dst_inf(): Return signed inf according to sign of dst operand. #
10542 tst.b DST_EX(%a1) # get sign of dst operand
10553 tst.b SRC_EX(%a0) # check sign of source
10564 tst.b SRC_EX(%a0) # check sign of source
10575 tst.b SRC_EX(%a0) # check sign of source
10580 # src_one(): Return signed one according to sign of src operand. #
10584 tst.b SRC_EX(%a0) # check sign of source
10609 # spi_2(): Return signed PI/2 according to sign of src operand. #
10613 tst.b SRC_EX(%a0) # check sign of source
10640 # cosine register and return a ZERO in fp0 w/ the same sign
10646 tst.b SRC_EX(%a0) # test sign
10787 mov.b SRC_EX(%a0),%d1 # get src sign
10788 mov.b DST_EX(%a1),%d0 # get dst sign
10789 eor.b %d0,%d1 # get qbyte sign
10800 mov.b SRC_EX(%a0),%d1 # get src sign
10801 mov.b DST_EX(%a1),%d0 # get dst sign
10802 eor.b %d0,%d1 # get qbyte sign
10953 tst.b DST_EX(%a1) # set ccodes according to QNAN sign
10978 tst.b SRC_EX(%a0) # set ccodes according to QNAN sign
11640 andi.l &0x7fff,%d1 # strip sign
11641 andi.w &0x8000,%d2 # keep old sign
11643 or.w %d2,%d1 # concat old sign,new exp
11686 sne %d1 # set sign param accordingly
11710 andi.l &0x7fff,%d1 # strip sign
11713 andi.w &0x7fff,%d1 # clear sign bit
11714 andi.w &0x8000,%d2 # keep old sign
11715 or.w %d2,%d1 # concat old sign,new exp
11830 andi.l &0x7fff,%d1 # strip sign
11831 andi.w &0x8000,%d2 # keep old sign
11835 or.w %d2,%d1 # concat old sign,new exp
11999 fabs.x %fp0 # clear result sign
12000 fneg.x %fp0 # set result sign
12004 fabs.x %fp0 # clear result sign
12119 mov.w FP_SCR0_EX(%a6),%d1 # fetch old sign,exp
12120 andi.w &0x8000,%d1 # keep old sign
12121 andi.w &0x7fff,%d0 # clear sign position
12122 or.w %d1,%d0 # concat new exo,old sign
12168 andi.l &0x7fff,%d1 # strip sign
12170 andi.w &0x8000,%d2 # keep old sign
12171 or.w %d1,%d2 # concat old sign,new exponent
12228 andi.l &0x7fff,%d1 # strip sign
12230 andi.w &0x8000,%d2 # extract old sign
12233 or.w %d1,%d2 # concat old sign,new exp
12266 sne %d1 # set sign param accordingly
12282 andi.l &0x7fff,%d1 # strip sign
12283 andi.w &0x8000,%d2 # keep old sign
12454 andi.l &0x7fff,%d1 # strip sign
12455 andi.w &0x8000,%d2 # keep old sign
12457 or.w %d2,%d1 # concat old sign,new exp
12490 andi.l &0x7fff,%d0 # strip sign
12505 sne %d1 # set sign param accordingly
12523 andi.l &0x7fff,%d1 # strip sign
12526 andi.w &0x7fff,%d1 # clear sign bit
12527 andi.w &0x8000,%d2 # keep old sign
12528 or.w %d2,%d1 # concat old sign,new exp
12598 andi.l &0x7fff,%d1 # strip sign
12599 andi.w &0x8000,%d2 # keep old sign
12603 or.w %d2,%d1 # concat old sign,new exp
12735 mov.b SRC_EX(%a0),%d0 # result sign is exclusive
12749 # Therefore, is an INF w/ the proper sign.
12750 # So, determine the sign and return a new INF (w/ the j-bit cleared).
12769 # an INF w/ the proper sign.
12770 # The 68881/882 returns the destination INF w/ the new sign(if the j-bit of the
12781 fabs.x %fp0 # clear sign bit
12782 fneg.x %fp0 # set sign bit
12817 # emulated by simply setting sign bit. Sgl/dbl operands must be scaled #
12857 eori.w &0x8000,%d0 # negate sign
12858 bpl.b fneg_norm_load # sign is positive
12878 eori.w &0x8000,%d0 # negate sign
12899 mov.w FP_SCR0_EX(%a6),%d1 # fetch old sign,exp
12900 andi.w &0x8000,%d1 # keep old sign
12901 andi.w &0x7fff,%d0 # clear sign position
12902 or.w %d1,%d0 # concat old sign, new exponent
12948 andi.l &0x7fff,%d1 # strip sign
12950 andi.w &0x8000,%d2 # keep old sign
12951 or.w %d1,%d2 # concat old sign,new exp
12979 eori.b &0x80,FP_SCR0_EX(%a6) # negate sign
13008 andi.l &0x7fff,%d1 # strip sign
13009 andi.w &0x8000,%d2 # keep old sign
13013 or.w %d2,%d1 # concat new sign,new exp
13046 sne %d1 # set sign param accordingly
13062 andi.l &0x7fff,%d1 # strip sign
13063 andi.w &0x8000,%d2 # keep old sign
13067 or.w %d2,%d1 # concat sign,exp
13133 # to the operand type and sign. #
13275 mov.w SRC_EX(%a0),FP_SCR0_EX(%a6) # copy sign, zero exp
13377 mov.w SRC_EX(%a0),FP_SCR0_EX(%a6) # copy sign, zero exp
13435 # Simply clear sign for extended precision norm. Ext prec denorm #
13498 bclr &15,%d0 # clear sign
13517 mov.w FP_SCR0_EX(%a6),%d1 # fetch old sign,exp
13518 andi.w &0x8000,%d1 # keep old sign
13519 andi.w &0x7fff,%d0 # clear sign position
13520 or.w %d1,%d0 # concat old sign, new exponent
13566 andi.l &0x7fff,%d1 # strip sign
13568 andi.w &0x8000,%d2 # keep old sign
13569 or.w %d1,%d2 # concat old sign,new exp
13623 andi.l &0x7fff,%d1 # strip sign
13624 andi.w &0x8000,%d2 # keep old sign
13628 or.w %d2,%d1 # concat new sign,new exp
13661 sne %d1 # set sign param accordingly
13677 andi.l &0x7fff,%d1 # strip sign
13678 andi.w &0x8000,%d2 # keep old sign
13682 or.w %d2,%d1 # concat sign,exp
13859 # But with a DENORM and a NORM of the same sign, the neg bit is set if the
14011 andi.l &0x7fff,%d1 # strip sign
14012 andi.w &0x8000,%d2 # keep old sign
14014 or.w %d2,%d1 # concat old sign,new exp
14044 sne %d1 # set sign param accordingly
14058 andi.l &0x7fff,%d1 # strip sign
14062 andi.w &0x8000,%d2 # keep old sign
14063 or.w %d2,%d1 # concat old sign,new exp
14135 andi.l &0x7fff,%d1 # strip sign
14136 andi.w &0x8000,%d2 # keep old sign
14140 or.w %d2,%d1 # concat old sign,new exp
14358 andi.l &0x7fff,%d1 # strip sign
14359 andi.w &0x8000,%d2 # keep old sign
14361 or.w %d2,%d1 # concat old sign,new exp
14383 andi.l &0x7fff,%d1 # strip sign
14397 sne %d1 # set sign param accordingly
14411 andi.l &0x7fff,%d1 # strip sign
14412 andi.w &0x8000,%d2 # keep old sign
14416 or.w %d2,%d1 # concat old sign,new exp
14468 andi.l &0x7fff,%d1 # strip sign
14469 andi.w &0x8000,%d2 # keep old sign
14473 or.w %d2,%d1 # concat old sign, new exp
14685 mov.w (%sp),%d2 # fetch new sign, exp
14686 andi.l &0x7fff,%d2 # strip sign
14698 andi.w &0x8000,%d1 # keep sign
14699 or.w %d2,%d1 # concat sign,new exp
14731 sne %d1 # set sign param accordingly
14746 andi.w &0x8000,%d1 # keep sign
14749 or.w %d2,%d1 # concat sign,new exp
14821 andi.l &0x7fff,%d1 # strip sign
14822 andi.w &0x8000,%d2 # keep old sign
14826 or.w %d2,%d1 # concat sign,new exp
15019 # different signs. else, an INF of the same sign is returned
15139 andi.l &0x7fff,%d2 # strip sign
15151 andi.w &0x8000,%d1 # keep sign
15184 sne %d1 # set sign param accordingly
15199 andi.w &0x8000,%d1 # keep sign
15202 or.w %d2,%d1 # concat sign,exp
15274 andi.l &0x7fff,%d1 # strip sign
15275 andi.w &0x8000,%d2 # keep old sign
15419 # the signs are opposite, so, return a ZERO w/ the sign of the dst ZERO
15484 fneg.x %fp0 # invert sign
15485 fbge.w fsub_inf_done # sign is now positive
15629 andi.l &0x7fff,%d1 # strip sign
15631 andi.w &0x8000,%d2 # keep old sign
15632 or.w %d1,%d2 # concat old sign,new exp
15705 andi.l &0x7fff,%d1 # strip sign
15706 andi.w &0x8000,%d2 # keep old sign
15710 or.w %d2,%d1 # concat new sign,new exp
15743 sne %d1 # set sign param accordingly
15759 andi.l &0x7fff,%d1 # strip sign
15760 andi.w &0x8000,%d2 # keep old sign
15764 or.w %d2,%d1 # concat sign,exp
18788 mov.w %d0,%a0 # sign extend displacement
18801 mov.w %d0,%a0 # sign extend displacement
18814 mov.w %d0,%a0 # sign extend displacement
18827 mov.w %d0,%a0 # sign extend displacement
18840 mov.w %d0,%a0 # sign extend displacement
18853 mov.w %d0,%a0 # sign extend displacement
18866 mov.w %d0,%a0 # sign extend displacement
18879 mov.w %d0,%a0 # sign extend displacement
18921 ext.l %d0 # sign extend word index
18929 extb.l %d2 # sign extend displacement
18975 mov.w %d0,%a0 # sign extend displacement
19017 ext.l %d0 # sign extend word index
19025 extb.l %d2 # sign extend displacement
19100 ext.l %d0 # sign extend bd
19131 ext.l %d0 # sign extend od
19998 btst &0x7, (%a0) # see if sign of SNAN is set
20087 btst &0x7, (%a0) # see if sign of SNAN is set
20257 andi.l &0x80000000,%d1 # keep DENORM sign
20303 andi.l &0x80000000,%d1 # keep DENORM sign
20350 andi.l &0x80000000,%d1 # keep DENORM sign
20421 andi.w &0x8000,FP_SCR0_EX(%a6) # keep only old sign
20445 andi.w &0x7fff,%d0 # strip sign
20601 mov.w SRC_EX(%a0),%d1 # fetch current sign
20646 bclr &0x7,FP_SCR0_EX(%a6) # clear sign bit
20647 sne.b 2+FP_SCR0_EX(%a6) # set internal sign bit
20683 andi.w &0x7fff,%d0 # strip sign
20812 mov.w SRC_EX(%a0),%d1 # fetch current sign
20878 tst.b FTEMP_EX(%a0) # test sign
20880 bset &0x1f,%d0 # if negative, set sign
20943 tst.b FTEMP_EX(%a0) # test sign
20945 bset &0x1f,%d0 # if negative, put in sign first
21005 # the question now is whether the exponents sign bit is allowed to be non-zero
22074 # If sign of fp number = 0 (positive), then add 1 to l. #
22077 tst.b FTEMP_SGN(%a0) # check for sign
22091 # If sign of fp number = 1 (negative), then add 1 to l. #
22094 tst.b FTEMP_SGN(%a0) # check for sign
22409 and.w &0x8000, %d0 # save old sign
22488 andi.w &0x7fff, %d0 # strip off sign
22688 # exponent is extended to 16 bits and the sign is stored in the unused #
22732 tst.b FTEMP_SGN(%a0) # is "internal result" sign set?
22735 clr.b FTEMP_SGN(%a0) # clear temp sign
22792 tst.b FTEMP_SGN(%a0) # is "internal result" sign set?
22795 clr.b FTEMP_SGN(%a0) # clear temp sign
22845 # The default overflow result can be determined by the sign of #
22856 andi.w &0x10,%d1 # keep result sign
22865 and.w &0x10, %d1 # keep result sign
22873 # use the rounding mode, precision, and result sign as in index into the
23009 # muls. Set the sign according to SE. Subtract 16 to compensate #
23015 # adds and muls in FP0. Set the sign according to SM. #
23043 # exponent sign is positive, and dividing FP0 by FP1 if #
23084 # 3. Correct for exponent sign.
23127 # 2. Correct for mantissa sign.
23181 # Check the sign of the mant and make the value in fp0 the same sign.
23184 btst &31,(%a0) # test sign of the mantissa
23197 # 1. Branch on the sign of the adjusted exponent.
23233 # routine is necessary. If so, then check the sign of the exponent
23241 btst &30,(%a0) # check sign of exp
23423 # Check the sign of the adjusted exp and make the value in fp0 the
23424 # same sign. If the exp was pos then multiply fp1*fp0;
23434 btst &30,(%a0) # test the sign of the exponent
23468 # d0 = contains the k-factor sign-extended to 32-bits. #
23475 # A1. Set RM and size ext; Set SIGMA = sign of input. #
23509 # sign of ISCALE, used in A9. Fp1 contains #
23559 # A16. Write sign bits to final string. #
23615 # A1. Set RM and size ext. Set SIGMA = sign input;
23623 mov.l (%a0),L_SCR2(%a6) # save exponent for sign check
23635 and.w &0x7fff,%d0 # strip sign of normalized exp
23651 and.w &0x7fff,%d0 # strip sign of normalized exp
23753 tst.l %d7 # branch on sign of k
23762 tst.l %d4 # LEN check: branch on sign of LEN
23778 # in the output before conversion to bcd. LAMBDA is the sign
23782 # of opposite sign in bindec.sa from Coonen).
23825 tst.l %d7 # test sign of k
23837 tst.l %d0 # test sign of ISCALE
23852 tst.l L_SCR2(%a6) # test sign of original x
23948 andi.w &0x7fff,%d3 # clear sign
23959 andi.w &0x8000,(%sp) # keep sign
23961 andi.w &0x7fff,(%a0) # clear sign bit on DENORM again
24064 tst.l L_SCR2(%a6) # test sign of original operand
24314 tst.l %d7 # check sign of the k-factor
24362 # A16. Write sign bits to final string.
24388 tst.l L_SCR2(%a6) # check sign of original mantissa
24392 tst.l %d6 # check sign of ILOG