Searched refs:sgn (Results 1 - 14 of 14) sorted by relevance

/linux-4.4.14/arch/m68k/fpsp040/
H A Dstanh.S26 | sgn := sign(X), y := 2|X|, z := expm1(Y), and
27 | tanh(X) = sgn*( z/(2+z) ).
36 | sgn := sign(X), y := 2|X|, z := exp(Y),
37 | tanh(X) = sgn - [ sgn*2/(1+z) ].
42 | sgn := sign(X), Tiny := 2**(-126),
43 | tanh(X) := sgn - sgn*Tiny.
H A Dsatanh.S27 | sgn := sign(X)
30 | atanh(X) := sgn * (1/2) * logp1(z)
37 | sgn := sign(X)
38 | atan(X) := sgn / (+0).
H A Dssinh.S26 | y = |X|, sgn = sign(X), and z = expm1(Y),
27 | sinh(X) = sgn*(1/2)*( z + z/(1+z) ).
37 | sgn := sign(X)
38 | sgnFact := sgn * 2**(16380)
H A Dsasin.S32 | 4. (|X| = 1) sgn := sign(X), return asin(X) := sgn * Pi/2. Exit.
H A Dssin.S40 | 5. (k is odd) Set j := (k-1)/2, sgn := (-1)**j. Return sgn*cos(r)
45 | 6. (k is even) Set j := k/2, sgn := (-1)**j. Return sgn*sin(r)
H A Dsatan.S25 | Step 2. Let X = sgn * 2**k * 1.xxxxxxxx...x. Note that k = -4, -3,..., or 3.
26 | Define F = sgn * 2**k * 1.xxxx1, i.e. the first 5 significant bits
/linux-4.4.14/drivers/media/tuners/
H A Dtda18271-fe.c446 int sgn, bcal, count, wait, ret; tda18271_powerscan() local
483 sgn = 1; tda18271_powerscan()
491 freq = *freq_in + (sgn * count) + 1000000; tda18271_powerscan()
515 if (sgn <= 0) tda18271_powerscan()
518 sgn = -1 * sgn; tda18271_powerscan()
/linux-4.4.14/fs/btrfs/
H A Dbackref.c624 int sgn; __add_delayed_refs() local
641 sgn = 1; __add_delayed_refs()
644 sgn = -1; __add_delayed_refs()
649 *total_refs += (node->ref_mod * sgn); __add_delayed_refs()
657 node->ref_mod * sgn, GFP_ATOMIC); __add_delayed_refs()
667 node->ref_mod * sgn, GFP_ATOMIC); __add_delayed_refs()
689 node->ref_mod * sgn, GFP_ATOMIC); __add_delayed_refs()
698 node->ref_mod * sgn, GFP_ATOMIC); __add_delayed_refs()
/linux-4.4.14/drivers/media/dvb-frontends/
H A Dlg2160.c574 static int lg216x_get_sgn(struct lg216x_state *state, u8 *sgn) lg216x_get_sgn() argument
579 *sgn = 0xff; /* invalid value */ lg216x_get_sgn()
585 *sgn = val & 0x0f; lg216x_get_sgn()
/linux-4.4.14/arch/m68k/ifpsp060/src/
H A Dilsp.S201 neg.l %d5 # sgn(rem) = sgn(dividend)
641 ori.b &0x1,%d5 # save multiplier sgn
H A Dfplsp.S4931 # 5. (k is odd) Set j := (k-1)/2, sgn := (-1)**j. #
4932 # Return sgn*cos(r) where cos(r) is approximated by an #
4937 # 6. (k is even) Set j := k/2, sgn := (-1)**j. Return sgn*sin(r) #
6056 # Step 2. Let X = sgn * 2**k * 1.xxxxxxxx...x. #
6058 # Define F = sgn * 2**k * 1.xxxx1, i.e. the first 5 #
6515 # 4. (|X| = 1) sgn := sign(X), return asin(X) := sgn * Pi/2. Exit.#
7701 # y = |X|, sgn = sign(X), and z = expm1(Y), #
7702 # sinh(X) = sgn*(1/2)*( z + z/(1+z) ). #
7712 # sgn := sign(X) #
7713 # sgnFact := sgn * 2**(16380) #
7819 # sgn := sign(X), y := 2|X|, z := expm1(Y), and #
7820 # tanh(X) = sgn*( z/(2+z) ). #
7829 # sgn := sign(X), y := 2|X|, z := exp(Y), #
7830 # tanh(X) = sgn - [ sgn*2/(1+z) ]. #
7835 # sgn := sign(X), Tiny := 2**(-126), #
7836 # tanh(X) := sgn - sgn*Tiny. #
8580 # sgn := sign(X) #
8583 # atanh(X) := sgn * (1/2) * logp1(z) #
8590 # sgn := sign(X) #
8591 # atan(X) := sgn / (+0). #
10918 and.w &0x7fff, %d1 # strip off sgn
10929 or.w %d0, %d1 # {sgn,new exp}
H A Dfpsp.S5037 # 5. (k is odd) Set j := (k-1)/2, sgn := (-1)**j. #
5038 # Return sgn*cos(r) where cos(r) is approximated by an #
5043 # 6. (k is even) Set j := k/2, sgn := (-1)**j. Return sgn*sin(r) #
6162 # Step 2. Let X = sgn * 2**k * 1.xxxxxxxx...x. #
6164 # Define F = sgn * 2**k * 1.xxxx1, i.e. the first 5 #
6621 # 4. (|X| = 1) sgn := sign(X), return asin(X) := sgn * Pi/2. Exit.#
7807 # y = |X|, sgn = sign(X), and z = expm1(Y), #
7808 # sinh(X) = sgn*(1/2)*( z + z/(1+z) ). #
7818 # sgn := sign(X) #
7819 # sgnFact := sgn * 2**(16380) #
7925 # sgn := sign(X), y := 2|X|, z := expm1(Y), and #
7926 # tanh(X) = sgn*( z/(2+z) ). #
7935 # sgn := sign(X), y := 2|X|, z := exp(Y), #
7936 # tanh(X) = sgn - [ sgn*2/(1+z) ]. #
7941 # sgn := sign(X), Tiny := 2**(-126), #
7942 # tanh(X) := sgn - sgn*Tiny. #
8686 # sgn := sign(X) #
8689 # atanh(X) := sgn * (1/2) * logp1(z) #
8696 # sgn := sign(X) #
8697 # atan(X) := sgn / (+0). #
10422 or.b %d1,%d0 # concat {sgn,mode,prec}
11638 mov.w FP_SCR0_EX(%a6),%d1 # load {sgn,exp}
11708 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
11828 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
12166 mov.w FP_SCR0_EX(%a6),%d1 # load {sgn,exp}
12280 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
12452 mov.w FP_SCR0_EX(%a6),%d1 # load {sgn,exp}
12521 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
12596 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
12946 mov.w FP_SCR0_EX(%a6),%d1 # load sgn,exp
13060 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
13564 mov.w FP_SCR0_EX(%a6),%d1 # load sgn,exp
13675 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
14009 mov.w FP_SCR0_EX(%a6),%d1 # load {sgn,exp}
14056 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
14133 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
14356 mov.w FP_SCR0_EX(%a6),%d1 # load {sgn,exp}
14409 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
14466 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
14819 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
15198 mov.w (%sp),%d1 # fetch {sgn,exp}
15272 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
15279 or.w %d2,%d1 # concat sgn,exp
15627 mov.w FP_SCR0_EX(%a6),%d1 # load sgn,exp
15757 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
15909 or.w %d1,%d0 # concat {sgn,new exp}
15945 or.w %d1,%d0 # concat {sgn,new exp}
15985 mov.w FP_SCR0_EX(%a6),%d1 # extract operand's {sgn,exp}
15990 andi.w &0x8000,%d0 # extract operand's sgn
16042 mov.w FP_SCR0_EX(%a6),%d1 # extract operand's {sgn,exp}
16045 andi.w &0x8000,FP_SCR0_EX(%a6) # extract operand's sgn
16112 mov.w FP_SCR1_EX(%a6),%d1 # extract operand's {sgn,exp}
16117 andi.w &0x8000,%d0 # extract operand's sgn
19975 btst &0x7, (%a0) # is sgn bit set?
19977 bset &0x7, FP_SRC_EX(%a6) # set sgn of xprec value
19984 or.w %d1, FP_SRC_EX(%a6) # {sgn,exp}
20061 btst &0x7, (%a0) # is sgn bit set?
20063 bset &0x7, FP_SRC_EX(%a6) # set sgn of xprec value
20070 or.w %d1, FP_SRC_EX(%a6) # {sgn,exp}
22399 and.w &0x7fff, %d1 # strip off sgn
22410 or.w %d0, %d1 # {sgn,new exp}
22731 bclr &0x7, FTEMP_EX(%a0) # clear sgn first; may have residue
22734 bset &0x7, FTEMP_EX(%a0) # set result sgn
22791 bclr &0x7,FTEMP_EX(%a0) # clear sgn first; may have residue
22794 bset &0x7,FTEMP_EX(%a0) # set result sgn
H A Dpfpsp.S5455 or.w %d1,%d0 # concat {sgn,new exp}
5491 or.w %d1,%d0 # concat {sgn,new exp}
5531 mov.w FP_SCR0_EX(%a6),%d1 # extract operand's {sgn,exp}
5536 andi.w &0x8000,%d0 # extract operand's sgn
5588 mov.w FP_SCR0_EX(%a6),%d1 # extract operand's {sgn,exp}
5591 andi.w &0x8000,FP_SCR0_EX(%a6) # extract operand's sgn
5658 mov.w FP_SCR1_EX(%a6),%d1 # extract operand's {sgn,exp}
5663 andi.w &0x8000,%d0 # extract operand's sgn
6521 and.w &0x7fff, %d1 # strip off sgn
6532 or.w %d0, %d1 # {sgn,new exp}
6853 bclr &0x7, FTEMP_EX(%a0) # clear sgn first; may have residue
6856 bset &0x7, FTEMP_EX(%a0) # set result sgn
6913 bclr &0x7,FTEMP_EX(%a0) # clear sgn first; may have residue
6916 bset &0x7,FTEMP_EX(%a0) # set result sgn
8069 mov.w FP_SCR0_EX(%a6),%d1 # load {sgn,exp}
8139 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
8259 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
8597 mov.w FP_SCR0_EX(%a6),%d1 # load {sgn,exp}
8711 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
8883 mov.w FP_SCR0_EX(%a6),%d1 # load {sgn,exp}
8952 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
9027 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
9377 mov.w FP_SCR0_EX(%a6),%d1 # load sgn,exp
9491 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
9995 mov.w FP_SCR0_EX(%a6),%d1 # load sgn,exp
10106 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
10440 mov.w FP_SCR0_EX(%a6),%d1 # load {sgn,exp}
10487 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
10564 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
10787 mov.w FP_SCR0_EX(%a6),%d1 # load {sgn,exp}
10840 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
10897 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
11250 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
11629 mov.w (%sp),%d1 # fetch {sgn,exp}
11703 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
11710 or.w %d2,%d1 # concat sgn,exp
12058 mov.w FP_SCR0_EX(%a6),%d1 # load sgn,exp
12188 mov.w FP_SCR0_EX(%a6),%d1 # fetch {sgn,exp}
H A Disp.S2171 neg.l %d5 # sgn(rem) = sgn(dividend)
2547 beq.b mul64_alg # unsigned; skip sgn calc
2552 ori.b &0x1, EXC_TEMP(%a6) # save multiplier sgn

Completed in 673 milliseconds