Fix encoding and add parsing support for the arm/thumb CPS instruction:
[oota-llvm.git] / test / MC / ARM / thumb2.s
index b8b068fd901c25cf7891c294d2d17faaa232722c..be4e555dc4542c98e104f1a2ec7e8f6eb3093efd 100644 (file)
 @ CHECK: dsb  oshst @ encoding: [0xbf,0xf3,0x42,0x8f]
   dsb  oshst
 
+@ CHECK: cpsie.w  aif @ encoding: [0xaf,0xf3,0xe0,0x84]
+  cpsie.w  aif
+@ CHECK: cps  #15 @ encoding: [0xaf,0xf3,0x0f,0x81]
+  cps  #15
+@ CHECK: cpsie.w  if, #10 @ encoding: [0xaf,0xf3,0x6a,0x85]
+  cpsie.w  if, #10
+