mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-29 13:29:28 +00:00
Patch by Vladimir Medic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154935 91177308-0d34-0410-b5e6-96231b3b80d8
92 lines
1.5 KiB
Plaintext
92 lines
1.5 KiB
Plaintext
# RUN: llvm-mc --disassemble %s -triple=mips64el-unknown-linux -mattr +mips64r2
|
|
|
|
# CHECK: daddiu t3,k0,31949
|
|
0xcd 0x7c 0x4b 0x67
|
|
|
|
# CHECK: daddu k0,at,t3
|
|
0x2d 0xd0 0x2b 0x00
|
|
|
|
# CHECK: ddiv zero,k0,s6
|
|
0x1e 0x00 0x56 0x03
|
|
|
|
# CHECK: ddivu zero,t1,t8
|
|
0x1f 0x00 0x38 0x01
|
|
|
|
# CHECK: dmfc1 v0,$f14
|
|
0x00 0x70 0x22 0x44
|
|
|
|
# CHECK: dmtc1 s7,$f5
|
|
0x00 0x28 0xb7 0x44
|
|
|
|
# CHECK: dmult t3,k0
|
|
0x1c 0x00 0x7a 0x01
|
|
|
|
# CHECK: dmultu s7,t5
|
|
0x1d 0x00 0xed 0x02
|
|
|
|
# CHECK: dsll v1,t8,0x11
|
|
0x78 0x1c 0x18 0x00
|
|
|
|
# CHECK: dsllv gp,k1,t8
|
|
0x14 0xe0 0x1b 0x03
|
|
|
|
# CHECK: dsra at,at,0x1e
|
|
0xbb 0x0f 0x01 0x00
|
|
|
|
# CHECK: dsrav at,at,s8
|
|
0x17 0x08 0xc1 0x03
|
|
|
|
# CHECK: dsrl t2,gp,0x18
|
|
0x3a 0x56 0x1c 0x00
|
|
|
|
# CHECK: dsrlv gp,t2,s7
|
|
0x16 0xe0 0xea 0x02
|
|
|
|
# CHECK: dsubu gp,k1,t8
|
|
0x2f 0xe0 0x78 0x03
|
|
|
|
# CHECK: lw k1,-15155(at)
|
|
0xcd 0xc4 0x3b 0x8c
|
|
|
|
# CHECK: lui at,0x1
|
|
0x01 0x00 0x01 0x3c
|
|
|
|
# CHECK: lwu v1,-1746(v1)
|
|
0x2e 0xf9 0x63 0x9c
|
|
|
|
# CHECK: lui ra,0x1
|
|
0x01 0x00 0x1f 0x3c
|
|
|
|
# CHECK: sw k0,-15159(at)
|
|
0xc9 0xc4 0x3a 0xac
|
|
|
|
# CHECK: ld k0,3958(zero)
|
|
0x76 0x0f 0x1a 0xdc
|
|
|
|
# CHECK: sd a2,17767(zero)
|
|
0x67 0x45 0x06 0xfc
|
|
|
|
# CHECK: dclo t1,t8
|
|
0x25 0x48 0x09 0x73
|
|
|
|
# CHECK: dclz k0,t1
|
|
0x24 0xd0 0x3a 0x71
|
|
|
|
# CHECK: dext a3,gp,0x1d,0x1f
|
|
0x43 0xf7 0x87 0x7f
|
|
|
|
# CHECK: dins s4,gp,0xf,0x1
|
|
0xc7 0x7b 0x94 0x7f
|
|
|
|
# CHECK: dsbh a3,gp
|
|
0xa4 0x38 0x1c 0x7c
|
|
|
|
# CHECK: dshd v1,t6
|
|
0x64 0x19 0x0e 0x7c
|
|
|
|
# CHECK: drotr s4,k1,0x6
|
|
0xba 0xa1 0x3b 0x00
|
|
|
|
# CHECK: drotrv t8,s7,a1
|
|
0x56 0xc0 0xb7 0x00
|