mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-01 07:11:45 +00:00
Commited two test files which are forgotten during commit of patch for http://reviews.llvm.org/D13376
llvm-svn: 250512
This commit is contained in:
parent
7141beba70
commit
1f396a29cd
6
test/MC/Disassembler/Mips/micromips-dspr2/valid.txt
Normal file
6
test/MC/Disassembler/Mips/micromips-dspr2/valid.txt
Normal file
@ -0,0 +1,6 @@
|
||||
# RUN: llvm-mc --disassemble %s -triple=mips-unknown-linux -mcpu=mips32r6 -mattr=micromips -mattr=+dspr2 | FileCheck %s
|
||||
|
||||
0x00 0x43 0x00 0xbc # CHECK: dpa.w.ph $ac0, $3, $2
|
||||
0x00 0xec 0xe2 0xbc # CHECK: dpaqx_s.w.ph $ac3, $12, $7
|
||||
0x00 0xc5 0x32 0xbc # CHECK: dpaqx_sa.w.ph $ac0, $5, $6
|
||||
0x00 0x22 0xd0 0xbc # CHECK: dpax.w.ph $ac3, $2, $1
|
7
test/MC/Mips/micromips-dspr2/valid.s
Normal file
7
test/MC/Mips/micromips-dspr2/valid.s
Normal file
@ -0,0 +1,7 @@
|
||||
# RUN: llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips32r6 -mattr=micromips -mattr=+dspr2 | FileCheck %s
|
||||
|
||||
.set noat
|
||||
dpa.w.ph $ac0, $3, $2 # CHECK: dpa.w.ph $ac0, $3, $2 # encoding: [0x00,0x43,0x00,0xbc]
|
||||
dpaqx_s.w.ph $ac3, $12, $7 # CHECK: dpaqx_s.w.ph $ac3, $12, $7 # encoding: [0x00,0xec,0xe2,0xbc]
|
||||
dpaqx_sa.w.ph $ac0, $5, $6 # CHECK: dpaqx_sa.w.ph $ac0, $5, $6 # encoding: [0x00,0xc5,0x32,0xbc]
|
||||
dpax.w.ph $ac3, $2, $1 # CHECK: dpax.w.ph $ac3, $2, $1 # encoding: [0x00,0x22,0xd0,0xbc]
|
Loading…
x
Reference in New Issue
Block a user