Thumb2 assembly parsing and encoding for ORR.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139742 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach 2011-09-14 21:43:57 +00:00
parent b72504b4fa
commit 0b3ed6de80

View File

@ -1197,6 +1197,26 @@ _func:
@ CHECK: orn r4, r5, r6, ror #5 @ encoding: [0x65,0xea,0x76,0x14]
@------------------------------------------------------------------------------
@ ORR
@------------------------------------------------------------------------------
orr r4, r5, #0xf000
orr r4, r5, r6
orr r4, r5, r6, lsl #5
orrs r4, r5, r6, lsr #5
orr r4, r5, r6, lsr #5
orrs r4, r5, r6, asr #5
orr r4, r5, r6, ror #5
@ CHECK: orr r4, r5, #61440 @ encoding: [0x45,0xf4,0x70,0x44]
@ CHECK: orr.w r4, r5, r6 @ encoding: [0x45,0xea,0x06,0x04]
@ CHECK: orr.w r4, r5, r6, lsl #5 @ encoding: [0x45,0xea,0x46,0x14]
@ CHECK: orrs.w r4, r5, r6, lsr #5 @ encoding: [0x55,0xea,0x56,0x14]
@ CHECK: orr.w r4, r5, r6, lsr #5 @ encoding: [0x45,0xea,0x56,0x14]
@ CHECK: orrs.w r4, r5, r6, asr #5 @ encoding: [0x55,0xea,0x66,0x14]
@ CHECK: orr.w r4, r5, r6, ror #5 @ encoding: [0x45,0xea,0x76,0x14]
@------------------------------------------------------------------------------
@ IT
@------------------------------------------------------------------------------