ARM: ISB cannot be passed the same options as DMB
[oota-llvm.git] / test / MC / ARM / basic-arm-instructions.s
index 4b72c14b9788746ccb49656a673b083caad64af5..8aec4b3e60337ff1e9ad68a11ffce6fc8d34fa0b 100644 (file)
@@ -778,9 +778,13 @@ Lforward:
 @------------------------------------------------------------------------------
         isb sy
         isb
+        isb #15
+        isb #1
 
 @ CHECK: isb sy                         @ encoding: [0x6f,0xf0,0x7f,0xf5]
 @ CHECK: isb sy                         @ encoding: [0x6f,0xf0,0x7f,0xf5]
+@ CHECK: isb sy                         @ encoding: [0x6f,0xf0,0x7f,0xf5]
+@ CHECK: isb #0x1                       @ encoding: [0x61,0xf0,0x7f,0xf5]
 
 
 @------------------------------------------------------------------------------