annotate test/MC/AMDGPU/smrd.s @ 122:36195a0db682

merging ( incomplete )
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 17 Nov 2017 20:32:31 +0900
parents 803732b1fca8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 // RUN: not llvm-mc -arch=amdgcn -show-encoding %s | FileCheck --check-prefix=GCN --check-prefix=SI %s
121
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
2 // RUN: not llvm-mc -arch=amdgcn -mcpu=tahiti -show-encoding %s | FileCheck --check-prefix=GCN --check-prefix=SI %s
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 // RUN: llvm-mc -arch=amdgcn -mcpu=bonaire -show-encoding %s | FileCheck --check-prefix=GCN --check-prefix=CI %s
120
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
4 // RUN: not llvm-mc -arch=amdgcn -mcpu=fiji -show-encoding %s | FileCheck --check-prefix=VI %s
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 // RUN: not llvm-mc -arch=amdgcn %s 2>&1 | FileCheck %s --check-prefix=NOSI
121
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
7 // RUN: not llvm-mc -arch=amdgcn -mcpu=tahiti %s 2>&1 | FileCheck %s --check-prefix=NOSI
120
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
8 // RUN: not llvm-mc -arch=amdgcn -mcpu=fiji %s 2>&1 | FileCheck %s --check-prefix=NOVI
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
9
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 //===----------------------------------------------------------------------===//
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 // Offset Handling
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 //===----------------------------------------------------------------------===//
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 s_load_dword s1, s[2:3], 0xfc
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 // GCN: s_load_dword s1, s[2:3], 0xfc ; encoding: [0xfc,0x83,0x00,0xc0]
120
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
16 // VI: s_load_dword s1, s[2:3], 0xfc ; encoding: [0x41,0x00,0x02,0xc0,0xfc,0x00,0x00,0x00]
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
17
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 s_load_dword s1, s[2:3], 0xff
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 // GCN: s_load_dword s1, s[2:3], 0xff ; encoding: [0xff,0x83,0x00,0xc0]
120
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
20 // VI: s_load_dword s1, s[2:3], 0xff ; encoding: [0x41,0x00,0x02,0xc0,0xff,0x00,0x00,0x00]
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
21
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 s_load_dword s1, s[2:3], 0x100
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
23 // NOSI: error: instruction not supported on this GPU
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
24 // CI: s_load_dword s1, s[2:3], 0x100 ; encoding: [0xff,0x82,0x00,0xc0,0x00,0x01,0x00,0x00]
120
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
25 // VI: s_load_dword s1, s[2:3], 0x100 ; encoding: [0x41,0x00,0x02,0xc0,0x00,0x01,0x00,0x00]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
26
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
27 s_load_dword s1, s[2:3], 0xfffff
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
28 // NOSI: error: instruction not supported on this GPU
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
29 // CI: s_load_dword s1, s[2:3], 0xfffff ; encoding: [0xff,0x82,0x00,0xc0,0xff,0xff,0x0f,0x00]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
30 // VI: s_load_dword s1, s[2:3], 0xfffff ; encoding: [0x41,0x00,0x02,0xc0,0xff,0xff,0x0f,0x00]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
31
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
32 s_load_dword s1, s[2:3], 0x100000
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
33 // NOSI: error: instruction not supported on this GPU
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
34 // CI: s_load_dword s1, s[2:3], 0x100000 ; encoding: [0xff,0x82,0x00,0xc0,0x00,0x00,0x10,0x00]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
35 // NOVI: error: instruction not supported on this GPU
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
36
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
37 s_load_dword s1, s[2:3], 0xffffffff
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
38 // NOSI: error: instruction not supported on this GPU
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
39 // CI: s_load_dword s1, s[2:3], 0xffffffff ; encoding: [0xff,0x82,0x00,0xc0,0xff,0xff,0xff,0xff]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
40 // NOVI: error: instruction not supported on this GPU
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
41
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
42 //===----------------------------------------------------------------------===//
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
43 // Instructions
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
44 //===----------------------------------------------------------------------===//
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
45
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
46 s_load_dword s1, s[2:3], 1
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
47 // GCN: s_load_dword s1, s[2:3], 0x1 ; encoding: [0x01,0x83,0x00,0xc0]
121
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
48 // VI: s_load_dword s1, s[2:3], 0x1 ; encoding: [0x41,0x00,0x02,0xc0,0x01,0x00,0x00,0x00]
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
49
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
50 s_load_dword s1, s[2:3], s4
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
51 // GCN: s_load_dword s1, s[2:3], s4 ; encoding: [0x04,0x82,0x00,0xc0]
121
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
52 // VI: s_load_dword s1, s[2:3], s4 ; encoding: [0x41,0x00,0x00,0xc0,0x04,0x00,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
53
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
54 s_load_dword tba_lo, s[2:3], s4
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
55 // GCN: s_load_dword tba_lo, s[2:3], s4 ; encoding: [0x04,0x02,0x36,0xc0]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
56 // VI: s_load_dword tba_lo, s[2:3], s4 ; encoding: [0x01,0x1b,0x00,0xc0,0x04,0x00,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
57
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
58 s_load_dword tba_hi, s[2:3], s4
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
59 // GCN: s_load_dword tba_hi, s[2:3], s4 ; encoding: [0x04,0x82,0x36,0xc0]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
60 // VI: s_load_dword tba_hi, s[2:3], s4 ; encoding: [0x41,0x1b,0x00,0xc0,0x04,0x00,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
61
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
62 s_load_dword tma_lo, s[2:3], s4
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
63 // GCN: s_load_dword tma_lo, s[2:3], s4 ; encoding: [0x04,0x02,0x37,0xc0]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
64 // VI: s_load_dword tma_lo, s[2:3], s4 ; encoding: [0x81,0x1b,0x00,0xc0,0x04,0x00,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
65
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
66 s_load_dword tma_hi, s[2:3], s4
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
67 // GCN: s_load_dword tma_hi, s[2:3], s4 ; encoding: [0x04,0x82,0x37,0xc0]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
68 // VI: s_load_dword tma_hi, s[2:3], s4 ; encoding: [0xc1,0x1b,0x00,0xc0,0x04,0x00,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
69
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
70 s_load_dword ttmp0, s[2:3], s4
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
71 // GCN: s_load_dword ttmp0, s[2:3], s4 ; encoding: [0x04,0x02,0x38,0xc0]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
72 // VI: s_load_dword ttmp0, s[2:3], s4 ; encoding: [0x01,0x1c,0x00,0xc0,0x04,0x00,0x00,0x00]
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
73
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
74 s_load_dwordx2 s[2:3], s[2:3], 1
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
75 // GCN: s_load_dwordx2 s[2:3], s[2:3], 0x1 ; encoding: [0x01,0x03,0x41,0xc0]
120
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
76 // VI: s_load_dwordx2 s[2:3], s[2:3], 0x1 ; encoding: [0x81,0x00,0x06,0xc0,0x01,0x00,0x00,0x00]
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
77
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
78 s_load_dwordx2 s[2:3], s[2:3], s4
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
79 // GCN: s_load_dwordx2 s[2:3], s[2:3], s4 ; encoding: [0x04,0x02,0x41,0xc0]
120
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
80 // VI: s_load_dwordx2 s[2:3], s[2:3], s4 ; encoding: [0x81,0x00,0x04,0xc0,0x04,0x00,0x00,0x00]
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
81
121
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
82 s_load_dwordx2 tba, s[2:3], s4
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
83 // GCN: s_load_dwordx2 tba, s[2:3], s4 ; encoding: [0x04,0x02,0x76,0xc0]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
84 // VI: s_load_dwordx2 tba, s[2:3], s4 ; encoding: [0x01,0x1b,0x04,0xc0,0x04,0x00,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
85
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
86 s_load_dwordx2 tma, s[2:3], s4
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
87 // GCN: s_load_dwordx2 tma, s[2:3], s4 ; encoding: [0x04,0x02,0x77,0xc0]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
88 // VI: s_load_dwordx2 tma, s[2:3], s4 ; encoding: [0x81,0x1b,0x04,0xc0,0x04,0x00,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
89
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
90 s_load_dwordx2 ttmp[2:3], s[2:3], s4
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
91 // GCN: s_load_dwordx2 ttmp[2:3], s[2:3], s4 ; encoding: [0x04,0x02,0x79,0xc0]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
92 // VI: s_load_dwordx2 ttmp[2:3], s[2:3], s4 ; encoding: [0x81,0x1c,0x04,0xc0,0x04,0x00,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
93
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
94 s_load_dwordx4 s[4:7], s[2:3], 1
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
95 // GCN: s_load_dwordx4 s[4:7], s[2:3], 0x1 ; encoding: [0x01,0x03,0x82,0xc0]
120
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
96 // VI: s_load_dwordx4 s[4:7], s[2:3], 0x1 ; encoding: [0x01,0x01,0x0a,0xc0,0x01,0x00,0x00,0x00]
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
97
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
98 s_load_dwordx4 s[4:7], s[2:3], s4
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
99 // GCN: s_load_dwordx4 s[4:7], s[2:3], s4 ; encoding: [0x04,0x02,0x82,0xc0]
120
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
100 // VI: s_load_dwordx4 s[4:7], s[2:3], s4 ; encoding: [0x01,0x01,0x08,0xc0,0x04,0x00,0x00,0x00]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
101
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
102 s_load_dwordx4 ttmp[4:7], ttmp[2:3], ttmp4
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
103 // GCN: s_load_dwordx4 ttmp[4:7], ttmp[2:3], ttmp4 ; encoding: [0x74,0x72,0xba,0xc0]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
104 // VI: s_load_dwordx4 ttmp[4:7], ttmp[2:3], ttmp4 ; encoding: [0x39,0x1d,0x08,0xc0,0x74,0x00,0x00,0x00]
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
105
100
7d135dc70f03 LLVM 3.9
Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp>
parents: 95
diff changeset
106 s_load_dwordx4 s[100:103], s[2:3], s4
7d135dc70f03 LLVM 3.9
Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp>
parents: 95
diff changeset
107 // GCN: s_load_dwordx4 s[100:103], s[2:3], s4 ; encoding: [0x04,0x02,0xb2,0xc0]
120
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
108 // NOVI: error: not a valid operand
100
7d135dc70f03 LLVM 3.9
Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp>
parents: 95
diff changeset
109
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
110 s_load_dwordx8 s[8:15], s[2:3], 1
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
111 // GCN: s_load_dwordx8 s[8:15], s[2:3], 0x1 ; encoding: [0x01,0x03,0xc4,0xc0]
120
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
112 // VI: s_load_dwordx8 s[8:15], s[2:3], 0x1 ; encoding: [0x01,0x02,0x0e,0xc0,0x01,0x00,0x00,0x00]
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
113
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
114 s_load_dwordx8 s[8:15], s[2:3], s4
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
115 // GCN: s_load_dwordx8 s[8:15], s[2:3], s4 ; encoding: [0x04,0x02,0xc4,0xc0]
120
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
116 // VI: s_load_dwordx8 s[8:15], s[2:3], s4 ; encoding: [0x01,0x02,0x0c,0xc0,0x04,0x00,0x00,0x00]
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
117
100
7d135dc70f03 LLVM 3.9
Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp>
parents: 95
diff changeset
118 s_load_dwordx8 s[96:103], s[2:3], s4
7d135dc70f03 LLVM 3.9
Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp>
parents: 95
diff changeset
119 // GCN: s_load_dwordx8 s[96:103], s[2:3], s4 ; encoding: [0x04,0x02,0xf0,0xc0]
120
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
120 // NOVI: error: not a valid operand
100
7d135dc70f03 LLVM 3.9
Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp>
parents: 95
diff changeset
121
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
122 s_load_dwordx16 s[16:31], s[2:3], 1
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
123 // GCN: s_load_dwordx16 s[16:31], s[2:3], 0x1 ; encoding: [0x01,0x03,0x08,0xc1]
120
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
124 // VI: s_load_dwordx16 s[16:31], s[2:3], 0x1 ; encoding: [0x01,0x04,0x12,0xc0,0x01,0x00,0x00,0x00]
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
125
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
126 s_load_dwordx16 s[16:31], s[2:3], s4
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
127 // GCN: s_load_dwordx16 s[16:31], s[2:3], s4 ; encoding: [0x04,0x02,0x08,0xc1]
120
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
128 // VI: s_load_dwordx16 s[16:31], s[2:3], s4 ; encoding: [0x01,0x04,0x10,0xc0,0x04,0x00,0x00,0x00]
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
129
100
7d135dc70f03 LLVM 3.9
Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp>
parents: 95
diff changeset
130 s_load_dwordx16 s[88:103], s[2:3], s4
7d135dc70f03 LLVM 3.9
Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp>
parents: 95
diff changeset
131 // GCN: s_load_dwordx16 s[88:103], s[2:3], s4 ; encoding: [0x04,0x02,0x2c,0xc1]
120
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
132 // NOVI: error: not a valid operand
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
133
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
134 s_buffer_load_dword s1, s[4:7], 1
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
135 // GCN: s_buffer_load_dword s1, s[4:7], 0x1 ; encoding: [0x01,0x85,0x00,0xc2]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
136 // VI: s_buffer_load_dword s1, s[4:7], 0x1 ; encoding: [0x42,0x00,0x22,0xc0,0x01,0x00,0x00,0x00]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
137
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
138 s_buffer_load_dword s1, s[4:7], s4
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
139 // GCN: s_buffer_load_dword s1, s[4:7], s4 ; encoding: [0x04,0x84,0x00,0xc2]
121
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
140 // VI: s_buffer_load_dword s1, s[4:7], s4 ; encoding: [0x42,0x00,0x20,0xc0,0x04,0x00,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
141
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
142 s_buffer_load_dword tba_lo, s[4:7], s4
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
143 // GCN: s_buffer_load_dword tba_lo, s[4:7], s4 ; encoding: [0x04,0x04,0x36,0xc2]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
144 // VI: s_buffer_load_dword tba_lo, s[4:7], s4 ; encoding: [0x02,0x1b,0x20,0xc0,0x04,0x00,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
145
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
146 s_buffer_load_dword tba_hi, s[4:7], s4
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
147 // GCN: s_buffer_load_dword tba_hi, s[4:7], s4 ; encoding: [0x04,0x84,0x36,0xc2]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
148 // VI: s_buffer_load_dword tba_hi, s[4:7], s4 ; encoding: [0x42,0x1b,0x20,0xc0,0x04,0x00,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
149
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
150 s_buffer_load_dword tma_lo, s[4:7], s4
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
151 // GCN: s_buffer_load_dword tma_lo, s[4:7], s4 ; encoding: [0x04,0x04,0x37,0xc2]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
152 // VI: s_buffer_load_dword tma_lo, s[4:7], s4 ; encoding: [0x82,0x1b,0x20,0xc0,0x04,0x00,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
153
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
154 s_buffer_load_dword tma_hi, s[4:7], s4
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
155 // GCN: s_buffer_load_dword tma_hi, s[4:7], s4 ; encoding: [0x04,0x84,0x37,0xc2]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
156 // VI: s_buffer_load_dword tma_hi, s[4:7], s4 ; encoding: [0xc2,0x1b,0x20,0xc0,0x04,0x00,0x00,0x00]
120
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
157
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
158 s_buffer_load_dword ttmp1, ttmp[4:7], ttmp4
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
159 // GCN: s_buffer_load_dword ttmp1, ttmp[4:7], ttmp4 ; encoding: [0x74,0xf4,0x38,0xc2]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
160 // VI: s_buffer_load_dword ttmp1, ttmp[4:7], ttmp4 ; encoding: [0x7a,0x1c,0x20,0xc0,0x74,0x00,0x00,0x00]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
161
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
162 s_buffer_load_dwordx2 s[8:9], s[4:7], 1
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
163 // GCN: s_buffer_load_dwordx2 s[8:9], s[4:7], 0x1 ; encoding: [0x01,0x05,0x44,0xc2]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
164 // VI: s_buffer_load_dwordx2 s[8:9], s[4:7], 0x1 ; encoding: [0x02,0x02,0x26,0xc0,0x01,0x00,0x00,0x00]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
165
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
166 s_buffer_load_dwordx2 s[8:9], s[4:7], s4
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
167 // GCN: s_buffer_load_dwordx2 s[8:9], s[4:7], s4 ; encoding: [0x04,0x04,0x44,0xc2]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
168 // VI: s_buffer_load_dwordx2 s[8:9], s[4:7], s4 ; encoding: [0x02,0x02,0x24,0xc0,0x04,0x00,0x00,0x00]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
169
121
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
170 s_buffer_load_dwordx2 tba, s[4:7], s4
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
171 // GCN: s_buffer_load_dwordx2 tba, s[4:7], s4 ; encoding: [0x04,0x04,0x76,0xc2]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
172 // VI: s_buffer_load_dwordx2 tba, s[4:7], s4 ; encoding: [0x02,0x1b,0x24,0xc0,0x04,0x00,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
173
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
174 s_buffer_load_dwordx2 tma, s[4:7], s4
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
175 // GCN: s_buffer_load_dwordx2 tma, s[4:7], s4 ; encoding: [0x04,0x04,0x77,0xc2]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
176 // VI: s_buffer_load_dwordx2 tma, s[4:7], s4 ; encoding: [0x82,0x1b,0x24,0xc0,0x04,0x00,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
177
120
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
178 s_buffer_load_dwordx4 s[8:11], s[4:7], 1
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
179 // GCN: s_buffer_load_dwordx4 s[8:11], s[4:7], 0x1 ; encoding: [0x01,0x05,0x84,0xc2]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
180 // VI: s_buffer_load_dwordx4 s[8:11], s[4:7], 0x1 ; encoding: [0x02,0x02,0x2a,0xc0,0x01,0x00,0x00,0x00]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
181
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
182 s_buffer_load_dwordx4 s[8:11], s[4:7], s4
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
183 // GCN: s_buffer_load_dwordx4 s[8:11], s[4:7], s4 ; encoding: [0x04,0x04,0x84,0xc2]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
184 // VI: s_buffer_load_dwordx4 s[8:11], s[4:7], s4 ; encoding: [0x02,0x02,0x28,0xc0,0x04,0x00,0x00,0x00]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
185
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
186 s_buffer_load_dwordx4 ttmp[8:11], ttmp[4:7], ttmp4
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
187 // GCN: s_buffer_load_dwordx4 ttmp[8:11], ttmp[4:7], ttmp4 ; encoding: [0x74,0x74,0xbc,0xc2]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
188 // VI: s_buffer_load_dwordx4 ttmp[8:11], ttmp[4:7], ttmp4 ; encoding: [0x3a,0x1e,0x28,0xc0,0x74,0x00,0x00,0x00]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
189
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
190 s_buffer_load_dwordx4 s[100:103], s[4:7], s4
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
191 // GCN: s_buffer_load_dwordx4 s[100:103], s[4:7], s4 ; encoding: [0x04,0x04,0xb2,0xc2]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
192 // NOVI: error: not a valid operand
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
193
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
194 s_buffer_load_dwordx8 s[8:15], s[4:7], 1
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
195 // GCN: s_buffer_load_dwordx8 s[8:15], s[4:7], 0x1 ; encoding: [0x01,0x05,0xc4,0xc2]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
196 // VI: s_buffer_load_dwordx8 s[8:15], s[4:7], 0x1 ; encoding: [0x02,0x02,0x2e,0xc0,0x01,0x00,0x00,0x00]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
197
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
198 s_buffer_load_dwordx8 s[8:15], s[4:7], s4
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
199 // GCN: s_buffer_load_dwordx8 s[8:15], s[4:7], s4 ; encoding: [0x04,0x04,0xc4,0xc2]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
200 // VI: s_buffer_load_dwordx8 s[8:15], s[4:7], s4 ; encoding: [0x02,0x02,0x2c,0xc0,0x04,0x00,0x00,0x00]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
201
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
202 s_buffer_load_dwordx8 s[96:103], s[4:7], s4
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
203 // GCN: s_buffer_load_dwordx8 s[96:103], s[4:7], s4 ; encoding: [0x04,0x04,0xf0,0xc2]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
204 // NOVI: error: not a valid operand
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
205
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
206 s_buffer_load_dwordx16 s[16:31], s[4:7], 1
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
207 // GCN: s_buffer_load_dwordx16 s[16:31], s[4:7], 0x1 ; encoding: [0x01,0x05,0x08,0xc3]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
208 // VI: s_buffer_load_dwordx16 s[16:31], s[4:7], 0x1 ; encoding: [0x02,0x04,0x32,0xc0,0x01,0x00,0x00,0x00]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
209
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
210 s_buffer_load_dwordx16 s[16:31], s[4:7], s4
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
211 // GCN: s_buffer_load_dwordx16 s[16:31], s[4:7], s4 ; encoding: [0x04,0x04,0x08,0xc3]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
212 // VI: s_buffer_load_dwordx16 s[16:31], s[4:7], s4 ; encoding: [0x02,0x04,0x30,0xc0,0x04,0x00,0x00,0x00]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
213
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
214 s_buffer_load_dwordx16 s[88:103], s[4:7], s4
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
215 // GCN: s_buffer_load_dwordx16 s[88:103], s[4:7], s4 ; encoding: [0x04,0x04,0x2c,0xc3]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
216 // NOVI: error: not a valid operand
100
7d135dc70f03 LLVM 3.9
Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp>
parents: 95
diff changeset
217
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
218 s_dcache_inv
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
219 // GCN: s_dcache_inv ; encoding: [0x00,0x00,0xc0,0xc7]
120
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
220 // VI: s_dcache_inv ; encoding: [0x00,0x00,0x80,0xc0,0x00,0x00,0x00,0x00]
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
221
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
222 s_dcache_inv_vol
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
223 // CI: s_dcache_inv_vol ; encoding: [0x00,0x00,0x40,0xc7]
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
224 // NOSI: error: instruction not supported on this GPU
120
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
225 // VI: s_dcache_inv_vol ; encoding: [0x00,0x00,0x88,0xc0,0x00,0x00,0x00,0x00]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
226
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
227 s_memtime s[4:5]
1172e4bd9c6f update 4.0.0
mir3636
parents: 100
diff changeset
228 // GCN: s_memtime s[4:5] ; encoding: [0x00,0x00,0x82,0xc7]
121
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
229 // VI: s_memtime s[4:5] ; encoding: [0x00,0x01,0x90,0xc0,0x00,0x00,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
230
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
231 s_memtime tba
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
232 // GCN: s_memtime tba ; encoding: [0x00,0x00,0xb6,0xc7]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
233 // VI: s_memtime tba ; encoding: [0x00,0x1b,0x90,0xc0,0x00,0x00,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
234
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
235 s_memtime tma
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
236 // GCN: s_memtime tma ; encoding: [0x00,0x00,0xb7,0xc7]
803732b1fca8 LLVM 5.0
kono
parents: 120
diff changeset
237 // VI: s_memtime tma ; encoding: [0x80,0x1b,0x90,0xc0,0x00,0x00,0x00,0x00]