Linux Kernel
3.7.1
|
#include "fpu_emu.h"
Go to the source code of this file.
Macros | |
#define | Const__(x) x |
#define | SW_Backward Const__(0x8000) /* backward compatibility */ |
#define | SW_C3 Const__(0x4000) /* condition bit 3 */ |
#define | SW_Top Const__(0x3800) /* top of stack */ |
#define | SW_Top_Shift Const__(11) /* shift for top of stack bits */ |
#define | SW_C2 Const__(0x0400) /* condition bit 2 */ |
#define | SW_C1 Const__(0x0200) /* condition bit 1 */ |
#define | SW_C0 Const__(0x0100) /* condition bit 0 */ |
#define | SW_Summary Const__(0x0080) /* exception summary */ |
#define | SW_Stack_Fault Const__(0x0040) /* stack fault */ |
#define | SW_Precision Const__(0x0020) /* loss of precision */ |
#define | SW_Underflow Const__(0x0010) /* underflow */ |
#define | SW_Overflow Const__(0x0008) /* overflow */ |
#define | SW_Zero_Div Const__(0x0004) /* divide by zero */ |
#define | SW_Denorm_Op Const__(0x0002) /* denormalized operand */ |
#define | SW_Invalid Const__(0x0001) /* invalid operation */ |
#define | SW_Exc_Mask Const__(0x27f) /* Status word exception bit mask */ |
#define | COMP_A_gt_B 1 |
#define | COMP_A_eq_B 2 |
#define | COMP_A_lt_B 3 |
#define | COMP_No_Comp 4 |
#define | COMP_Denormal 0x20 |
#define | COMP_NaN 0x40 |
#define | COMP_SNaN 0x80 |
#define | status_word() ((partial_status & ~SW_Top & 0xffff) | ((top << SW_Top_Shift) & SW_Top)) |
#define | clear_C1() { partial_status &= ~SW_C1; } |
#define clear_C1 | ( | ) | { partial_status &= ~SW_C1; } |
Definition at line 60 of file status_w.h.
#define COMP_A_eq_B 2 |
Definition at line 42 of file status_w.h.
#define COMP_A_gt_B 1 |
Definition at line 41 of file status_w.h.
#define COMP_A_lt_B 3 |
Definition at line 43 of file status_w.h.
#define COMP_Denormal 0x20 |
Definition at line 45 of file status_w.h.
#define COMP_NaN 0x40 |
Definition at line 46 of file status_w.h.
#define COMP_No_Comp 4 |
Definition at line 44 of file status_w.h.
#define COMP_SNaN 0x80 |
Definition at line 47 of file status_w.h.
Definition at line 18 of file status_w.h.
#define status_word | ( | ) | ((partial_status & ~SW_Top & 0xffff) | ((top << SW_Top_Shift) & SW_Top)) |
Definition at line 49 of file status_w.h.
#define SW_Backward Const__(0x8000) /* backward compatibility */ |
Definition at line 21 of file status_w.h.
#define SW_C0 Const__(0x0100) /* condition bit 0 */ |
Definition at line 27 of file status_w.h.
#define SW_C1 Const__(0x0200) /* condition bit 1 */ |
Definition at line 26 of file status_w.h.
#define SW_C2 Const__(0x0400) /* condition bit 2 */ |
Definition at line 25 of file status_w.h.
#define SW_C3 Const__(0x4000) /* condition bit 3 */ |
Definition at line 22 of file status_w.h.
#define SW_Denorm_Op Const__(0x0002) /* denormalized operand */ |
Definition at line 34 of file status_w.h.
#define SW_Exc_Mask Const__(0x27f) /* Status word exception bit mask */ |
Definition at line 37 of file status_w.h.
#define SW_Invalid Const__(0x0001) /* invalid operation */ |
Definition at line 35 of file status_w.h.
#define SW_Overflow Const__(0x0008) /* overflow */ |
Definition at line 32 of file status_w.h.
#define SW_Precision Const__(0x0020) /* loss of precision */ |
Definition at line 30 of file status_w.h.
#define SW_Stack_Fault Const__(0x0040) /* stack fault */ |
Definition at line 29 of file status_w.h.
#define SW_Summary Const__(0x0080) /* exception summary */ |
Definition at line 28 of file status_w.h.
#define SW_Top Const__(0x3800) /* top of stack */ |
Definition at line 23 of file status_w.h.
Definition at line 24 of file status_w.h.
#define SW_Underflow Const__(0x0010) /* underflow */ |
Definition at line 31 of file status_w.h.
#define SW_Zero_Div Const__(0x0004) /* divide by zero */ |
Definition at line 33 of file status_w.h.