diff options
author | Paul A. Clarke <pc@us.ibm.com> | 2019-03-29 19:16:34 -0500 |
---|---|---|
committer | Paul A. Clarke <pc@us.ibm.com> | 2019-03-29 19:16:34 -0500 |
commit | 10cce66930b3dc0405106bbb62a6d44602bec118 (patch) | |
tree | c14098d79a790964bacb4ba50faa00d8f63ac00e /ChangeLog | |
parent | 225d94459b3f713e56d4a5abe79d28e33d3fd114 (diff) | |
download | glibc-10cce66930b3dc0405106bbb62a6d44602bec118.tar.gz glibc-10cce66930b3dc0405106bbb62a6d44602bec118.tar.xz glibc-10cce66930b3dc0405106bbb62a6d44602bec118.zip |
[powerpc] Use __builtin_{mffs,mtfsf}
Replace inline asm uses of the "mffs" and "mtfsf" instructions with the analogous GCC builtins. __builtin_mffs and __builtin_mtfsf are both available in GCC 5 and above. Given the minimum GCC level for GLibC is now GCC 6.2, it is safe to use these builtins without restriction. 2019-03-29 Paul A. Clarke <pc@us.ibm.com> * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline asm with builtin. * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE): Likewise. * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise. (_GET_SI_FPSCR): Likewise. (_SET_SI_FPSCR): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 19d3e9079c..60f76450e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2019-03-29 Paul A. Clarke <pc@us.ibm.com> + + * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline + asm with builtin. + * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE): + Likewise. + * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise. + (_GET_SI_FPSCR): Likewise. + (_SET_SI_FPSCR): Likewise. + 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org> * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for |