diff options
author | Steve Ellcey <sellcey@mips.com> | 2013-09-23 09:34:15 -0700 |
---|---|---|
committer | Steve Ellcey <sellcey@mips.com> | 2013-09-23 09:34:15 -0700 |
commit | 5b04bb073cb6e6396c53a281bc333a6094208d33 (patch) | |
tree | ba8991703e815adadf469cba304886f3ab5ded2f /ports | |
parent | 2487f2e6a565f5670feda65b8a1a6ac930ad36f1 (diff) | |
download | glibc-5b04bb073cb6e6396c53a281bc333a6094208d33.zip glibc-5b04bb073cb6e6396c53a281bc333a6094208d33.tar.gz glibc-5b04bb073cb6e6396c53a281bc333a6094208d33.tar.bz2 |
2013-09-19 Steve Ellcey <sellcey@mips.com>
* sysdeps/mips/fpu_control.h (_FPU_RC_MASK): New.
Diffstat (limited to 'ports')
-rw-r--r-- | ports/ChangeLog.mips | 4 | ||||
-rw-r--r-- | ports/sysdeps/mips/fpu_control.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips index c958f29..257a68c 100644 --- a/ports/ChangeLog.mips +++ b/ports/ChangeLog.mips @@ -1,5 +1,9 @@ 2013-09-23 Steve Ellcey <sellcey@mips.com> + * sysdeps/mips/fpu_control.h (_FPU_RC_MASK): New. + +2013-09-23 Steve Ellcey <sellcey@mips.com> + * sysdeps/mips/fpu_control.h (comments): Add capitalization and periods to match GNU standard. diff --git a/ports/sysdeps/mips/fpu_control.h b/ports/sysdeps/mips/fpu_control.h index a318ade..ee77415 100644 --- a/ports/sysdeps/mips/fpu_control.h +++ b/ports/sysdeps/mips/fpu_control.h @@ -90,6 +90,8 @@ extern fpu_control_t __fpu_control; #define _FPU_RC_ZERO 0x1 #define _FPU_RC_UP 0x2 #define _FPU_RC_DOWN 0x3 +/* Mask for rounding control. */ +#define _FPU_RC_MASK 0x3 #define _FPU_RESERVED 0xfe840000 /* Reserved bits in cw, incl NAN2008. */ |