aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/fpu/feenablxcpt.c
diff options
context:
space:
mode:
authorPaul A. Clarke <pc@us.ibm.com>2019-09-19 14:04:45 -0500
committerPaul A. Clarke <pc@us.ibm.com>2019-09-27 11:03:25 -0500
commitd7a568af5546e0313abbc04060c8e9b0d3f750b4 (patch)
tree80878e5e076ca9ae78089ee80b321c1d057e3f80 /sysdeps/powerpc/fpu/feenablxcpt.c
parent36c17c7079a5243a890ba43affff326a041775a9 (diff)
downloadglibc-d7a568af5546e0313abbc04060c8e9b0d3f750b4.zip
glibc-d7a568af5546e0313abbc04060c8e9b0d3f750b4.tar.gz
glibc-d7a568af5546e0313abbc04060c8e9b0d3f750b4.tar.bz2
[powerpc] Rename fesetenv_mode to fesetenv_control
fesetenv_mode is used variously to write the FPSCR exception enable bits and rounding mode bits. These are referred to as the control bits in the POWER ISA. Change the name to be reflective of its current and expected use, and match up well with fegetenv_control.
Diffstat (limited to 'sysdeps/powerpc/fpu/feenablxcpt.c')
-rw-r--r--sysdeps/powerpc/fpu/feenablxcpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/powerpc/fpu/feenablxcpt.c b/sysdeps/powerpc/fpu/feenablxcpt.c
index 43f6482..141cfb4 100644
--- a/sysdeps/powerpc/fpu/feenablxcpt.c
+++ b/sysdeps/powerpc/fpu/feenablxcpt.c
@@ -41,7 +41,7 @@ feenableexcept (int excepts)
fe.l |= new;
if (fe.l != curr.l)
- fesetenv_mode (fe.fenv);
+ fesetenv_control (fe.fenv);
__TEST_AND_EXIT_NON_STOP (0ULL, fe.l);