[llvm] [AMDGPU][GFX12] VOP encoding and codegen - add support for v_cvt fp8/… (PR #78414)

Ivan Kosarev via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 18 01:19:08 PST 2024


================
@@ -522,6 +522,15 @@ DecodeStatus AMDGPUDisassembler::getInstruction(MCInst &MI, uint64_t &Size,
           convertVOPCDPPInst(MI); // Special VOP3 case
         } else {
           assert(MCII->get(MI.getOpcode()).TSFlags & SIInstrFlags::VOP3);
+
+          if (AMDGPU::isVOP1Cvt_F32_Fp8_Bf8_e64(MI.getOpcode())) {
----------------
kosarev wrote:

So these are not really VOP1 instructions? Should this code be part of `convertVOP3DPPInst()` then?

https://github.com/llvm/llvm-project/pull/78414


More information about the llvm-commits mailing list