mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
a796d90c0e
Also, fix predicates. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189432 91177308-0d34-0410-b5e6-96231b3b80d8
85 lines
1.4 KiB
Plaintext
85 lines
1.4 KiB
Plaintext
# RUN: llvm-mc --disassemble %s -triple=mips64el-unknown-linux | FileCheck %s
|
|
# CHECK: daddiu $11, $26, 31949
|
|
0xcd 0x7c 0x4b 0x67
|
|
|
|
# CHECK: daddu $26, $1, $11
|
|
0x2d 0xd0 0x2b 0x00
|
|
|
|
# CHECK: ddiv $zero, $26, $22
|
|
0x1e 0x00 0x56 0x03
|
|
|
|
# CHECK: ddivu $zero, $9, $24
|
|
0x1f 0x00 0x38 0x01
|
|
|
|
# CHECK: dmfc1 $2, $f14
|
|
0x00 0x70 0x22 0x44
|
|
|
|
# CHECK: dmtc1 $23, $f5
|
|
0x00 0x28 0xb7 0x44
|
|
|
|
# CHECK: dmult $11, $26
|
|
0x1c 0x00 0x7a 0x01
|
|
|
|
# CHECK: dmultu $23, $13
|
|
0x1d 0x00 0xed 0x02
|
|
|
|
# CHECK: dsll $3, $24, 17
|
|
0x78 0x1c 0x18 0x00
|
|
|
|
# CHECK: dsllv $gp, $27, $24
|
|
0x14 0xe0 0x1b 0x03
|
|
|
|
# CHECK: dsra $1, $1, 30
|
|
0xbb 0x0f 0x01 0x00
|
|
|
|
# CHECK: dsrav $1, $1, $fp
|
|
0x17 0x08 0xc1 0x03
|
|
|
|
# CHECK: dsrl $10, $gp, 24
|
|
0x3a 0x56 0x1c 0x00
|
|
|
|
# CHECK: dsrlv $gp, $10, $23
|
|
0x16 0xe0 0xea 0x02
|
|
|
|
# CHECK: dsubu $gp, $27, $24
|
|
0x2f 0xe0 0x78 0x03
|
|
|
|
# CHECK: lw $27, -15155($1)
|
|
0xcd 0xc4 0x3b 0x8c
|
|
|
|
# CHECK: lui $1, 1
|
|
0x01 0x00 0x01 0x3c
|
|
|
|
# CHECK: lwu $3, -1746($3)
|
|
0x2e 0xf9 0x63 0x9c
|
|
|
|
# CHECK: lui $ra, 1
|
|
0x01 0x00 0x1f 0x3c
|
|
|
|
# CHECK: sw $26, -15159($1)
|
|
0xc9 0xc4 0x3a 0xac
|
|
|
|
# CHECK: ld $26, 3958($zero)
|
|
0x76 0x0f 0x1a 0xdc
|
|
|
|
# CHECK: sd $6, 17767($zero)
|
|
0x67 0x45 0x06 0xfc
|
|
|
|
# CHECK: luxc1 $f0, $6($5)
|
|
0x05 0x00 0xa6 0x4c
|
|
|
|
# CHECK: lwxc1 $f20, $12($14)
|
|
0x00 0x05 0xcc 0x4d
|
|
|
|
# CHECK: suxc1 $f4, $24($5)
|
|
0x0d 0x20 0xb8 0x4c
|
|
|
|
# CHECK: swxc1 $f26, $18($22)
|
|
0x08 0xd0 0xd2 0x4e
|
|
|
|
# CHECK: ldxc1 $f2, $2($10)
|
|
0x81 0x00 0x42 0x4d
|
|
|
|
# CHECK: sdxc1 $f8, $4($25)
|
|
0x09 0x40 0x24 0x4f
|