Lines Matching +full:carry +full:- +full:less

1 /* Machine-dependent software floating-point definitions.  PPC version.
18 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 denominator, which also happens to be the hardware I have :->
37 #define __ll_lowpart(t) ((UWtype) (t) & (__ll_B - 1))
43 * in op-2.h] or a call to add_ssaaaa (see below).
57 * _FP_DIV_HELP_ldiv (see op-1.h).
63 * -- PMM
89 * a comma-separated set of 32bit unsigned ints that encode NaN.
91 #define _FP_NANFRAC_S ((_FP_QNANBIT_S << 1) - 1)
92 #define _FP_NANFRAC_D ((_FP_QNANBIT_D << 1) - 1), -1
93 #define _FP_NANFRAC_Q ((_FP_QNANBIT_Q << 1) - 1), -1, -1, -1
108 #define __FPU_FPSCR (current->thread.spefscr)
116 everything easier ;-). */
117 #define FP_EX_INVALID (1 << (31 - 2))
123 #define FP_EX_OVERFLOW (1 << (31 - 3))
124 #define FP_EX_UNDERFLOW (1 << (31 - 4))
125 #define FP_EX_DIVZERO (1 << (31 - 5))
126 #define FP_EX_INEXACT (1 << (31 - 6))
128 #define __FPU_FPSCR (current->thread.fp_state.fpscr)
201 /* the asm fragments go here: all these are taken from glibc-2.0.5's
208 /* add_ssaaaa is used in op-2.h and should be equivalent to
214 * (i.e. carry out) is not stored anywhere, and is lost.
230 /* sub_ddmmss is used in op-2.h and udivmodti4.c and should be equivalent to
231 * #define sub_ddmmss(sh, sl, ah, al, bh, bl) (sh = ah-bh - ((sl = al-bl) > al))
233 * high_subtrahend, low_subtrahend) subtracts two two-word UWtype integers,
236 * and LOW_DIFFERENCE. Overflow (i.e. carry out) is not stored anywhere,
275 * in QUOTIENT and the remainder in REMAINDER. HIGH_NUMERATOR must be less
277 * significant bit of DENOMINATOR must be 1, then the pre-processor symbol
293 __q1--, __r1 += (d); \
294 if (__r1 >= (d)) /* i.e. we didn't get carry when adding to __r1 */\
296 __q1--, __r1 += (d); \
298 __r1 -= __m; \
306 __q0--, __r0 += (d); \
309 __q0--, __r0 += (d); \
311 __r0 -= __m; \
329 #define EFLAG_INVALID (1 << (31 - 2))
330 #define EFLAG_OVERFLOW (1 << (31 - 3))
331 #define EFLAG_UNDERFLOW (1 << (31 - 4))
332 #define EFLAG_DIVZERO (1 << (31 - 5))
333 #define EFLAG_INEXACT (1 << (31 - 6))
335 #define EFLAG_VXSNAN (1 << (31 - 7))
336 #define EFLAG_VXISI (1 << (31 - 8))
337 #define EFLAG_VXIDI (1 << (31 - 9))
338 #define EFLAG_VXZDZ (1 << (31 - 10))
339 #define EFLAG_VXIMZ (1 << (31 - 11))
340 #define EFLAG_VXVC (1 << (31 - 12))
341 #define EFLAG_VXSOFT (1 << (31 - 21))
342 #define EFLAG_VXSQRT (1 << (31 - 22))
343 #define EFLAG_VXCVI (1 << (31 - 23))