Add extract_last for amdgcn
authorAndrew Stubbs <ams@codesourcery.com>
Tue, 17 Dec 2019 13:01:25 +0000 (13:01 +0000)
committerAndrew Stubbs <ams@gcc.gnu.org>
Tue, 17 Dec 2019 13:01:25 +0000 (13:01 +0000)
commitb92d1124e15db0186e616a7c9d4f8e69d92aa015
treee863707a1535bfa874993ad59c5366457b352f4f
parent34bac26458e59295541a7f485def72721a8981ef
Add extract_last for amdgcn

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

gcc/
* config/gcn/gcn-valu.md (extract_last_<mode>): New expander.
(fold_extract_last_<mode>): New expander.

gcc/testsuite/
* lib/target-supports.exp
(check_effective_target_vect_fold_extract_last): Add amdgcn.

From-SVN: r279459
gcc/ChangeLog
gcc/config/gcn/gcn-valu.md
gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp