[ARM] Add support for ARMV6K subtarget (LLVM)
[oota-llvm.git] / test / MC / ARM / thumb-diagnostics.s
index bd26d06865ca12a4c4e486d2092d573cdd9317ed..5dcac90a901b7600ba59e3144b8fe5bb850b8a9b 100644 (file)
@@ -235,12 +235,16 @@ error: invalid operand for instruction
 @ CHECK-ERRORS: error: branch target out of range
 
 @------------------------------------------------------------------------------
-@ WFE/WFI/YIELD - are not supported pre v6T2
+@ SEV/WFE/WFI/YIELD - are not supported pre v6M or v6T2
 @------------------------------------------------------------------------------
+        sev
         wfe
         wfi
         yield
 
+@ CHECK-ERRORS: error: instruction requires: armv6m or armv6t2
+@ CHECK-ERRORS: sev
+@ CHECK-ERRORS: ^
 @ CHECK-ERRORS: error: instruction requires: armv6m or armv6t2
 @ CHECK-ERRORS: wfe
 @ CHECK-ERRORS: ^