source: icGREP/icgrep-devel/llvm-3.6.1.src/test/MC/Disassembler/Mips/mips64r6.txt @ 4664

Last change on this file since 4664 was 4279, checked in by cameron, 5 years ago

Upgrade to LLVM 3.5

File size: 6.7 KB
Line 
1# RUN: llvm-mc --disassemble %s -triple=mips-unknown-linux -mcpu=mips64r6 | FileCheck %s
2
30xec 0x80 0x00 0x19 # CHECK: addiupc $4, 100
40x7c 0x43 0x22 0xa0 # CHECK: align $4, $2, $3, 2
50xec 0x7f 0x00 0x38 # CHECK: aluipc $3, 56
60x3c 0x62 0xff 0xe9 # CHECK: aui $3, $2, -23
70xec 0x7e 0xff 0xff # CHECK: auipc $3, -1
80xe8 0x37 0x96 0xb8 # CHECK: balc 14572256
90xc8 0x37 0x96 0xb8 # CHECK: bc 14572256
10
11# FIXME: Don't check the immediate on these for the moment, the encode/decode
12#        functions are not inverses of eachother.
13#        The immediate should be 4 but the disassembler currently emits 8
140x45 0x20 0x00 0x01 # CHECK: bc1eqz $f0,
150x45 0x3f 0x00 0x01 # CHECK: bc1eqz $f31,
160x45 0xa0 0x00 0x01 # CHECK: bc1nez $f0,
170x45 0xbf 0x00 0x01 # CHECK: bc1nez $f31,
18# FIXME: Don't check the immediate on these for the moment, the encode/decode
19#        functions are not inverses of eachother.
20#        The immediate should be 8 but the disassembler currently emits 12
210x49 0x20 0x00 0x02 # CHECK: bc2eqz $0,
220x49 0x3f 0x00 0x02 # CHECK: bc2eqz $31,
230x49 0xa0 0x00 0x02 # CHECK: bc2nez $0,
240x49 0xbf 0x00 0x02 # CHECK: bc2nez $31,
25
260x20 0xa6 0x00 0x40 # CHECK: beqc $5, $6, 256
27# FIXME: Don't check the immediate on the bcczal's for the moment, the
28#        encode/decode functions are not inverses of eachother.
290x20 0x02 0x01 0x4d # CHECK: beqzalc $2,
300x60 0xa6 0x00 0x40 # CHECK: bnec $5, $6, 256
310x60 0x02 0x01 0x4d # CHECK: bnezalc $2,
320xd8 0xa0 0x46 0x90 # CHECK: beqzc $5, 72256
330x58 0x43 0x00 0x40 # CHECK: bgec $2, $3, 256
340x18 0x43 0x00 0x40 # CHECK: bgeuc $2, $3, 256
350x18 0x42 0x01 0x4d # CHECK: bgezalc $2,
360xf8 0xa0 0x46 0x90 # CHECK: bnezc $5, 72256
370x5c 0xa5 0x00 0x40 # CHECK: bltzc $5, 256
380x58 0xa5 0x00 0x40 # CHECK: bgezc $5, 256
390x1c 0x02 0x01 0x4d # CHECK: bgtzalc $2,
400x58 0x05 0x00 0x40 # CHECK: blezc $5, 256
410x1c 0x42 0x01 0x4d # CHECK: bltzalc $2,
420x5c 0x05 0x00 0x40 # CHECK: bgtzc $5, 256
430x7c 0x02 0x20 0x20 # CHECK: bitswap $4, $2
440x18 0x02 0x01 0x4d # CHECK: blezalc $2,
450x5c 0xa6 0x00 0x40 # CHECK: bltc $5, $6, 256
460x1c 0xa6 0x00 0x40 # CHECK: bltuc $5, $6, 256
470x60 0x00 0x00 0x01 # CHECK: bnvc $zero, $zero, 4
480x60 0x40 0x00 0x01 # CHECK: bnvc $2, $zero, 4
490x60 0x82 0x00 0x01 # CHECK: bnvc $4, $2, 4
500x20 0x00 0x00 0x01 # CHECK: bovc $zero, $zero, 4
510x20 0x40 0x00 0x01 # CHECK: bovc $2, $zero, 4
520x20 0x82 0x00 0x01 # CHECK: bovc $4, $2, 4
530x46 0x84 0x18 0x80 # CHECK: cmp.af.s $f2, $f3, $f4
540x46 0xa4 0x18 0x80 # CHECK: cmp.af.d $f2, $f3, $f4
550x46 0x84 0x18 0x81 # CHECK: cmp.un.s $f2, $f3, $f4
560x46 0xa4 0x18 0x81 # CHECK: cmp.un.d $f2, $f3, $f4
570x46 0x84 0x18 0x82 # CHECK: cmp.eq.s $f2, $f3, $f4
580x46 0xa4 0x18 0x82 # CHECK: cmp.eq.d $f2, $f3, $f4
590x46 0x84 0x18 0x83 # CHECK: cmp.ueq.s $f2, $f3, $f4
600x46 0xa4 0x18 0x83 # CHECK: cmp.ueq.d $f2, $f3, $f4
610x46 0x84 0x18 0x84 # CHECK: cmp.lt.s $f2, $f3, $f4
620x46 0xa4 0x18 0x84 # CHECK: cmp.lt.d $f2, $f3, $f4
630x46 0x84 0x18 0x85 # CHECK: cmp.ult.s $f2, $f3, $f4
640x46 0xa4 0x18 0x85 # CHECK: cmp.ult.d $f2, $f3, $f4
650x46 0x84 0x18 0x86 # CHECK: cmp.le.s $f2, $f3, $f4
660x46 0xa4 0x18 0x86 # CHECK: cmp.le.d $f2, $f3, $f4
670x46 0x84 0x18 0x87 # CHECK: cmp.ule.s $f2, $f3, $f4
680x46 0xa4 0x18 0x87 # CHECK: cmp.ule.d $f2, $f3, $f4
690x46 0x84 0x18 0x88 # CHECK: cmp.saf.s $f2, $f3, $f4
700x46 0xa4 0x18 0x88 # CHECK: cmp.saf.d $f2, $f3, $f4
710x46 0x84 0x18 0x89 # CHECK: cmp.sun.s $f2, $f3, $f4
720x46 0xa4 0x18 0x89 # CHECK: cmp.sun.d $f2, $f3, $f4
730x46 0x84 0x18 0x8a # CHECK: cmp.seq.s $f2, $f3, $f4
740x46 0xa4 0x18 0x8a # CHECK: cmp.seq.d $f2, $f3, $f4
750x46 0x84 0x18 0x8b # CHECK: cmp.sueq.s $f2, $f3, $f4
760x46 0xa4 0x18 0x8b # CHECK: cmp.sueq.d $f2, $f3, $f4
770x46 0x84 0x18 0x8c # CHECK: cmp.slt.s $f2, $f3, $f4
780x46 0xa4 0x18 0x8c # CHECK: cmp.slt.d $f2, $f3, $f4
790x46 0x84 0x18 0x8d # CHECK: cmp.sult.s $f2, $f3, $f4
800x46 0xa4 0x18 0x8d # CHECK: cmp.sult.d $f2, $f3, $f4
810x46 0x84 0x18 0x8e # CHECK: cmp.sle.s $f2, $f3, $f4
820x46 0xa4 0x18 0x8e # CHECK: cmp.sle.d $f2, $f3, $f4
830x46 0x84 0x18 0x8f # CHECK: cmp.sule.s $f2, $f3, $f4
840x46 0xa4 0x18 0x8f # CHECK: cmp.sule.d $f2, $f3, $f4
850x7c 0x43 0x23 0x64 # CHECK: dalign $4, $2, $3, 5
860x74 0x62 0x12 0x34 # CHECK: daui $3, $2, 4660
870x04 0x66 0x56 0x78 # CHECK: dahi $3, 22136
880x04 0x7e 0xab 0xcd # CHECK: dati $3, -21555
890x7c 0x02 0x20 0x24 # CHECK: dbitswap $4, $2
900x00 0x64 0x10 0x9a # CHECK: div $2, $3, $4
910x00 0x64 0x10 0x9b # CHECK: divu $2, $3, $4
92# 0xf8 0x05 0x01 0x00 # CHECK-TODO: jialc $5, 256
93# 0xd8 0x05 0x01 0x00 # CHECK-TODO: jic $5, 256
940xec 0x48 0x00 0x43 # CHECK: lwpc $2, 268
950xec 0x50 0x00 0x43 # CHECK: lwupc $2, 268
960x00 0x64 0x10 0xda # CHECK: mod $2, $3, $4
970x00 0x64 0x10 0xdb # CHECK: modu $2, $3, $4
980x00 0x64 0x10 0x9e # CHECK: ddiv $2, $3, $4
990x00 0x64 0x10 0x9f # CHECK: ddivu $2, $3, $4
1000x00 0x64 0x10 0xde # CHECK: dmod $2, $3, $4
1010x00 0x64 0x10 0xdf # CHECK: dmodu $2, $3, $4
1020x00 0x64 0x10 0x98 # CHECK: mul $2, $3, $4
1030x00 0x64 0x10 0xd8 # CHECK: muh $2, $3, $4
1040x00 0x64 0x10 0x99 # CHECK: mulu $2, $3, $4
1050x00 0x64 0x10 0xd9 # CHECK: muhu $2, $3, $4
1060x00 0x64 0x10 0x9c # CHECK: dmul $2, $3, $4
1070x00 0x64 0x10 0xdc # CHECK: dmuh $2, $3, $4
1080x00 0x64 0x10 0x9d # CHECK: dmulu $2, $3, $4
1090x00 0x64 0x10 0xdd # CHECK: dmuhu $2, $3, $4
1100x46 0x04 0x18 0x98 # CHECK: maddf.s $f2, $f3, $f4
1110x46 0x24 0x18 0x98 # CHECK: maddf.d $f2, $f3, $f4
1120x46 0x04 0x18 0x99 # CHECK: msubf.s $f2, $f3, $f4
1130x46 0x24 0x18 0x99 # CHECK: msubf.d $f2, $f3, $f4
1140x46 0x22 0x08 0x10 # CHECK: sel.d $f0, $f1, $f2
1150x46 0x02 0x08 0x10 # CHECK: sel.s $f0, $f1, $f2
1160x00 0x64 0x10 0x35 # CHECK: seleqz $2, $3, $4
1170x00 0x64 0x10 0x37 # CHECK: selnez $2, $3, $4
1180x46 0x04 0x10 0x1d # CHECK: max.s $f0, $f2, $f4
1190x46 0x24 0x10 0x1d # CHECK: max.d $f0, $f2, $f4
1200x46 0x04 0x10 0x1c # CHECK: min.s $f0, $f2, $f4
1210x46 0x24 0x10 0x1c # CHECK: min.d $f0, $f2, $f4
1220x46 0x04 0x10 0x1f # CHECK: maxa.s $f0, $f2, $f4
1230x46 0x24 0x10 0x1f # CHECK: maxa.d $f0, $f2, $f4
1240x46 0x04 0x10 0x1e # CHECK: mina.s $f0, $f2, $f4
1250x46 0x24 0x10 0x1e # CHECK: mina.d $f0, $f2, $f4
1260x46 0x04 0x10 0x14 # CHECK: seleqz.s $f0, $f2, $f4
1270x46 0x24 0x10 0x14 # CHECK: seleqz.d $f0, $f2, $f4
1280x46 0x04 0x10 0x17 # CHECK: selnez.s $f0, $f2, $f4
1290x46 0x24 0x10 0x17 # CHECK: selnez.d $f0, $f2, $f4
1300x46 0x00 0x20 0x9a # CHECK: rint.s $f2, $f4
1310x46 0x20 0x20 0x9a # CHECK: rint.d $f2, $f4
1320x46 0x00 0x20 0x9b # CHECK: class.s $f2, $f4
1330x46 0x20 0x20 0x9b # CHECK: class.d $f2, $f4
1340xec 0x58 0x3c 0x48 # CHECK: ldpc $2, 123456
1350x00 0x80 0x04 0x09 # CHECK: jr.hb $4
1360x00 0x80 0xfc 0x09 # CHECK: jalr.hb $4
1370x00 0xa0 0x24 0x09 # CHECK: jalr.hb $4, $5
1380x7e 0x42 0xb3 0xb6 # CHECK: ll $2, -153($18)
1390x7f 0xe0 0x38 0x37 # CHECK: lld $zero, 112($ra)
1400x7e 0x6f 0xec 0x26 # CHECK: sc $15, -40($19)
1410x7f 0xaf 0xe6 0xa7 # CHECK: scd $15, -51($sp)
1420x00 0xa0 0x58 0x51 # CHECK: clo $11, $5
1430x03 0x80 0xe8 0x50 # CHECK: clz $sp, $gp
1440x00 0xc0 0x90 0x53 # CHECK: dclo $18, $6
1450x03 0x20 0x80 0x52 # CHECK: dclz $16, $25
Note: See TracBrowser for help on using the repository browser.