[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / AMDGPU / gfx950_asm_features.s
blob405d152c93d8677865bae447ca9a3d7c9e823fbf
1 // RUN: llvm-mc -triple=amdgcn -mcpu=gfx950 -show-encoding %s | FileCheck --check-prefix=GFX950 --strict-whitespace %s
2 // xUN: not llvm-mc -triple=amdgcn -mcpu=gfx940 %s 2>&1 | FileCheck --check-prefixes=NOT-GFX950,GFX940 --implicit-check-not=error: %s
3 // xUN: not llvm-mc -triple=amdgcn -mcpu=gfx90a %s 2>&1 | FileCheck --check-prefixes=NOT-GFX950,GFX90A --implicit-check-not=error: %s
4 // xUN: not llvm-mc -triple=amdgcn -mcpu=gfx1010 %s 2>&1 | FileCheck --check-prefixes=NOT-GFX950,GFX10 --implicit-check-not=error: %s
6 // NOT-GFX950: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
7 // GFX950: global_load_lds_dwordx3 v[2:3], off ; encoding: [0x00,0x80,0xf8,0xdd,0x02,0x00,0x7f,0x00]
9 global_load_lds_dwordx3 v[2:3], off
11 // NOT-GFX950: :[[@LINE+2]]:{{[0-9]+}}: error:
12 // GFX950: global_load_lds_dwordx3 v[2:3], off sc0 nt sc1 ; encoding: [0x00,0x80,0xfb,0xdf,0x02,0x00,0x7f,0x00]
13 global_load_lds_dwordx3 v[2:3], off sc0 nt sc1
15 // NOT-GFX950: :[[@LINE+2]]:{{[0-9]+}}: error:
16 // GFX950: global_load_lds_dwordx3 v[2:3], off offset:4 ; encoding: [0x04,0x80,0xf8,0xdd,0x02,0x00,0x7f,0x00]
17 global_load_lds_dwordx3 v[2:3], off offset:4
19 // NOT-GFX950: :[[@LINE+2]]:{{[0-9]+}}: error:
20 // GFX950: global_load_lds_dwordx3 v2, s[4:5] offset:4 ; encoding: [0x04,0x80,0xf8,0xdd,0x02,0x00,0x04,0x00]
21 global_load_lds_dwordx3 v2, s[4:5] offset:4
23 // NOT-GFX950: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
24 // GFX950: global_load_lds_dwordx4 v[2:3], off ; encoding: [0x00,0x80,0xf4,0xdd,0x02,0x00,0x7f,0x00]
25 global_load_lds_dwordx4 v[2:3], off
27 // NOT-GFX950: :[[@LINE+2]]:{{[0-9]+}}: error:
28 // GFX950: global_load_lds_dwordx4 v[2:3], off sc0 nt sc1 ; encoding: [0x00,0x80,0xf7,0xdf,0x02,0x00,0x7f,0x00]
29 global_load_lds_dwordx4 v[2:3], off sc0 nt sc1
31 // NOT-GFX950: :[[@LINE+2]]:{{[0-9]+}}: error:
32 // GFX950: global_load_lds_dwordx4 v[2:3], off offset:4 ; encoding: [0x04,0x80,0xf4,0xdd,0x02,0x00,0x7f,0x00]
33 global_load_lds_dwordx4 v[2:3], off offset:4
35 // NOT-GFX950: :[[@LINE+2]]:{{[0-9]+}}: error:
36 // GFX950: global_load_lds_dwordx4 v2, s[4:5] offset:4 ; encoding: [0x04,0x80,0xf4,0xdd,0x02,0x00,0x04,0x00]
37 global_load_lds_dwordx4 v2, s[4:5] offset:4