]> git.ipfire.org Git - thirdparty/gcc.git/commit
amdgcn: gather/scatter with DImode offsets
authorAndrew Stubbs <ams@codesourcery.com>
Mon, 6 Mar 2023 12:42:44 +0000 (12:42 +0000)
committerAndrew Stubbs <ams@codesourcery.com>
Fri, 17 Mar 2023 13:03:01 +0000 (13:03 +0000)
commit47cfa2d657edb9eddc8836059f02d81cbebad2e5
treea27093980ed49904cc33e92df306c0d0d2f0ed64
parent61453f32d28c60bb0f996a6d60b2fdc52e67c093
amdgcn: gather/scatter with DImode offsets

The GPU architecture requires SImode offsets on gather/scatter instructions,
but they can also take a vector of absolute addresses, so this allows
gather/scatter in more situations.

gcc/ChangeLog:

* config/gcn/gcn-valu.md (gather_load<mode><vndi>): New.
(scatter_store<mode><vndi>): New.
(mask_gather_load<mode><vndi>): New.
(mask_scatter_store<mode><vndi>): New.
gcc/ChangeLog.omp
gcc/config/gcn/gcn-valu.md