Fix typo in <code>v1ti3.
authorliuhongt <hongtao.liu@intel.com>
Wed, 23 Feb 2022 06:32:29 +0000 (14:32 +0800)
committerliuhongt <hongtao.liu@intel.com>
Thu, 24 Feb 2022 01:05:10 +0000 (09:05 +0800)
commitffb2c67170768d5aa2d84a143405da658930e9b0
treeac97b35b7c351a4bd513ac1e7a196ddee20d0e57
parent4bf3bac15145c71d01152a06052f3b4603b26163
Fix typo in <code>v1ti3.

For evex encoding vp{xor,or,and}, suffix is needed.

Or there would be an error for
vpxor %xmm0, %xmm31, %xmm1

Error: unsupported instruction `vpxor'

gcc/ChangeLog:

* config/i386/sse.md (<code>v1ti3): Add suffix and replace
isa attr of alternative 2 from avx to avx512vl.

gcc/testsuite/ChangeLog:

* gcc.target/i386/avx512vl-logicsuffix-1.c: New test.
gcc/config/i386/sse.md
gcc/testsuite/gcc.target/i386/avx512vl-logicsuffix-1.c [new file with mode: 0644]