]> git.ipfire.org Git - thirdparty/gcc.git/commit
amdgcn: Add fold_left_plus vector reductions
authorAndrew Stubbs <ams@codesourcery.com>
Mon, 10 Feb 2020 13:23:29 +0000 (13:23 +0000)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 16:15:59 +0000 (13:15 -0300)
commit8be87bb1600d2d8b01ff5ca5bce3d284b70236a8
treee72e48c58b82cf4e9e8b70f4000138d1bed5c60f
parentd24f8b6e189f9af6f567678a8f032eb841b8d8c2
amdgcn: Add fold_left_plus vector reductions

These aren't real in-order instructions, because the ISA can't do that
quickly, but a means to allow regular out-of-order reductions when that's
good enough, but the middle-end doesn't know so.

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