1# RUN: not llvm-mc -disassemble -triple=thumbv8.1m.main-none-eabi -show-encoding < %s 2> %t | FileCheck %s 2# RUN: FileCheck --check-prefix=ERROR < %t %s 3 4[0x9f,0xe8,0x0f,0x00] 5# CHECK: clrm {r0, r1, r2, r3} @ encoding: [0x9f,0xe8,0x0f,0x00] 6 7[0x9f,0xe8,0xff,0xdf] 8# CHECK: clrm {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, lr, apsr} @ encoding: [0x9f,0xe8,0xff,0xdf] 9 10[0x9f,0xe8,0x00,0x10] 11# CHECK: clrm {r12} @ encoding: [0x9f,0xe8,0x00,0x10] 12 13[0x9f,0xe8,0x00,0x40] 14# CHECK: clrm {lr} @ encoding: [0x9f,0xe8,0x00,0x40] 15 16[0x9f,0xe8,0x00,0x80] 17# CHECK: clrm {apsr} @ encoding: [0x9f,0xe8,0x00,0x80] 18 19[0x04,0xbf] 20[0x9f,0xe8,0x0f,0x00] 21# CHECK: itt eq 22# CHECK: clrmeq {r0, r1, r2, r3} 23 24[0x9f,0xe8,0x00,0x00] 25# ERROR: [[@LINE-1]]:2: warning: invalid instruction encoding 26