diff options
Diffstat (limited to 'sim/mips/cp1.h')
-rw-r--r-- | sim/mips/cp1.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/mips/cp1.h b/sim/mips/cp1.h index 96c51a7..d6d8a88 100644 --- a/sim/mips/cp1.h +++ b/sim/mips/cp1.h @@ -40,6 +40,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #define fcsr_RM_mask (0x00000003) #define fcsr_RM_shift (0) +/* FCSR bits for IEEE754-2008 compliance. */ +#define fcsr_NAN2008_mask (0x00040000) +#define fcsr_NAN2008_shift (18) + #define fenr_FS (0x00000004) /* Macros to update and retrieve the FCSR condition-code bits. This |