Limit LDS usage.
authorAndrew Stubbs <ams@codesourcery.com>
Fri, 22 Nov 2019 16:43:46 +0000 (16:43 +0000)
committerAndrew Stubbs <ams@gcc.gnu.org>
Fri, 22 Nov 2019 16:43:46 +0000 (16:43 +0000)
commit86b0eb81837f4912d3f10bcfad35086cc54a1841
treed2a9341b5406cfed636e4526e22d88506408cef7
parentd2f8402a0886db2b2d33ed09e51cf27cc85db5e4
Limit LDS usage.

2019-11-22  Andrew Stubbs  <ams@codesourcery.com>

gcc/
* config/gcn/gcn.c (OMP_LDS_SIZE): Define.
(ACC_LDS_SIZE): Define.
(OTHER_LDS_SIZE): Define.
(LDS_SIZE): Redefine using above.
(gcn_expand_prologue): Initialize m0 with LDS_SIZE-1.

From-SVN: r278622
gcc/ChangeLog
gcc/config/gcn/gcn.c