Thumb2 assembly parsing and encoding for ORN.

llvm-svn: 139741
This commit is contained in:
Jim Grosbach 2011-09-14 21:29:54 +00:00
parent 36acc8e984
commit 1fdddf767f
1 changed files with 22 additions and 0 deletions

View File

@ -1175,6 +1175,28 @@ _func:
@ CHECK: nop.w @ encoding: [0xaf,0xf3,0x00,0x80]
@------------------------------------------------------------------------------
@ ORN
@------------------------------------------------------------------------------
orn r4, r5, #0xf000
orn r4, r5, r6
orns r4, r5, r6
orn r4, r5, r6, lsl #5
orns r4, r5, r6, lsr #5
orn r4, r5, r6, lsr #5
orns r4, r5, r6, asr #5
orn r4, r5, r6, ror #5
@ CHECK: orn r4, r5, #61440 @ encoding: [0x65,0xf4,0x70,0x44]
@ CHECK: orn r4, r5, r6 @ encoding: [0x65,0xea,0x06,0x04]
@ CHECK: orns r4, r5, r6 @ encoding: [0x75,0xea,0x06,0x04]
@ CHECK: orn r4, r5, r6, lsl #5 @ encoding: [0x65,0xea,0x46,0x14]
@ CHECK: orns r4, r5, r6, lsr #5 @ encoding: [0x75,0xea,0x56,0x14]
@ CHECK: orn r4, r5, r6, lsr #5 @ encoding: [0x65,0xea,0x56,0x14]
@ CHECK: orns r4, r5, r6, asr #5 @ encoding: [0x75,0xea,0x66,0x14]
@ CHECK: orn r4, r5, r6, ror #5 @ encoding: [0x65,0xea,0x76,0x14]
@------------------------------------------------------------------------------
@ IT
@------------------------------------------------------------------------------