]> git.ipfire.org Git - people/ms/gcc.git/commit
amdgcn: Add vec_extract for partial vectors
authorAndrew Stubbs <ams@codesourcery.com>
Mon, 29 Jun 2020 14:20:09 +0000 (15:20 +0100)
committerAndrew Stubbs <ams@codesourcery.com>
Tue, 11 Oct 2022 10:45:38 +0000 (11:45 +0100)
commit5cfe08555034b29f301dcfb99a3691c81b2e2def
treeb9e654f7c58702276a1ba1d159aec08f8726dad0
parent0d8753cf30486c4e7fb07455b7cae49aa812c6a4
amdgcn: Add vec_extract for partial vectors

Add vec_extract expanders for all valid pairs of vector types.

gcc/ChangeLog:

* config/gcn/gcn-protos.h (get_exec): Add prototypes for two variants.
* config/gcn/gcn-valu.md
(vec_extract<V_ALL:mode><V_ALL_ALT:mode>): New define_expand.
* config/gcn/gcn.cc (get_exec): Export the existing function. Add a
new overload variant.
gcc/config/gcn/gcn-protos.h
gcc/config/gcn/gcn-valu.md
gcc/config/gcn/gcn.cc