• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m68k/math-emu/

Lines Matching defs:dest

83 static inline int fp_addmant(struct fp_ext *dest, struct fp_ext *src)
88 asm volatile ("add.b %1,%0" : "=d,g" (dest->lowmant)
89 : "g,d" (src->lowmant), "0,0" (dest->lowmant));
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]));
116 static inline void fp_submant(struct fp_ext *dest, struct fp_ext *src1,
120 asm volatile ("sub.b %1,%0" : "=d,g" (dest->lowmant)
122 asm volatile ("subx.l %1,%0" : "=d" (dest->mant.m32[1])
124 asm volatile ("subx.l %1,%0" : "=d" (dest->mant.m32[0])
141 #define fp_addx96(dest, src) ({ \
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])); \
150 #define fp_sub64(dest, src) ({ \
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])); \
156 #define fp_sub96c(dest, srch, srcm, srcl) ({ \
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])); \
167 static inline void fp_multiplymant(union fp_mant128 *dest, struct fp_ext *src1,
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]);
176 fp_addx96(dest, temp);
179 fp_addx96(dest, temp);
182 static inline void fp_dividemant(union fp_mant128 *dest, struct fp_ext *src,
187 unsigned long *mantp = dest->m32;
191 /* the algorithm below requires dest to be smaller than div,
246 static inline void fp_putmant128(struct fp_ext *dest, union fp_mant128 *src,
253 dest->mant.m64 = src->m64[0];
254 dest->lowmant = src->m32[2] >> 24;
256 dest->lowmant |= 1;
262 : "=d" (dest->mant.m32[1]) : "0" (src->m32[1]));
264 : "=d" (dest->mant.m32[0]) : "0" (src->m32[0]));
265 dest->lowmant = tmp >> 24;
267 dest->lowmant |= 1;
271 : "=d" (dest->mant.m32[0])
274 : "=d" (dest->mant.m32[1]) : "0" (src->m32[2]));
277 dest->lowmant = tmp >> 24;
279 dest->lowmant |= 1;
282 dest->mant.m32[0] = src->m32[1];
283 dest->mant.m32[1] = src->m32[2];
284 dest->lowmant = src->m32[3] >> 24;
286 dest->lowmant |= 1;