ARM: ISB cannot be passed the same options as DMB
[oota-llvm.git] / test / MC / ARM / basic-thumb2-instructions.s
index 8127feba6d40a6e02f238621039b60d46e65c4de..98eb7f243fed112ee3f82c462e1f1fe3f8a084c9 100644 (file)
@@ -571,9 +571,13 @@ _func:
 @------------------------------------------------------------------------------
         isb sy
         isb
+        isb #15
+        isb #1
 
 @ CHECK: isb   sy                      @ encoding: [0xbf,0xf3,0x6f,0x8f]
 @ CHECK: isb   sy                      @ encoding: [0xbf,0xf3,0x6f,0x8f]
+@ CHECK: isb   sy                      @ encoding: [0xbf,0xf3,0x6f,0x8f]
+@ CHECK: isb   #0x1                    @ encoding: [0xbf,0xf3,0x61,0x8f]
 
 
 @------------------------------------------------------------------------------