Lines Matching refs:m32
29 reg->lowmant = reg->mant.m32[1] << (8 - cnt);
30 reg->mant.m32[1] = (reg->mant.m32[1] >> cnt) |
31 (reg->mant.m32[0] << (32 - cnt));
32 reg->mant.m32[0] = reg->mant.m32[0] >> cnt;
35 reg->lowmant = reg->mant.m32[1] >> (cnt - 8);
36 if (reg->mant.m32[1] << (40 - cnt))
38 reg->mant.m32[1] = (reg->mant.m32[1] >> cnt) |
39 (reg->mant.m32[0] << (32 - cnt));
40 reg->mant.m32[0] = reg->mant.m32[0] >> cnt;
44 : "m" (reg->mant.m32[0]), "d" (64 - cnt));
45 if (reg->mant.m32[1] << (40 - cnt))
47 reg->mant.m32[1] = reg->mant.m32[0] >> (cnt - 32);
48 reg->mant.m32[0] = 0;
51 reg->lowmant = reg->mant.m32[0] >> (cnt - 40);
52 if ((reg->mant.m32[0] << (72 - cnt)) || reg->mant.m32[1])
54 reg->mant.m32[1] = reg->mant.m32[0] >> (cnt - 32);
55 reg->mant.m32[0] = 0;
58 reg->lowmant = reg->mant.m32[0] || reg->mant.m32[1];
59 reg->mant.m32[0] = 0;
60 reg->mant.m32[1] = 0;
69 if (reg->mant.m32[0]) {
70 asm ("bfffo %1{#0,#32},%0" : "=d" (shift) : "dm" (reg->mant.m32[0]));
71 reg->mant.m32[0] = (reg->mant.m32[0] << shift) | (reg->mant.m32[1] >> (32 - shift));
72 reg->mant.m32[1] = (reg->mant.m32[1] << shift);
74 asm ("bfffo %1{#0,#32},%0" : "=d" (shift) : "dm" (reg->mant.m32[1]));
75 reg->mant.m32[0] = (reg->mant.m32[1] << shift);
76 reg->mant.m32[1] = 0;
90 asm volatile ("addx.l %1,%0" : "=d" (dest->mant.m32[1])
91 : "d" (src->mant.m32[1]), "0" (dest->mant.m32[1]));
92 asm volatile ("addx.l %1,%0" : "=d" (dest->mant.m32[0])
93 : "d" (src->mant.m32[0]), "0" (dest->mant.m32[0]));
108 reg->lowmant = (reg->mant.m32[1] << 7) | (reg->lowmant ? 1 : 0);
109 reg->mant.m32[1] = (reg->mant.m32[1] >> 1) |
110 (reg->mant.m32[0] << 31);
111 reg->mant.m32[0] = (reg->mant.m32[0] >> 1) | 0x80000000;
122 asm volatile ("subx.l %1,%0" : "=d" (dest->mant.m32[1])
123 : "d" (src2->mant.m32[1]), "0" (src1->mant.m32[1]));
124 asm volatile ("subx.l %1,%0" : "=d" (dest->mant.m32[0])
125 : "d" (src2->mant.m32[0]), "0" (src1->mant.m32[0]));
143 asm volatile ("add.l %1,%0" : "=d,g" (dest->m32[2]) \
144 : "g,d" (temp.m32[1]), "0,0" (dest->m32[2])); \
145 asm volatile ("addx.l %1,%0" : "=d" (dest->m32[1]) \
146 : "d" (temp.m32[0]), "0" (dest->m32[1])); \
147 asm volatile ("addx.l %1,%0" : "=d" (dest->m32[0]) \
148 : "d" (0), "0" (dest->m32[0])); \
151 asm ("sub.l %1,%0" : "=d,dm" (dest.m32[1]) \
152 : "dm,d" (src.m32[1]), "0,0" (dest.m32[1])); \
153 asm ("subx.l %1,%0" : "=d" (dest.m32[0]) \
154 : "d" (src.m32[0]), "0" (dest.m32[0])); \
158 asm ("sub.l %1,%0" : "=d,dm" (dest.m32[2]) \
159 : "dm,d" (srcl), "0,0" (dest.m32[2])); \
160 asm ("subx.l %1,%0" : "=d" (dest.m32[1]) \
161 : "d" (srcm), "0" (dest.m32[1])); \
162 asm ("subx.l %2,%1; scs %0" : "=d" (carry), "=d" (dest.m32[0]) \
163 : "d" (srch), "1" (dest.m32[0])); \
172 fp_mul64(dest->m32[0], dest->m32[1], src1->mant.m32[0], src2->mant.m32[0]);
173 fp_mul64(dest->m32[2], dest->m32[3], src1->mant.m32[1], src2->mant.m32[1]);
175 fp_mul64(temp.m32[0], temp.m32[1], src1->mant.m32[0], src2->mant.m32[1]);
178 fp_mul64(temp.m32[0], temp.m32[1], src1->mant.m32[1], src2->mant.m32[0]);
187 unsigned long *mantp = dest->m32;
210 dummy = div->mant.m32[1] / div->mant.m32[0] + 1;
216 if (src->mant.m32[0] == div->mant.m32[0]) {
217 fp_div64(first, rem, 0, src->mant.m32[1], div->mant.m32[0]);
222 fp_div64(first, rem, src->mant.m32[0], src->mant.m32[1], div->mant.m32[0]);
227 fp_mul64(tmp.m32[0], tmp.m32[1], div->mant.m32[0], first - *mantp);
228 fp_add64(tmp.m32[0], tmp.m32[1], 0, rem);
229 tmp.m32[2] = 0;
231 fp_mul64(tmp64.m32[0], tmp64.m32[1], *mantp, div->mant.m32[1]);
232 fp_sub96c(tmp, 0, tmp64.m32[0], tmp64.m32[1]);
234 src->mant.m32[0] = tmp.m32[1];
235 src->mant.m32[1] = tmp.m32[2];
237 while (!fp_sub96c(tmp, 0, div->mant.m32[0], div->mant.m32[1])) {
238 src->mant.m32[0] = tmp.m32[1];
239 src->mant.m32[1] = tmp.m32[2];
254 dest->lowmant = src->m32[2] >> 24;
255 if (src->m32[3] || (src->m32[2] << 8))
260 : "=d" (tmp) : "0" (src->m32[2]));
262 : "=d" (dest->mant.m32[1]) : "0" (src->m32[1]));
264 : "=d" (dest->mant.m32[0]) : "0" (src->m32[0]));
266 if (src->m32[3] || (tmp << 8))
271 : "=d" (dest->mant.m32[0])
272 : "d" (src->m32[0]), "0" (src->m32[1]));
274 : "=d" (dest->mant.m32[1]) : "0" (src->m32[2]));
276 : "=d" (tmp) : "0" (src->m32[3]));
278 if (src->m32[3] << 7)
282 dest->mant.m32[0] = src->m32[1];
283 dest->mant.m32[1] = src->m32[2];
284 dest->lowmant = src->m32[3] >> 24;
285 if (src->m32[3] << 8)