]> git.ipfire.org Git - thirdparty/gcc.git/commit
amdgcn: Allow V64DFmode min/max reductions
authorAndrew Stubbs <ams@codesourcery.com>
Mon, 9 Nov 2020 17:42:34 +0000 (17:42 +0000)
committerAndrew Stubbs <ams@codesourcery.com>
Tue, 26 Jan 2021 11:29:51 +0000 (11:29 +0000)
commitf8fd4ad642bfc1be25bdfead85ae06e0a75fcea1
tree2e99748467e6ecdbb90d9f1e53adadafa846c069
parentffd581af1d2228bc7c5f5f84e1b6fe42e49cdda2
amdgcn: Allow V64DFmode min/max reductions

I don't know why these were disabled. There're no direct min/max DPP
instructions for this mode, but the "use moves" strategy works fine.

gcc/ChangeLog:

* config/gcn/gcn.c (gcn_expand_reduc_scalar): Use move instructions
for V64DFmode min/max reductions.

Backport from d9f50366102a8ca3521e4854f7716bd013c8ea0a.
gcc/config/gcn/gcn.c