forked from OSchip/llvm-project
ARM parsing and encoding tests for RBIT, REV, REV16 and REVSH.
llvm-svn: 135710
This commit is contained in:
parent
b31e60b7c6
commit
2a22c06267
|
@ -1080,6 +1080,34 @@ _func:
|
|||
@ CHECK: qsub8le r1, r2, r3 @ encoding: [0xf3,0x1f,0x22,0xd6]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ RBIT
|
||||
@------------------------------------------------------------------------------
|
||||
rbit r1, r2
|
||||
rbitne r1, r2
|
||||
|
||||
@ CHECK: rbit r1, r2 @ encoding: [0x32,0x1f,0xff,0xe6]
|
||||
@ CHECK: rbitne r1, r2 @ encoding: [0x32,0x1f,0xff,0x16]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ REV/REV16/REVSH
|
||||
@------------------------------------------------------------------------------
|
||||
rev r1, r9
|
||||
revne r1, r5
|
||||
rev16 r8, r3
|
||||
rev16ne r12, r4
|
||||
revsh r4, r9
|
||||
revshne r9, r1
|
||||
|
||||
@ CHECK: rev r1, r9 @ encoding: [0x39,0x1f,0xbf,0xe6]
|
||||
@ CHECK: revne r1, r5 @ encoding: [0x35,0x1f,0xbf,0x16]
|
||||
@ CHECK: rev16 r8, r3 @ encoding: [0xb3,0x8f,0xbf,0xe6]
|
||||
@ CHECK: rev16ne r12, r4 @ encoding: [0xb4,0xcf,0xbf,0x16]
|
||||
@ CHECK: revsh r4, r9 @ encoding: [0xb9,0x4f,0xff,0xe6]
|
||||
@ CHECK: revshne r9, r1 @ encoding: [0xb1,0x9f,0xff,0x16]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ STM*
|
||||
@------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue