Add missing expander for vector float_extend and float_truncate.
authorliuhongt <hongtao.liu@intel.com>
Sat, 23 May 2020 07:30:58 +0000 (15:30 +0800)
committerliuhongt <hongtao.liu@intel.com>
Mon, 25 May 2020 01:57:04 +0000 (09:57 +0800)
commit94c0409717bf8bf783963c1d50bb8f4a4732dce7
tree0dd047e2699dbe97fec48d3cd2c47554044811c0
parenta7fe89194ce481aebacb4a2619e42eec243a1920
Add missing expander for vector float_extend and float_truncate.

2020-05-25  Hongtao Liu  <hongtao.liu@intel.com>

gcc/ChangeLog
PR target/95125
* config/i386/sse.md (sf2dfmode_lower): New mode attribute.
(trunc<mode><sf2dfmode_lower>2) New expander.
(extend<sf2dfmode_lower><mode>2): Ditto.

gcc/testsuite/ChangeLog
* gcc.target/i386/pr95125-avx.c: New test.
* gcc.target/i386/pr95125-avx512f.c: Ditto.
gcc/ChangeLog
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr95125-avx.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr95125-avx512f.c [new file with mode: 0644]