1 // RUN
: llvm-mc
-arch
=amdgcn
-mcpu
=tonga
-show-encoding
%s | FileCheck
%s
3 v_interp_p1_f32 v5
, v1
, attr0.x
4 // CHECK
: [0x01,0x00,0x14,0xd4]
6 v_interp_p1_f32 v255
, v1
, attr0.x
7 // CHECK
: [0x01,0x00,0xfc,0xd7]
9 v_interp_p1_f32 v5
, v255
, attr0.x
10 // CHECK
: [0xff,0x00,0x14,0xd4]
12 v_interp_p1_f32 v5
, v1
, attr1.x
13 // CHECK
: [0x01,0x04,0x14,0xd4]
15 v_interp_p1_f32 v5
, v1
, attr31.x
16 // CHECK
: [0x01,0x7c,0x14,0xd4]
18 v_interp_p1_f32 v5
, v1
, attr32.x
19 // CHECK
: [0x01,0x80,0x14,0xd4]
21 v_interp_p1_f32 v5
, v1
, attr0.y
22 // CHECK
: [0x01,0x01,0x14,0xd4]
24 v_interp_p1_f32 v5
, v1
, attr0.z
25 // CHECK
: [0x01,0x02,0x14,0xd4]
27 v_interp_p1_f32 v5
, v1
, attr0.w
28 // CHECK
: [0x01,0x03,0x14,0xd4]
30 v_interp_p2_f32 v5
, v1
, attr0.x
31 // CHECK
: [0x01,0x00,0x15,0xd4]
33 v_interp_p2_f32 v255
, v1
, attr0.x
34 // CHECK
: [0x01,0x00,0xfd,0xd7]
36 v_interp_p2_f32 v5
, v255
, attr0.x
37 // CHECK
: [0xff,0x00,0x15,0xd4]
39 v_interp_p2_f32 v5
, v1
, attr1.x
40 // CHECK
: [0x01,0x04,0x15,0xd4]
42 v_interp_p2_f32 v5
, v1
, attr31.x
43 // CHECK
: [0x01,0x7c,0x15,0xd4]
45 v_interp_p2_f32 v5
, v1
, attr32.x
46 // CHECK
: [0x01,0x80,0x15,0xd4]
48 v_interp_p2_f32 v5
, v1
, attr0.y
49 // CHECK
: [0x01,0x01,0x15,0xd4]
51 v_interp_p2_f32 v5
, v1
, attr0.z
52 // CHECK
: [0x01,0x02,0x15,0xd4]
54 v_interp_p2_f32 v5
, v1
, attr0.w
55 // CHECK
: [0x01,0x03,0x15,0xd4]
57 v_interp_mov_f32 v5
, p10
, attr0.x
58 // CHECK
: [0x00,0x00,0x16,0xd4]
60 v_interp_mov_f32 v255
, p10
, attr0.x
61 // CHECK
: [0x00,0x00,0xfe,0xd7]
63 v_interp_mov_f32 v5
, p20
, attr0.x
64 // CHECK
: [0x01,0x00,0x16,0xd4]
66 v_interp_mov_f32 v5
, p0
, attr0.x
67 // CHECK
: [0x02,0x00,0x16,0xd4]
69 v_interp_mov_f32 v5
, p10
, attr1.x
70 // CHECK
: [0x00,0x04,0x16,0xd4]
72 v_interp_mov_f32 v5
, p10
, attr31.x
73 // CHECK
: [0x00,0x7c,0x16,0xd4]
75 v_interp_mov_f32 v5
, p10
, attr32.x
76 // CHECK
: [0x00,0x80,0x16,0xd4]
78 v_interp_mov_f32 v5
, p10
, attr0.y
79 // CHECK
: [0x00,0x01,0x16,0xd4]
81 v_interp_mov_f32 v5
, p10
, attr0.z
82 // CHECK
: [0x00,0x02,0x16,0xd4]
84 v_interp_mov_f32 v5
, p10
, attr0.w
85 // CHECK
: [0x00,0x03,0x16,0xd4]