Update *_TMPRING_SIZE.WAVESIZE for GFX11
authorJay Foad <jay.foad@amd.com>
Tue, 5 Apr 2022 12:38:57 +0000 (13:38 +0100)
committerJoe Nash <Joseph.Nash@amd.com>
Fri, 10 Jun 2022 17:24:00 +0000 (13:24 -0400)
commitff85d61a6e1844067afc6f82962cc1c81cd30606
treeb4ea0fec7d00567e9b877ef8015734636aac1867
parented0288f7c4a5b3bf486803a11a71cbff35aa0111
Update *_TMPRING_SIZE.WAVESIZE for GFX11

The encoding of COMPUTE_TMPRING_SIZE.WAVESIZE and
SPI_TMPRING_SIZE.WAVESIZE has changed in GFX11: it is now in units
of 64 dwords instead of 256 dwords, and the field has been widened
from 13 bits to 15 bits.

Depends on D126989

Reviewed By: rampitec, arsenm, #amdgpu

Differential Revision: https://reviews.llvm.org/D127248
llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
llvm/lib/Target/AMDGPU/GCNSubtarget.h
llvm/lib/Target/AMDGPU/SIDefines.h
llvm/test/CodeGen/AMDGPU/mesa3d.ll