[llvm] [AMDGPU][MC] GFX9 - Support NV bit in FLAT instructions in pre-GFX90A (PR #154237)
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 19 09:55:17 PDT 2025
================
@@ -822,6 +822,19 @@ DecodeStatus AMDGPUDisassembler::getInstruction(MCInst &MI, uint64_t &Size,
}
}
+ if (MCII->get(MI.getOpcode()).TSFlags & SIInstrFlags::FLAT) {
+ if (isGFX9() && !isGFX90A()) {
+ // Pre-GFX90A GFX9's use bit 55 as NV.
+ assert(Bytes_.size() >= 8);
+ if (Bytes_[6] & 0x80) { // check bit 55
----------------
rampitec wrote:
You need a separate Real in a separate DecoderNamespace with SIEncodingFamily.GFX90A.
https://github.com/llvm/llvm-project/pull/154237
More information about the llvm-commits
mailing list