[llvm] [AMDGPU][True16][MC] true16 for more VOP1 instructions (PR #108412)
Joe Nash via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 16 08:09:33 PDT 2024
================
@@ -2157,50 +2157,50 @@ v_fract_f64_e64 v[5:6], -|src_scc| mul:4
v_fract_f64_e64 v[254:255], 0xaf123456 clamp div:2
// GFX11: encoding: [0xfe,0x80,0xbe,0xd5,0xff,0x00,0x00,0x18,0x56,0x34,0x12,0xaf]
-v_frexp_exp_i16_f16_e64 v5, v1
-// GFX11: encoding: [0x05,0x00,0xda,0xd5,0x01,0x01,0x00,0x00]
+v_frexp_exp_i16_f16_e64 v5.l, v1.l
+// GFX11: [0x05,0x00,0xda,0xd5,0x01,0x01,0x00,0x00]
-v_frexp_exp_i16_f16_e64 v5, v255
-// GFX11: encoding: [0x05,0x00,0xda,0xd5,0xff,0x01,0x00,0x00]
+v_frexp_exp_i16_f16_e64 v5.l, v255.l
+// GFX11: [0x05,0x00,0xda,0xd5,0xff,0x01,0x00,0x00]
-v_frexp_exp_i16_f16_e64 v5, s1
-// GFX11: encoding: [0x05,0x00,0xda,0xd5,0x01,0x00,0x00,0x00]
+v_frexp_exp_i16_f16_e64 v5.l, s1
+// GFX11: [0x05,0x00,0xda,0xd5,0x01,0x00,0x00,0x00]
-v_frexp_exp_i16_f16_e64 v5, s105
-// GFX11: encoding: [0x05,0x00,0xda,0xd5,0x69,0x00,0x00,0x00]
+v_frexp_exp_i16_f16_e64 v5.l, s105
+// GFX11: [0x05,0x00,0xda,0xd5,0x69,0x00,0x00,0x00]
-v_frexp_exp_i16_f16_e64 v5, vcc_lo
-// GFX11: encoding: [0x05,0x00,0xda,0xd5,0x6a,0x00,0x00,0x00]
+v_frexp_exp_i16_f16_e64 v5.l, vcc_lo
+// GFX11: [0x05,0x00,0xda,0xd5,0x6a,0x00,0x00,0x00]
-v_frexp_exp_i16_f16_e64 v5, vcc_hi
-// GFX11: encoding: [0x05,0x00,0xda,0xd5,0x6b,0x00,0x00,0x00]
+v_frexp_exp_i16_f16_e64 v5.l, vcc_hi
+// GFX11: [0x05,0x00,0xda,0xd5,0x6b,0x00,0x00,0x00]
-v_frexp_exp_i16_f16_e64 v5, ttmp15
-// GFX11: encoding: [0x05,0x00,0xda,0xd5,0x7b,0x00,0x00,0x00]
+v_frexp_exp_i16_f16_e64 v5.l, ttmp15
+// GFX11: [0x05,0x00,0xda,0xd5,0x7b,0x00,0x00,0x00]
-v_frexp_exp_i16_f16_e64 v5, m0
-// GFX11: encoding: [0x05,0x00,0xda,0xd5,0x7d,0x00,0x00,0x00]
+v_frexp_exp_i16_f16_e64 v5.l, m0
+// GFX11: [0x05,0x00,0xda,0xd5,0x7d,0x00,0x00,0x00]
-v_frexp_exp_i16_f16_e64 v5, exec_lo
-// GFX11: encoding: [0x05,0x00,0xda,0xd5,0x7e,0x00,0x00,0x00]
+v_frexp_exp_i16_f16_e64 v5.l, exec_lo
+// GFX11: [0x05,0x00,0xda,0xd5,0x7e,0x00,0x00,0x00]
-v_frexp_exp_i16_f16_e64 v5, exec_hi
-// GFX11: encoding: [0x05,0x00,0xda,0xd5,0x7f,0x00,0x00,0x00]
+v_frexp_exp_i16_f16_e64 v5.l, exec_hi
+// GFX11: [0x05,0x00,0xda,0xd5,0x7f,0x00,0x00,0x00]
-v_frexp_exp_i16_f16_e64 v5, null
-// GFX11: encoding: [0x05,0x00,0xda,0xd5,0x7c,0x00,0x00,0x00]
+v_frexp_exp_i16_f16_e64 v5.l, null
+// GFX11: [0x05,0x00,0xda,0xd5,0x7c,0x00,0x00,0x00]
-v_frexp_exp_i16_f16_e64 v5, -1
-// GFX11: encoding: [0x05,0x00,0xda,0xd5,0xc1,0x00,0x00,0x00]
+v_frexp_exp_i16_f16_e64 v5.l, -1
+// GFX11: [0x05,0x00,0xda,0xd5,0xc1,0x00,0x00,0x00]
-v_frexp_exp_i16_f16_e64 v5, 0.5
-// GFX11: encoding: [0x05,0x00,0xda,0xd5,0xf0,0x00,0x00,0x00]
+v_frexp_exp_i16_f16_e64 v5.l, 0.5
+// GFX11: [0x05,0x00,0xda,0xd5,0xf0,0x00,0x00,0x00]
-v_frexp_exp_i16_f16_e64 v5, src_scc
-// GFX11: encoding: [0x05,0x00,0xda,0xd5,0xfd,0x00,0x00,0x00]
+v_frexp_exp_i16_f16_e64 v5.l, src_scc
+// GFX11: [0x05,0x00,0xda,0xd5,0xfd,0x00,0x00,0x00]
-v_frexp_exp_i16_f16_e64 v255, -|0xfe0b|
-// GFX11: encoding: [0xff,0x01,0xda,0xd5,0xff,0x00,0x00,0x20,0x0b,0xfe,0x00,0x00]
+v_frexp_exp_i16_f16_e64 v255.l, -|0xfe0b|
+// GFX11: [0xff,0x01,0xda,0xd5,0xff,0x00,0x00,0x20,0x0b,0xfe,0x00,0x00]
----------------
Sisyph wrote:
This file needs hi tests
https://github.com/llvm/llvm-project/pull/108412
More information about the llvm-commits
mailing list