aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/MC/Disassembler/AMDGPU/gfx10_exp.txt
blob: 4de4827da6cf1680d773366a160b08df8db7757c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# RUN: llvm-mc -triple=amdgcn -mcpu=gfx1010 -disassemble -show-encoding < %s | FileCheck %s -check-prefix=GFX10

# GFX10: exp mrt0 v1, v2, v3, v4         ; encoding: [0x0f,0x00,0x00,0xf8,0x01,0x02,0x03,0x04]
0x0f,0x00,0x00,0xf8,0x01,0x02,0x03,0x04

# GFX10: exp mrt0 v1, v2, v3, v4 vm      ; encoding: [0x0f,0x10,0x00,0xf8,0x01,0x02,0x03,0x04]
0x0f,0x10,0x00,0xf8,0x01,0x02,0x03,0x04

# GFX10: exp mrt0 v1, v1, v3, v3 compr   ; encoding: [0x0f,0x04,0x00,0xf8,0x01,0x03,0x00,0x00]
0x0f,0x04,0x00,0xf8,0x01,0x03,0x00,0x00

# GFX10: exp mrt0 v1, v2, v3, v4 done    ; encoding: [0x0f,0x08,0x00,0xf8,0x01,0x02,0x03,0x04]
0x0f,0x08,0x00,0xf8,0x01,0x02,0x03,0x04

# GFX10: exp mrt0 v2, v2, v4, v4 done compr vm ; encoding: [0x0f,0x1c,0x00,0xf8,0x02,0x04,0x00,0x00]
0x0f,0x1c,0x00,0xf8,0x02,0x04,0x00,0x00

# GFX10: exp mrt0 v7, off, off, off vm   ; encoding: [0x01,0x10,0x00,0xf8,0x07,0x00,0x00,0x00]
0x01,0x10,0x00,0xf8,0x07,0x00,0x00,0x00

# GFX10: exp mrt0 off, off, v1, v2       ; encoding: [0x0c,0x00,0x00,0xf8,0x00,0x00,0x01,0x02]
0x0c,0x00,0x00,0xf8,0x00,0x00,0x01,0x02

# GFX10: exp mrt0 off, off, v8, v8 done compr ; encoding: [0x0c,0x0c,0x00,0xf8,0x00,0x08,0x00,0x00]
0x0c,0x0c,0x00,0xf8,0x00,0x08,0x00,0x00

# GFX10: exp mrt0 v1, v1, off, off compr ; encoding: [0x03,0x04,0x00,0xf8,0x01,0x00,0x00,0x00]
0x03,0x04,0x00,0xf8,0x01,0x00,0x00,0x00

# GFX10: exp param0 off, off, off, off compr ; encoding: [0x00,0x06,0x00,0xf8,0x00,0x00,0x00,0x00]
0x00,0x06,0x00,0xf8,0x00,0x00,0x00,0x00

# GFX10: exp mrtz v0, off, off, off done vm ; encoding: [0x81,0x18,0x00,0xf8,0x00,0x00,0x00,0x00]
0x81,0x18,0x00,0xf8,0x00,0x00,0x00,0x00

# GFX10: exp null v255, v0, v255, v0     ; encoding: [0x9f,0x00,0x00,0xf8,0xff,0x00,0xff,0x00]
0x9f,0x00,0x00,0xf8,0xff,0x00,0xff,0x00

# GFX10: exp pos0 v1, off, off, off      ; encoding: [0xc1,0x00,0x00,0xf8,0x01,0x00,0x00,0x00]
0xc1,0x00,0x00,0xf8,0x01,0x00,0x00,0x00

# GFX10: exp pos3 v1, off, off, off      ; encoding: [0xf1,0x00,0x00,0xf8,0x01,0x00,0x00,0x00]
0xf1,0x00,0x00,0xf8,0x01,0x00,0x00,0x00

# GFX10: exp pos4 v1, off, off, off      ; encoding: [0x01,0x01,0x00,0xf8,0x01,0x00,0x00,0x00]
0x01,0x01,0x00,0xf8,0x01,0x00,0x00,0x00

# GFX10: exp prim v2, v3, off, off       ; encoding: [0x43,0x01,0x00,0xf8,0x02,0x03,0x00,0x00]
0x43,0x01,0x00,0xf8,0x02,0x03,0x00,0x00