diff options
author | Paul A. Clarke <pc@us.ibm.com> | 2019-09-19 11:58:46 -0500 |
---|---|---|
committer | Paul A. Clarke <pc@us.ibm.com> | 2019-09-27 08:53:50 -0500 |
commit | 81ecb0ee4970865cbe5d1da733c4879b999c528f (patch) | |
tree | 7e74bf5638280f636a9231f0dcc9e0b427961c77 /sysdeps/powerpc/fpu/fegetmode.c | |
parent | e68b1151f7460d5fa88c3a567c13f66052da79a7 (diff) | |
download | glibc-81ecb0ee4970865cbe5d1da733c4879b999c528f.tar.gz |
[powerpc] Rename fegetenv_status to fegetenv_control
fegetenv_status is used variously to retrieve the FPSCR exception enable
bits, rounding mode bits, or both. These are referred to as the control
bits in the POWER ISA. FPSCR status bits are also returned by the
'mffs' and 'mffsl' instructions, but they are uniformly ignored by all
uses of fegetenv_status. Change the name to be reflective of its
current and expected use.
Reviewed-By: Paul E Murphy <murphyp@linux.ibm.com>
Diffstat (limited to 'sysdeps/powerpc/fpu/fegetmode.c')
-rw-r--r-- | sysdeps/powerpc/fpu/fegetmode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/powerpc/fpu/fegetmode.c b/sysdeps/powerpc/fpu/fegetmode.c index 0e0a01c708..65c5ebe56b 100644 --- a/sysdeps/powerpc/fpu/fegetmode.c +++ b/sysdeps/powerpc/fpu/fegetmode.c @@ -21,6 +21,6 @@ int fegetmode (femode_t *modep) { - *modep = fegetenv_status (); + *modep = fegetenv_control (); return 0; } |