• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llvm-mc --disassemble %s -triple=mips64el-unknown-linux -mattr +mips64r2 | FileCheck %s
2# CHECK: .section        __TEXT,__text,regular,pure_instructions
3# CHECK: daddiu $11, $26, 31949
40xcd 0x7c 0x4b 0x67
5
6# CHECK: daddu $26, $at, $11
70x2d 0xd0 0x2b 0x00
8
9# CHECK: ddiv $zero, $26, $22
100x1e 0x00 0x56 0x03
11
12# CHECK: ddivu $zero, $9, $24
130x1f 0x00 0x38 0x01
14
15# CHECK: dmfc1 $2, $f14
160x00 0x70 0x22 0x44
17
18# CHECK: dmtc1 $23, $f5
190x00 0x28 0xb7 0x44
20
21# CHECK: dmult $11, $26
220x1c 0x00 0x7a 0x01
23
24# CHECK: dmultu $23, $13
250x1d 0x00 0xed 0x02
26
27# CHECK: dsll $3, $24, 17
280x78 0x1c 0x18 0x00
29
30# CHECK: dsllv $gp, $27, $24
310x14 0xe0 0x1b 0x03
32
33# CHECK: dsra $at, $at, 30
340xbb 0x0f 0x01 0x00
35
36# CHECK: dsrav $at, $at, $fp
370x17 0x08 0xc1 0x03
38
39# CHECK: dsrl $10, $gp, 24
400x3a 0x56 0x1c 0x00
41
42# CHECK: dsrlv $gp, $10, $23
430x16 0xe0 0xea 0x02
44
45# CHECK: dsubu $gp, $27, $24
460x2f 0xe0 0x78 0x03
47
48# CHECK: lw $27, -15155($at)
490xcd 0xc4 0x3b 0x8c
50
51# CHECK: lui $at, 1
520x01 0x00 0x01 0x3c
53
54# CHECK: lwu $3, -1746($3)
550x2e 0xf9 0x63 0x9c
56
57# CHECK: lui $ra, 1
580x01 0x00 0x1f 0x3c
59
60# CHECK: sw $26, -15159($at)
610xc9 0xc4 0x3a 0xac
62
63# CHECK: ld $26, 3958($zero)
640x76 0x0f 0x1a 0xdc
65
66# CHECK: sd $6, 17767($zero)
670x67 0x45 0x06 0xfc
68
69# CHECK: dclo $9, $24
700x25 0x48 0x09 0x73
71
72# CHECK: dclz $26, $9
730x24 0xd0 0x3a 0x71
74
75# CHECK: dext $7, $gp, 29, 31
760x43 0xf7 0x87 0x7f
77
78# CHECK: dins $20, $gp, 15, 1
790xc7 0x7b 0x94 0x7f
80
81# CHECK: dsbh $7, $gp
820xa4 0x38 0x1c 0x7c
83
84# CHECK: dshd $3, $14
850x64 0x19 0x0e 0x7c
86
87# CHECK: drotr $20, $27, 6
880xba 0xa1 0x3b 0x00
89
90# CHECK: drotrv $24, $23, $5
910x56 0xc0 0xb7 0x00
92