Skip to content

Commit 2ca8c83

Browse files
committed
[AMDGPU][CodeGen][True16][Test] add test file for gfx12 vop1 in true16/fake16 version
1 parent 41f2f1f commit 2ca8c83

8 files changed

+7113
-3
lines changed

llvm/test/MC/AMDGPU/gfx12_asm_vop3_from_vop1-fake16.s

Lines changed: 3646 additions & 0 deletions
Large diffs are not rendered by default.

llvm/test/MC/AMDGPU/gfx12_asm_vop3_from_vop1.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=+wavefrontsize32 -show-encoding %s | FileCheck --check-prefix=GFX12 %s
1+
// RUN: llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=+wavefrontsize32,+real-true16 -show-encoding %s | FileCheck --check-prefix=GFX12 %s
22

33
v_bfrev_b32_e64 v5, v1
44
// GFX12: encoding: [0x05,0x00,0xb8,0xd5,0x01,0x01,0x00,0x00]

llvm/test/MC/AMDGPU/gfx12_asm_vop3_from_vop1_dpp16-fake16.s

Lines changed: 2731 additions & 0 deletions
Large diffs are not rendered by default.

llvm/test/MC/AMDGPU/gfx12_asm_vop3_from_vop1_dpp16.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=+wavefrontsize32 -show-encoding %s | FileCheck --check-prefix=GFX12 %s
1+
// RUN: llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=+wavefrontsize32,+real-true16 -show-encoding %s | FileCheck --check-prefix=GFX12 %s
22

33
v_bfrev_b32_e64_dpp v5, v1 quad_perm:[3,2,1,0]
44
// GFX12: [0x05,0x00,0xb8,0xd5,0xfa,0x00,0x00,0x00,0x01,0x1b,0x00,0xff]

llvm/test/MC/AMDGPU/gfx12_asm_vop3_from_vop1_dpp8-fake16.s

Lines changed: 733 additions & 0 deletions
Large diffs are not rendered by default.

llvm/test/MC/AMDGPU/gfx12_asm_vop3_from_vop1_dpp8.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=+wavefrontsize32 -show-encoding %s | FileCheck --check-prefix=GFX12 %s
1+
// RUN: llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=+wavefrontsize32,+real-true16 -show-encoding %s | FileCheck --check-prefix=GFX12 %s
22

33
v_bfrev_b32_e64_dpp v5, v1 dpp8:[7,6,5,4,3,2,1,0]
44
// GFX12: [0x05,0x00,0xb8,0xd5,0xe9,0x00,0x00,0x00,0x01,0x77,0x39,0x05]

0 commit comments

Comments
 (0)