amdgcn: TImode shifts
authorAndrew Stubbs <ams@codesourcery.com>
Fri, 31 Jul 2020 10:27:24 +0000 (11:27 +0100)
committerAndrew Stubbs <ams@codesourcery.com>
Tue, 4 Aug 2020 14:45:22 +0000 (15:45 +0100)
commit19fad46721af338b24aff48127ae654673bffa7b
treeeb86e68fa4014f08e0a04d800877d3898a9e6b25
parent843710c037c1396dcdbc23e5b6b456b8ae6e2b8b
amdgcn: TImode shifts

Implement TImode shifts in the backend.

The middle-end support that does it for other architectures doesn't work for
GCN because BITS_PER_WORD==32, meaning that TImode is quad-word, not
double-word.

gcc/ChangeLog:

* config/gcn/gcn.md ("<expander>ti3"): New.
gcc/config/gcn/gcn.md