summaryrefslogtreecommitdiff
path: root/sysdeps/aarch64/fpu/get-rounding-mode.h
diff options
context:
space:
mode:
authorWilco <wdijkstr@arm.com>2014-06-03 08:10:39 +0000
committerMarcus Shawcroft <marcus.shawcroft@arm.com>2014-06-03 12:44:50 +0000
commit693096cc7b397a709f075865993027c14c06d3e5 (patch)
tree0d72fb3b0ff99742554584af13c22604eae3f815 /sysdeps/aarch64/fpu/get-rounding-mode.h
parent0b4366bc9bca9be8a2208455545c138bcd1e826c (diff)
downloadglibc-693096cc7b397a709f075865993027c14c06d3e5.tar.gz
[AArch64] Switch from FE_TOWARDZERO to _FPU_FPCR_RM_MASK
Diffstat (limited to 'sysdeps/aarch64/fpu/get-rounding-mode.h')
-rw-r--r--sysdeps/aarch64/fpu/get-rounding-mode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/aarch64/fpu/get-rounding-mode.h b/sysdeps/aarch64/fpu/get-rounding-mode.h
index 5c1615d04c..425b50ec5a 100644
--- a/sysdeps/aarch64/fpu/get-rounding-mode.h
+++ b/sysdeps/aarch64/fpu/get-rounding-mode.h
@@ -32,7 +32,7 @@ get_rounding_mode (void)
fpu_control_t fpcr;
_FPU_GETCW (fpcr);
- return fpcr & FE_TOWARDZERO;
+ return fpcr & _FPU_FPCR_RM_MASK;
}
#endif /* get-rounding-mode.h */