[llvm] [AMDGPU][True16][MC] 16bit vsrc and vdst support in MC (PR #104510)

Joe Nash via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 3 12:02:02 PDT 2024


================
@@ -531,10 +531,10 @@ v_cvt_f16_u16_e64 v5, src_scc mul:4
 v_cvt_f16_u16_e64 v255, 0xfe0b clamp div:2
 // GFX11: encoding: [0xff,0x80,0xd0,0xd5,0xff,0x00,0x00,0x18,0x0b,0xfe,0x00,0x00]
 
-v_cvt_f32_f16_e64 v5, v1
+v_cvt_f32_f16_e64 v5, v1.l
 // GFX11: encoding: [0x05,0x00,0x8b,0xd5,0x01,0x01,0x00,0x00]
 
-v_cvt_f32_f16_e64 v5, v255
+v_cvt_f32_f16_e64 v5, v255.l
 // GFX11: encoding: [0x05,0x00,0x8b,0xd5,0xff,0x01,0x00,0x00]
 
----------------
Sisyph wrote:

Looks like there should be tests of .h registers in this file? 

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


More information about the llvm-commits mailing list