1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/MC/AMDGPU/gfx7_asm_exp.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

83 lines
2.2 KiB
ArmAsm

// RUN: llvm-mc -arch=amdgcn -mcpu=bonaire -show-encoding %s | FileCheck %s
exp mrt0 v0, v0, v0, v0
// CHECK: [0x0f,0x00,0x00,0xf8,0x00,0x00,0x00,0x00]
exp mrtz v0, v0, v0, v0
// CHECK: [0x8f,0x00,0x00,0xf8,0x00,0x00,0x00,0x00]
exp null v0, v0, v0, v0
// CHECK: [0x9f,0x00,0x00,0xf8,0x00,0x00,0x00,0x00]
exp pos0 v0, v0, v0, v0
// CHECK: [0xcf,0x00,0x00,0xf8,0x00,0x00,0x00,0x00]
exp param0 v0, v0, v0, v0
// CHECK: [0x0f,0x02,0x00,0xf8,0x00,0x00,0x00,0x00]
exp mrt0 v255, v0, v0, v0
// CHECK: [0x0f,0x00,0x00,0xf8,0xff,0x00,0x00,0x00]
exp mrt0 v0, v255, v0, v0
// CHECK: [0x0f,0x00,0x00,0xf8,0x00,0xff,0x00,0x00]
exp mrt0 v0, v0, v255, v0
// CHECK: [0x0f,0x00,0x00,0xf8,0x00,0x00,0xff,0x00]
exp mrt0 v0, v0, v0, v255
// CHECK: [0x0f,0x00,0x00,0xf8,0x00,0x00,0x00,0xff]
exp mrt0 v0, off, off, off
// CHECK: [0x01,0x00,0x00,0xf8,0x00,0x00,0x00,0x00]
exp mrt0 off, v0, off, off
// CHECK: [0x02,0x00,0x00,0xf8,0x00,0x00,0x00,0x00]
exp mrt0 v0, v0, off, off
// CHECK: [0x03,0x00,0x00,0xf8,0x00,0x00,0x00,0x00]
exp mrt0 off, off, v0, off
// CHECK: [0x04,0x00,0x00,0xf8,0x00,0x00,0x00,0x00]
exp mrt0 v0, off, v0, off
// CHECK: [0x05,0x00,0x00,0xf8,0x00,0x00,0x00,0x00]
exp mrt0 off, v0, v0, off
// CHECK: [0x06,0x00,0x00,0xf8,0x00,0x00,0x00,0x00]
exp mrt0 v0, v0, v0, off
// CHECK: [0x07,0x00,0x00,0xf8,0x00,0x00,0x00,0x00]
exp mrt0 off, off, off, v0
// CHECK: [0x08,0x00,0x00,0xf8,0x00,0x00,0x00,0x00]
exp mrt0 v0, off, off, v0
// CHECK: [0x09,0x00,0x00,0xf8,0x00,0x00,0x00,0x00]
exp mrt0 off, v0, off, v0
// CHECK: [0x0a,0x00,0x00,0xf8,0x00,0x00,0x00,0x00]
exp mrt0 v0, v0, off, v0
// CHECK: [0x0b,0x00,0x00,0xf8,0x00,0x00,0x00,0x00]
exp mrt0 off, off, v0, v0
// CHECK: [0x0c,0x00,0x00,0xf8,0x00,0x00,0x00,0x00]
exp mrt0 v0, off, v0, v0
// CHECK: [0x0d,0x00,0x00,0xf8,0x00,0x00,0x00,0x00]
exp mrt0 off, v0, v0, v0
// CHECK: [0x0e,0x00,0x00,0xf8,0x00,0x00,0x00,0x00]
exp mrt0 off, off, off, off
// CHECK: [0x00,0x00,0x00,0xf8,0x00,0x00,0x00,0x00]
exp mrt0 v0, v0, v0, v0 done
// CHECK: [0x0f,0x08,0x00,0xf8,0x00,0x00,0x00,0x00]
exp mrt0 v0, v0, v0, v0 compr
// CHECK: [0x0f,0x04,0x00,0xf8,0x00,0x00,0x00,0x00]
exp mrt0 v0, v0, v0, v0 vm
// CHECK: [0x0f,0x10,0x00,0xf8,0x00,0x00,0x00,0x00]