diff options
author | Haochen Gui <guihaoc@gcc.gnu.org> | 2021-11-02 14:09:32 +0800 |
---|---|---|
committer | Haochen Gui <guihaoc@gcc.gnu.org> | 2021-11-08 10:48:49 +0800 |
commit | 14e355df30534b1d07018e2934948a09fa5a8e52 (patch) | |
tree | 264a260b32fe61e68d12d63ba485af0c61485d34 /gcc/tree-vectorizer.h | |
parent | ae1de0bf72fca92f94a7e29f51ce4448b877db4a (diff) | |
download | gcc-14e355df30534b1d07018e2934948a09fa5a8e52.zip gcc-14e355df30534b1d07018e2934948a09fa5a8e52.tar.gz gcc-14e355df30534b1d07018e2934948a09fa5a8e52.tar.bz2 |
Disables gimple folding for VSX_BUILTIN_XVMINDP, VSX_BUILTIN_XVMAXDP,ALTIVEC_BUILTIN_VMINFP and ALTIVEC_BUILTIN_VMAXFP when fast-math is not set.
gcc/
* config/rs6000/rs6000-call.c (rs6000_gimple_fold_builtin): Disable
gimple fold for VSX_BUILTIN_XVMINDP, ALTIVEC_BUILTIN_VMINFP,
VSX_BUILTIN_XVMAXDP, ALTIVEC_BUILTIN_VMAXFP when fast-math is not
set.
gcc/testsuite/
* gcc.target/powerpc/vec-minmax-1.c: New test.
* gcc.target/powerpc/vec-minmax-2.c: Likewise.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions