diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-03-15 10:21:08 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-03-15 10:21:21 -0700 |
commit | 9d74caf21be7025db8fef997e87ebf3b85acaf4a (patch) | |
tree | 1fef25e9025be3a2f1951bbdcca02b59ebf53494 /gcc/tree-loop-distribution.c | |
parent | ced66da313526c3481ceb57ea1becca7b712444b (diff) | |
download | gcc-9d74caf21be7025db8fef997e87ebf3b85acaf4a.zip gcc-9d74caf21be7025db8fef997e87ebf3b85acaf4a.tar.gz gcc-9d74caf21be7025db8fef997e87ebf3b85acaf4a.tar.bz2 |
i386: Use ix86_output_ssemov for SFmode TYPE_SSEMOV
There is no need to set mode attribute to V16SFmode since ix86_output_ssemov
can properly encode xmm16-xmm31 registers with and without AVX512VL.
gcc/
PR target/89229
* config/i386/i386.c (ix86_output_ssemov): Handle MODE_SI and
MODE_SF.
* config/i386/i386.md (*movsf_internal): Call ix86_output_ssemov
for TYPE_SSEMOV. Remove TARGET_PREFER_AVX256, TARGET_AVX512VL
and ext_sse_reg_operand check.
gcc/testsuite/
PR target/89229
* gcc.target/i386/pr89229-6a.c: New test.
* gcc.target/i386/pr89229-6b.c: Likewise.
* gcc.target/i386/pr89229-6c.c: Likewise.
Diffstat (limited to 'gcc/tree-loop-distribution.c')
0 files changed, 0 insertions, 0 deletions