mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
74423e32ce
"Although a Thumb2 instruction, the IT mnemonic shall be permitted in ARM mode, and the condition verified to match the condition code(s) on the following instruction(s)." PR11853 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148969 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
284 B
ArmAsm
12 lines
284 B
ArmAsm
@ RUN: llvm-mc -triple=armv7-apple-darwin -show-encoding < %s | FileCheck %s
|
|
.syntax unified
|
|
.globl _func
|
|
|
|
_func:
|
|
@ CHECK: _func:
|
|
it eq
|
|
moveq r2, r3
|
|
@ 'it' is parsed but not encoded.
|
|
@ CHECK-NOT: it
|
|
@ CHECK: moveq r2, r3 @ encoding: [0x03,0x20,0xa0,0x01]
|