1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/test/MC/AMDGPU/gfx9_asm_vintrp.s
Dmitry Preobrazhensky c78e6a3a7b [AMDGPU][MC][NFC] Split large asm tests into smaller chunks
The following large tests have been split into smaller parts by instruction formats:

    gfx7_asm_all.s
    gfx8_asm_all.s
    gfx9_asm_all.s
    gfx10_asm_all.s

This change results in noticeable lit testing speedup.
For example, on a debug Windows build, split asm tests are run 3.5 times faster.
2020-12-28 20:22:38 +03:00

86 lines
1.9 KiB
ArmAsm

// RUN: llvm-mc -arch=amdgcn -mcpu=gfx900 -show-encoding %s | FileCheck %s
v_interp_p1_f32 v5, v1, attr0.x
// CHECK: [0x01,0x00,0x14,0xd4]
v_interp_p1_f32 v255, v1, attr0.x
// CHECK: [0x01,0x00,0xfc,0xd7]
v_interp_p1_f32 v5, v255, attr0.x
// CHECK: [0xff,0x00,0x14,0xd4]
v_interp_p1_f32 v5, v1, attr1.x
// CHECK: [0x01,0x04,0x14,0xd4]
v_interp_p1_f32 v5, v1, attr31.x
// CHECK: [0x01,0x7c,0x14,0xd4]
v_interp_p1_f32 v5, v1, attr32.x
// CHECK: [0x01,0x80,0x14,0xd4]
v_interp_p1_f32 v5, v1, attr0.y
// CHECK: [0x01,0x01,0x14,0xd4]
v_interp_p1_f32 v5, v1, attr0.z
// CHECK: [0x01,0x02,0x14,0xd4]
v_interp_p1_f32 v5, v1, attr0.w
// CHECK: [0x01,0x03,0x14,0xd4]
v_interp_p2_f32 v5, v1, attr0.x
// CHECK: [0x01,0x00,0x15,0xd4]
v_interp_p2_f32 v255, v1, attr0.x
// CHECK: [0x01,0x00,0xfd,0xd7]
v_interp_p2_f32 v5, v255, attr0.x
// CHECK: [0xff,0x00,0x15,0xd4]
v_interp_p2_f32 v5, v1, attr1.x
// CHECK: [0x01,0x04,0x15,0xd4]
v_interp_p2_f32 v5, v1, attr31.x
// CHECK: [0x01,0x7c,0x15,0xd4]
v_interp_p2_f32 v5, v1, attr32.x
// CHECK: [0x01,0x80,0x15,0xd4]
v_interp_p2_f32 v5, v1, attr0.y
// CHECK: [0x01,0x01,0x15,0xd4]
v_interp_p2_f32 v5, v1, attr0.z
// CHECK: [0x01,0x02,0x15,0xd4]
v_interp_p2_f32 v5, v1, attr0.w
// CHECK: [0x01,0x03,0x15,0xd4]
v_interp_mov_f32 v5, p10, attr0.x
// CHECK: [0x00,0x00,0x16,0xd4]
v_interp_mov_f32 v255, p10, attr0.x
// CHECK: [0x00,0x00,0xfe,0xd7]
v_interp_mov_f32 v5, p20, attr0.x
// CHECK: [0x01,0x00,0x16,0xd4]
v_interp_mov_f32 v5, p0, attr0.x
// CHECK: [0x02,0x00,0x16,0xd4]
v_interp_mov_f32 v5, p10, attr1.x
// CHECK: [0x00,0x04,0x16,0xd4]
v_interp_mov_f32 v5, p10, attr31.x
// CHECK: [0x00,0x7c,0x16,0xd4]
v_interp_mov_f32 v5, p10, attr32.x
// CHECK: [0x00,0x80,0x16,0xd4]
v_interp_mov_f32 v5, p10, attr0.y
// CHECK: [0x00,0x01,0x16,0xd4]
v_interp_mov_f32 v5, p10, attr0.z
// CHECK: [0x00,0x02,0x16,0xd4]
v_interp_mov_f32 v5, p10, attr0.w
// CHECK: [0x00,0x03,0x16,0xd4]