In the GFX11 VINTERP encoding bits 23, 59 and 60 are unused. Change the
disassembler to ignore these bits.
Details
Details
- Reviewers
dp rampitec piotr Joe_Nash - Group Reviewers
Restricted Project - Commits
- rGb1883aaecb41: [AMDGPU] Ignore unused bits in VINTERP encoding
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
We are not consistent about handling "unused" bits. I'm not even sure what to call them - in the SP3 encoding tables they are just greyed out. But I think the correct behaviour is for the assembler to set them to 0, and the disassembler to ignore them. This is what SP3 seems to do.
Comment Actions
LGTM.
llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vinterp.txt | ||
---|---|---|
6 | Maybe add a comment describing the purpose of the test? |
Maybe add a comment describing the purpose of the test?