MC: Move MCSymbolData to MCSymbol.h, NFC
[oota-llvm.git] / test / MC / ARM / thumb2-diagnostics.s
index 5376c32406910d60d097ea626005a8f9a7fc6570..8fd161c2cc5396fb8c3e6b0cd346185653ad51b3 100644 (file)
@@ -9,9 +9,6 @@
         iteeee gt
         ittfe le
         nopeq
-        ite eq
-        ldmiaeq sp!, {r4, pc}
-        movne r0, #0
 
 @ CHECK-ERRORS: error: incorrect condition in IT block; got 'le', but expected 'eq'
 @ CHECK-ERRORS:         addle r0, r1, r2
@@ -31,9 +28,6 @@
 @ CHECK-ERRORS: error: predicated instructions must be in IT block
 @ CHECK-ERRORS:         nopeq
 @ CHECK-ERRORS:         ^
-@ CHECK-ERRORS: error: Instruction should be outside an IT block or last in IT block, when PC is in the register list
-@ CHECK-ERRORS:         ldmiaeq sp!, {r4, pc}
-@ CHECK-ERRORS:                      ^
 
         @ Out of range immediates for MRC/MRC2/MRRC/MRRC2
         mrc  p14, #8, r1, c1, c2, #4
@@ -93,4 +87,7 @@ foo2:
 @ CHECK-ERRORS: error: invalid operand for instruction
 @ CHECK-ERRORS: error: invalid operand for instruction
 
-
+ssat r0, #1, r0, asr #32
+usat r0, #1, r0, asr #32
+@ CHECK-ERRORS: error: 'asr #32' shift amount not allowed in Thumb mode
+@ CHECK-ERRORS: error: 'asr #32' shift amount not allowed in Thumb mode