diff options
author | liuhongt <hongtao.liu@intel.com> | 2022-03-16 15:59:57 +0800 |
---|---|---|
committer | liuhongt <hongtao.liu@intel.com> | 2022-03-16 16:50:29 +0800 |
commit | 570d5bff9af537265a3e0935140786e5fdf51de1 (patch) | |
tree | 6811fa91662d574ac6a92d0449d6145c7bec76bd /libgomp | |
parent | 088a51a0abb5497cac32055bf373fa6039b924f8 (diff) |
Don't fold __builtin_ia32_blendvpd w/o sse4.2.
__builtin_ia32_blendvpd is defined under sse4.1 and gimple folded
to ((v2di) c) < 0 ? b : a where vec_cmpv2di is under sse4.2 w/o which
it's veclowered to scalar operations and not combined back in rtl.
gcc/ChangeLog:
PR target/104946
* config/i386/i386-builtin.def (BDESC): Add
CODE_FOR_sse4_1_blendvpd for IX86_BUILTIN_BLENDVPD.
* config/i386/i386.cc (ix86_gimple_fold_builtin): Don't fold
__builtin_ia32_blendvpd w/o sse4.2
gcc/testsuite/ChangeLog:
* gcc.target/i386/sse4_1-blendvpd-1.c: New test.
Diffstat (limited to 'libgomp')
0 files changed, 0 insertions, 0 deletions