mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-23 20:34:58 +00:00
[mips][microMIPS] Add disassembler tests for new microMIPS 32-bit
instructions: LWXS, BGEZALS, BLTZALS, BEQZC, BNEZC, JALS and JALRS. http://reviews.llvm.org/D5413 llvm-svn: 222349
This commit is contained in:
parent
0de52b5b97
commit
407eb9ebdd
@ -294,3 +294,24 @@
|
||||
|
||||
# CHECK: sc $2, 8($4)
|
||||
0x60 0x44 0xb0 0x08
|
||||
|
||||
# CHECK: lwxs $2, $3($4)
|
||||
0x00 0x64 0x11 0x18
|
||||
|
||||
# CHECK: bgezals $6, 1332
|
||||
0x42 0x66 0x02 0x9a
|
||||
|
||||
# CHECK: bltzals $6, 1332
|
||||
0x42 0x26 0x02 0x9a
|
||||
|
||||
# CHECK: beqzc $9, 1332
|
||||
0x40 0xe9 0x02 0x9a
|
||||
|
||||
# CHECK: bnezc $9, 1332
|
||||
0x40 0xa9 0x02 0x9a
|
||||
|
||||
# CHECK: jals 1328
|
||||
0x74 0x00 0x02 0x98
|
||||
|
||||
# CHECK: jalrs $ra, $6
|
||||
0x03 0xe6 0x4f 0x3c
|
||||
|
@ -294,3 +294,24 @@
|
||||
|
||||
# CHECK: sc $2, 8($4)
|
||||
0x44 0x60 0x08 0xb0
|
||||
|
||||
# CHECK: lwxs $2, $3($4)
|
||||
0x64 0x00 0x18 0x11
|
||||
|
||||
# CHECK: bgezals $6, 1332
|
||||
0x66 0x42 0x9a 0x02
|
||||
|
||||
# CHECK: bltzals $6, 1332
|
||||
0x26 0x42 0x9a 0x02
|
||||
|
||||
# CHECK: beqzc $9, 1332
|
||||
0xe9 0x40 0x9a 0x02
|
||||
|
||||
# CHECK: bnezc $9, 1332
|
||||
0xa9 0x40 0x9a 0x02
|
||||
|
||||
# CHECK: jals 1328
|
||||
0x00 0x74 0x98 0x02
|
||||
|
||||
# CHECK: jalrs $ra, $6
|
||||
0xe6 0x03 0x3c 0x4f
|
||||
|
Loading…
x
Reference in New Issue
Block a user