Searched refs:xm (Results 1 - 25 of 95) sorted by relevance

1234

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/mips/math-emu/
H A Dsp_fint.c32 unsigned xm; local
48 xm = ((unsigned) 1 << 31); /* max neg can't be safely negated */
50 xm = -x;
52 xm = x;
56 if (xm >> (SP_MBITS + 1 + 3)) {
59 while (xm >> (SP_MBITS + 1 + 3)) {
65 while ((xm >> (SP_MBITS + 3)) == 0) {
66 xm <<= 1;
70 SPNORMRET1(xs, xe, xm, "fint", x);
H A Ddp_fint.c32 u64 xm; local
48 xm = ((unsigned) 1 << 31); /* max neg can't be safely negated */
50 xm = -x;
52 xm = x;
57 while ((xm >> DP_MBITS) == 0) {
58 xm <<= 1;
61 return builddp(xs, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT);
H A Ddp_flong.c32 u64 xm; local
48 xm = (1ULL << 63); /* max neg can't be safely negated */
50 xm = -x;
52 xm = x;
57 if (xm >> (DP_MBITS + 1 + 3)) {
59 while (xm >> (DP_MBITS + 1 + 3)) {
64 while ((xm >> (DP_MBITS + 3)) == 0) {
65 xm <<= 1;
69 DPNORMRET1(xs, xe, xm, "dp_flong", x);
H A Dsp_flong.c32 u64 xm; /* <--- need 64-bit mantissa temp */ local
48 xm = (1ULL << 63); /* max neg can't be safely negated */
50 xm = -x;
52 xm = x;
56 if (xm >> (SP_MBITS + 1 + 3)) {
59 while (xm >> (SP_MBITS + 1 + 3)) {
64 while ((xm >> (SP_MBITS + 3)) == 0) {
65 xm <<= 1;
69 SPNORMRET1(xs, xe, xm, "sp_flong", x);
H A Ddp_tint.c60 xm <<= xe - DP_MBITS;
68 residue = xm;
71 xm = 0;
73 residue = xm << (64 - DP_MBITS + xe);
76 xm >>= DP_MBITS - xe;
78 /* Note: At this point upper 32 bits of xm are guaranteed
80 odd = (xm & 0x1) != 0x0;
84 xm++;
90 xm++;
94 xm
[all...]
H A Ddp_tlong.c53 if (xe == 63 && xs && xm == DP_HIDDEN_BIT)
62 xm <<= xe - DP_MBITS;
70 residue = xm;
73 xm = 0;
78 residue = xm << (xe + 1);
82 xm >>= DP_MBITS - xe;
84 odd = (xm & 0x1) != 0x0;
88 xm++;
94 xm++;
98 xm
[all...]
H A Dsp_tint.c54 if (xe == 31 && xs && xm == SP_HIDDEN_BIT)
63 xm <<= xe - SP_MBITS;
71 residue = xm;
74 xm = 0;
79 residue = xm << (xe + 1);
83 xm >>= SP_MBITS - xe;
85 odd = (xm & 0x1) != 0x0;
89 xm++;
95 xm++;
99 xm
[all...]
H A Dsp_tlong.c53 if (xe == 63 && xs && xm == SP_HIDDEN_BIT)
62 xm <<= xe - SP_MBITS;
70 residue = xm;
73 xm = 0;
75 residue = xm << (32 - SP_MBITS + xe);
78 xm >>= SP_MBITS - xe;
80 odd = (xm & 0x1) != 0x0;
84 xm++;
90 xm++;
94 xm
[all...]
H A Dieee754dp.c103 static u64 get_rounding(int sn, u64 xm) argument
107 if (xm & (DP_MBIT(3) - 1)) {
112 xm += 0x3 + ((xm >> 3) & 1);
113 /* xm += (xm&0x8)?0x4:0x3 */
117 xm += 0x8;
121 xm += 0x8;
125 return xm;
132 * xm i
134 ieee754dp_format(int sn, int xe, u64 xm) argument
[all...]
H A Dieee754sp.c104 static unsigned get_rounding(int sn, unsigned xm) argument
108 if (xm & (SP_MBIT(3) - 1)) {
113 xm += 0x3 + ((xm >> 3) & 1);
114 /* xm += (xm&0x8)?0x4:0x3 */
118 xm += 0x8;
122 xm += 0x8;
126 return xm;
133 * xm i
135 ieee754sp_format(int sn, int xe, unsigned xm) argument
[all...]
H A Ddp_fsp.c47 ((u64) xm
57 while ((xm >> SP_MBITS) == 0) {
58 xm <<= 1;
70 xm &= ~SP_HIDDEN_BIT;
73 (u64) xm << (DP_MBITS - SP_MBITS));
H A Ddp_modf.c65 ((xm >> (DP_MBITS - xe)) << (DP_MBITS - xe)) &
71 xm = (xm << (64 - (DP_MBITS - xe))) >> (64 - (DP_MBITS - xe));
72 if (xm == 0)
75 while ((xm >> DP_MBITS) == 0) {
76 xm <<= 1;
79 return builddp(xs, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT);
H A Dsp_modf.c65 ((xm >> (SP_MBITS - xe)) << (SP_MBITS - xe)) &
71 xm = (xm << (32 - (SP_MBITS - xe))) >> (32 - (SP_MBITS - xe));
72 if (xm == 0)
75 while ((xm >> SP_MBITS) == 0) {
76 xm <<= 1;
79 return buildsp(xs, xe + SP_EBIAS, xm & ~SP_HIDDEN_BIT);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/mips/math-emu/
H A Dsp_fint.c32 unsigned xm; local
48 xm = ((unsigned) 1 << 31); /* max neg can't be safely negated */
50 xm = -x;
52 xm = x;
56 if (xm >> (SP_MBITS + 1 + 3)) {
59 while (xm >> (SP_MBITS + 1 + 3)) {
65 while ((xm >> (SP_MBITS + 3)) == 0) {
66 xm <<= 1;
70 SPNORMRET1(xs, xe, xm, "fint", x);
H A Ddp_fint.c32 u64 xm; local
48 xm = ((unsigned) 1 << 31); /* max neg can't be safely negated */
50 xm = -x;
52 xm = x;
57 while ((xm >> DP_MBITS) == 0) {
58 xm <<= 1;
61 return builddp(xs, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT);
H A Ddp_flong.c32 u64 xm; local
48 xm = (1ULL << 63); /* max neg can't be safely negated */
50 xm = -x;
52 xm = x;
57 if (xm >> (DP_MBITS + 1 + 3)) {
59 while (xm >> (DP_MBITS + 1 + 3)) {
64 while ((xm >> (DP_MBITS + 3)) == 0) {
65 xm <<= 1;
69 DPNORMRET1(xs, xe, xm, "dp_flong", x);
H A Dsp_flong.c32 u64 xm; /* <--- need 64-bit mantissa temp */ local
48 xm = (1ULL << 63); /* max neg can't be safely negated */
50 xm = -x;
52 xm = x;
56 if (xm >> (SP_MBITS + 1 + 3)) {
59 while (xm >> (SP_MBITS + 1 + 3)) {
64 while ((xm >> (SP_MBITS + 3)) == 0) {
65 xm <<= 1;
69 SPNORMRET1(xs, xe, xm, "sp_flong", x);
H A Ddp_tint.c60 xm <<= xe - DP_MBITS;
68 residue = xm;
71 xm = 0;
73 residue = xm << (64 - DP_MBITS + xe);
76 xm >>= DP_MBITS - xe;
78 /* Note: At this point upper 32 bits of xm are guaranteed
80 odd = (xm & 0x1) != 0x0;
84 xm++;
90 xm++;
94 xm
[all...]
H A Ddp_tlong.c53 if (xe == 63 && xs && xm == DP_HIDDEN_BIT)
62 xm <<= xe - DP_MBITS;
70 residue = xm;
73 xm = 0;
78 residue = xm << (xe + 1);
82 xm >>= DP_MBITS - xe;
84 odd = (xm & 0x1) != 0x0;
88 xm++;
94 xm++;
98 xm
[all...]
H A Dsp_tint.c54 if (xe == 31 && xs && xm == SP_HIDDEN_BIT)
63 xm <<= xe - SP_MBITS;
71 residue = xm;
74 xm = 0;
79 residue = xm << (xe + 1);
83 xm >>= SP_MBITS - xe;
85 odd = (xm & 0x1) != 0x0;
89 xm++;
95 xm++;
99 xm
[all...]
H A Dsp_tlong.c53 if (xe == 63 && xs && xm == SP_HIDDEN_BIT)
62 xm <<= xe - SP_MBITS;
70 residue = xm;
73 xm = 0;
75 residue = xm << (32 - SP_MBITS + xe);
78 xm >>= SP_MBITS - xe;
80 odd = (xm & 0x1) != 0x0;
84 xm++;
90 xm++;
94 xm
[all...]
H A Dieee754dp.c103 static u64 get_rounding(int sn, u64 xm) argument
107 if (xm & (DP_MBIT(3) - 1)) {
112 xm += 0x3 + ((xm >> 3) & 1);
113 /* xm += (xm&0x8)?0x4:0x3 */
117 xm += 0x8;
121 xm += 0x8;
125 return xm;
132 * xm i
134 ieee754dp_format(int sn, int xe, u64 xm) argument
[all...]
H A Dieee754sp.c104 static unsigned get_rounding(int sn, unsigned xm) argument
108 if (xm & (SP_MBIT(3) - 1)) {
113 xm += 0x3 + ((xm >> 3) & 1);
114 /* xm += (xm&0x8)?0x4:0x3 */
118 xm += 0x8;
122 xm += 0x8;
126 return xm;
133 * xm i
135 ieee754sp_format(int sn, int xe, unsigned xm) argument
[all...]
H A Ddp_fsp.c47 ((u64) xm
57 while ((xm >> SP_MBITS) == 0) {
58 xm <<= 1;
70 xm &= ~SP_HIDDEN_BIT;
73 (u64) xm << (DP_MBITS - SP_MBITS));
H A Ddp_modf.c65 ((xm >> (DP_MBITS - xe)) << (DP_MBITS - xe)) &
71 xm = (xm << (64 - (DP_MBITS - xe))) >> (64 - (DP_MBITS - xe));
72 if (xm == 0)
75 while ((xm >> DP_MBITS) == 0) {
76 xm <<= 1;
79 return builddp(xs, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT);

Completed in 120 milliseconds

1234