aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop.cc
diff options
context:
space:
mode:
authorAndrew Stubbs <ams@codesourcery.com>2024-01-03 16:18:43 +0000
committerAndrew Stubbs <ams@codesourcery.com>2024-01-08 09:57:09 +0000
commitc5c3aab38132ea34dc1ee69d93fded787e6ac7a4 (patch)
tree1aa6ace919a27d86fa86426c0d78b1b454264a05 /gcc/tree-vect-loop.cc
parent4d31d6606201b339825c370c2e1969b2dcd17f39 (diff)
downloadgcc-c5c3aab38132ea34dc1ee69d93fded787e6ac7a4.zip
gcc-c5c3aab38132ea34dc1ee69d93fded787e6ac7a4.tar.gz
gcc-c5c3aab38132ea34dc1ee69d93fded787e6ac7a4.tar.bz2
amdgcn: Don't double-count AVGPRs
CDNA2 devices have VGPRs and AVGPRs combined into a single hardware register file (they're seperate in CDNA1). I originally thought they were counted separately in the vgpr_count and agpr_count metadata fields, and therefore mkoffload had to account for this when passing the values to libgomp. However, that wasn't the case, and this code should have been removed when I corrected the calculations in gcn.cc. Fixing the error now. gcc/ChangeLog: * config/gcn/mkoffload.cc (isa_has_combined_avgprs): Delete. (process_asm): Don't count avgprs.
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions