Allow constants in amdgcn extends and truncates
authorAndrew Stubbs <ams@codesourcery.com>
Thu, 19 Dec 2019 17:00:54 +0000 (17:00 +0000)
committerAndrew Stubbs <ams@gcc.gnu.org>
Thu, 19 Dec 2019 17:00:54 +0000 (17:00 +0000)
commit82975c743eac89c9593bfe68946b083949c27fb1
treee90d4ea7b9cbd246ad107bf4b56e3b9374537154
parent3a4d2bbc39e75feaf941a636f3de5057f3644380
Allow constants in amdgcn extends and truncates

2019-12-19  Andrew Stubbs  <ams@codesourcery.com>

gcc/
* config/gcn/gcn-valu.md
(<convop><VEC_ALL1REG_INT_ALT:mode><VEC_ALL1REG_INT_MODE:mode>2<exec>):
Change input predcate to gcn_alu_operand.
(extend<VEC_ALL1REG_INT_ALT:mode><VEC_ALL1REG_INT_MODE:mode>2<exec>):
Likewise.
(truncv64di<mode>2): Likewise.
(truncv64di<mode>2_exec): Likewise.
(<convop><mode>v64di2): Likewise.
(<convop><mode>v64di2_exec): Likewise.

From-SVN: r279587
gcc/ChangeLog
gcc/config/gcn/gcn-valu.md