aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-threadbackward.c
diff options
context:
space:
mode:
authorHongyu Wang <hongyu.wang@intel.com>2021-10-20 13:13:39 +0800
committerHongyu Wang <hongyu.wang@intel.com>2021-10-21 16:58:28 +0800
commitc8a889fc0e115d40a2d02f32842655f3eadc8fa1 (patch)
tree62e67f55a69fc6a37faeee49a9fbf4759ad44409 /gcc/tree-ssa-threadbackward.c
parentf5ef4da3ccdfbedb44cb21205527cfdbbec95cbd (diff)
downloadgcc-c8a889fc0e115d40a2d02f32842655f3eadc8fa1.zip
gcc-c8a889fc0e115d40a2d02f32842655f3eadc8fa1.tar.gz
gcc-c8a889fc0e115d40a2d02f32842655f3eadc8fa1.tar.bz2
i386: Fix wrong codegen for V8HF move without TARGET_AVX512F
Since _Float16 type is enabled under sse2 target, returning V8HFmode vector without AVX512F target would generate wrong vmovdqa64 instruction. Adjust ix86_get_ssemov to avoid this. gcc/ChangeLog: PR target/102812 * config/i386/i386.c (ix86_get_ssemov): Adjust HFmode vector move to use the same logic as HImode. gcc/testsuite/ChangeLog: PR target/102812 * gcc.target/i386/pr102812.c: New test.
Diffstat (limited to 'gcc/tree-ssa-threadbackward.c')
0 files changed, 0 insertions, 0 deletions