1 @ RUN: llvm-mc -triple=thumbv7-apple-darwin -show-encoding < %s | FileCheck %s
5 @ Check that the assembler can handle the documented syntax from the ARM ARM.
6 @ For complex constructs like shifter operands, check more thoroughly for them
7 @ once then spot check that following instructions accept the form generally.
8 @ This gives us good coverage while keeping the overall size of the test
12 @ FIXME: Some 3-operand instructions have a 2-operand assembly syntax.
17 @------------------------------------------------------------------------------
19 @------------------------------------------------------------------------------
20 @ Test encodings of a few full IT blocks, not just the IT instruction
28 @ CHECK: iteet eq @ encoding: [0x0d,0xbf]
29 @ CHECK: addeq r0, r1, r2 @ encoding: [0x88,0x18]
30 @ CHECK: nopne @ encoding: [0x00,0xbf]
31 @ CHECK: subne r5, r6, r7 @ encoding: [0xf5,0x1b]
32 @ CHECK: addeq r1, r2, #4 @ encoding: [0x11,0x1d]