llvm-6502/test/MC/Disassembler/Mips/mips64.txt
Benjamin Kramer 5af763cb2a Mips: Disassemble sign-extended 64 bit immediates properly.
This doesn't change the meaning of the output, but makes look right. PR17539.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192483 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-11 19:05:08 +00:00

88 lines
1.4 KiB
Plaintext

# RUN: llvm-mc --disassemble %s -triple=mips64-unknown-linux | FileCheck %s
# CHECK: daddiu $11, $26, 31949
0x67 0x4b 0x7c 0xcd
# CHECK: daddiu $sp, $sp, -32
0x67 0xbd 0xff 0xe0
# CHECK: daddu $26, $1, $11
0x00 0x2b 0xd0 0x2d
# CHECK: ddiv $zero, $26, $22
0x03 0x56 0x00 0x1e
# CHECK: ddivu $zero, $9, $24
0x01 0x38 0x00 0x1f
# CHECK: dmfc1 $2, $f14
0x44 0x22 0x70 0x00
# CHECK: dmtc1 $23, $f5
0x44 0xb7 0x28 0x00
# CHECK: dmult $11, $26
0x01 0x7a 0x00 0x1c
# CHECK: dmultu $23, $13
0x02 0xed 0x00 0x1d
# CHECK: dsll $3, $24, 17
0x00 0x18 0x1c 0x78
# CHECK: dsllv $gp, $27, $24
0x03 0x1b 0xe0 0x14
# CHECK: dsra $1, $1, 30
0x00 0x01 0x0f 0xbb
# CHECK: dsrav $1, $1, $fp
0x03 0xc1 0x08 0x17
# CHECK: dsrl $10, $gp, 24
0x00 0x1c 0x56 0x3a
# CHECK: dsrlv $gp, $10, $23
0x02 0xea 0xe0 0x16
# CHECK: dsubu $gp, $27, $24
0x03 0x78 0xe0 0x2f
# CHECK: lw $27, -15155($1)
0x8c 0x3b 0xc4 0xcd
# CHECK: lui $1, 1
0x3c 0x01 0x00 0x01
# CHECK: lwu $3, -1746($3)
0x9c 0x63 0xf9 0x2e
# CHECK: lui $ra, 1
0x3c 0x1f 0x00 0x01
# CHECK: sw $26, -15159($1)
0xac 0x3a 0xc4 0xc9
# CHECK: ld $26, 3958($zero)
0xdc 0x1a 0x0f 0x76
# CHECK: sd $6, 17767($zero)
0xfc 0x06 0x45 0x67
# CHECK: luxc1 $f0, $6($5)
0x4c 0xa6 0x00 0x05
# CHECK: lwxc1 $f20, $12($14)
0x4d 0xcc 0x05 0x00
# CHECK: suxc1 $f4, $24($5)
0x4c 0xb8 0x20 0x0d
# CHECK: swxc1 $f26, $18($22)
0x4e 0xd2 0xd0 0x08
# CHECK: ldxc1 $f2, $2($10)
0x4d 0x42 0x00 0x81
# CHECK: sdxc1 $f8, $4($25)
0x4f 0x24 0x40 0x09