1# RUN: llvm-mc --disassemble %s -triple=mips64-unknown-linux -mattr +mips64r2 | FileCheck %s
2# CHECK: daddiu $11, $26, 31949
30x67 0x4b 0x7c 0xcd
4
5# CHECK: daddu $26, $1, $11
60x00 0x2b 0xd0 0x2d
7
8# CHECK: ddiv $zero, $26, $22
90x03 0x56 0x00 0x1e
10
11# CHECK: ddivu $zero, $9, $24
120x01 0x38 0x00 0x1f
13
14# CHECK: dmfc1 $2, $f14
150x44 0x22 0x70 0x00
16
17# CHECK: dmtc1 $23, $f5
180x44 0xb7 0x28 0x00
19
20# CHECK: dmult $11, $26
210x01 0x7a 0x00 0x1c
22
23# CHECK: dmultu $23, $13
240x02 0xed 0x00 0x1d
25
26# CHECK: dsll $3, $24, 17
270x00 0x18 0x1c 0x78
28
29# CHECK: dsllv $gp, $27, $24
300x03 0x1b 0xe0 0x14
31
32# CHECK: dsra $1, $1, 30
330x00 0x01 0x0f 0xbb
34
35# CHECK: dsrav $1, $1, $fp
360x03 0xc1 0x08 0x17
37
38# CHECK: dsrl $10, $gp, 24
390x00 0x1c 0x56 0x3a
40
41# CHECK: dsrlv $gp, $10, $23
420x02 0xea 0xe0 0x16
43
44# CHECK: dsubu $gp, $27, $24
450x03 0x78 0xe0 0x2f
46
47# CHECK: lw $27, -15155($1)
480x8c 0x3b 0xc4 0xcd
49
50# CHECK: lui $1, 1
510x3c 0x01 0x00 0x01
52
53# CHECK: lwu $3, -1746($3)
540x9c 0x63 0xf9 0x2e
55
56# CHECK: lui $ra, 1
570x3c 0x1f 0x00 0x01
58
59# CHECK: sw $26, -15159($1)
600xac 0x3a 0xc4 0xc9
61
62# CHECK: ld $26, 3958($zero)
630xdc 0x1a 0x0f 0x76
64
65# CHECK: sd $6, 17767($zero)
660xfc 0x06 0x45 0x67
67
68# CHECK: dclo $9, $24
690x73 0x09 0x48 0x25
70
71# CHECK: dclz $26, $9
720x71 0x3a 0xd0 0x24
73
74# CHECK: dext $7, $gp, 29, 31
750x7f 0x87 0xf7 0x43
76
77# CHECK: dins $20, $gp, 15, 1
780x7f 0x94 0x7b 0xc7
79
80# CHECK: dsbh $7, $gp
810x7c 0x1c 0x38 0xa4
82
83# CHECK: dshd $3, $14
840x7c 0x0e 0x19 0x64
85
86# CHECK: drotr $20, $27, 6
870x00 0x3b 0xa1 0xba
88
89# CHECK: drotrv $24, $23, $5
900x00 0xb7 0xc0 0x56
91