Home
last modified time | relevance | path

Searched refs:signbyte (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/math-emu/
Dfpu_emu.h159 #define signbyte(a) (((u_char *)(a))[9]) macro
160 #define getsign(a) (signbyte(a) & 0x80)
161 #define setsign(a,b) { if ((b) != 0) signbyte(a) |= 0x80; else signbyte(a) &= 0x7f; }
162 #define copysign(a,b) { if (getsign(a)) signbyte(b) |= 0x80; \
163 else signbyte(b) &= 0x7f; }
164 #define changesign(a) { signbyte(a) ^= 0x80; }
165 #define setpositive(a) { signbyte(a) &= 0x7f; }
166 #define setnegative(a) { signbyte(a) |= 0x80; }
167 #define signpositive(a) ( (signbyte(a) & 0x80) == 0 )
168 #define signnegative(a) (signbyte(a) & 0x80)
Dfpu_etc.c23 signbyte(st0_ptr) ^= SIGN_NEG; in fchs()