Fix standard name for zero/sign extend expanders
authorHongyu Wang <hongyu.wang@intel.com>
Fri, 25 Dec 2020 01:25:39 +0000 (09:25 +0800)
committerliuhongt <hongtao.liu@intel.com>
Mon, 28 Dec 2020 08:28:43 +0000 (16:28 +0800)
commit12ae2bc70846a2be8255eaa41322cd1a5a7b7350
tree0bfaa34325d508f11e80defa455bc7829cf2f48c
parentadfe99ad8faa4755d27c0f5981e72191f211ec7d
Fix standard name for zero/sign extend expanders

gcc/ChangeLog:

* config/i386/i386.md (optab): New code attr.
* config/i386/sse.md (<code>v32qiv32hi2): Rename to ...
(<optab>v32qiv32hi2) ... this.
(<code>v16qiv16hi2): Likewise.
(<code>v8qiv8hi2): Likewise.
(<code>v16qiv16si2): Likewise.
(<code>v8qiv8si2): Likewise.
(<code>v4qiv4si2): Likewise.
(<code>v16hiv16si2): Likewise.
(<code>v8hiv8si2): Likewise.
(<code>v4hiv4si2): Likewise.
(<code>v8qiv8di2): Likewise.
(<code>v4qiv4di2): Likewise.
(<code>v2qiv2di2): Likewise.
(<code>v8hiv8di2): Likewise.
(<code>v4hiv4di2): Likewise.
(<code>v2hiv2di2): Likewise.
(<code>v8siv8di2): Likewise.
(<code>v4siv4di2): Likewise.
(<code>v2siv2di2): Likewise.

gcc/testsuite/ChangeLog:

* gcc.target/i386/pr92658-avx2-2.c: New test.
* gcc.target/i386/pr92658-avx512bw-2.c: Likewise.
* gcc.target/i386/pr92658-sse4-2.c: Likewise.
gcc/config/i386/i386.md
gcc/config/i386/sse.md
gcc/testsuite/gcc.target/i386/pr92658-avx2-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr92658-avx512bw-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr92658-sse4-2.c [new file with mode: 0644]