1# RUN: llvm-mc -triple=thumbv8.1m.main-none-eabi -mattr=+8msecext,+mve -show-encoding -disassemble < %s 2> %t | FileCheck --check-prefix=CHECK %s 2# RUN: FileCheck --check-prefix=STDERR < %t %s 3 4# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 5# CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a] 6[0xe1,0xee,0x11,0x0a] 7 8# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 9# CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a] 10[0xe1,0xee,0x12,0x0a] 11 12# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 13# CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a] 14[0xe1,0xee,0x13,0x0a] 15 16# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 17# CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a] 18[0xe1,0xee,0x14,0x0a] 19 20# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 21# CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a] 22[0xe1,0xee,0x15,0x0a] 23 24# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 25# CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a] 26[0xe1,0xee,0x16,0x0a] 27 28# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 29# CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a] 30[0xe1,0xee,0x17,0x0a] 31 32# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 33# CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a] 34[0xe1,0xee,0x18,0x0a] 35 36# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 37# CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a] 38[0xe1,0xee,0x19,0x0a] 39 40# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 41# CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a] 42[0xe1,0xee,0x1a,0x0a] 43 44# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 45# CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a] 46[0xe1,0xee,0x1b,0x0a] 47 48# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 49# CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a] 50[0xe1,0xee,0x1c,0x0a] 51 52# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 53# CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a] 54[0xe1,0xee,0x1d,0x0a] 55 56# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 57# CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a] 58[0xe1,0xee,0x1e,0x0a] 59 60# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 61# CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a] 62[0xe1,0xee,0x1f,0x0a] 63 64# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 65# CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a] 66[0xe1,0xee,0x30,0x0a] 67 68# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 69# CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a] 70[0xe1,0xee,0x50,0x0a] 71 72# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 73# CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a] 74[0xe1,0xee,0x70,0x0a] 75 76# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 77# CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a] 78[0xe1,0xee,0x90,0x0a] 79 80# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 81# CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a] 82[0xe1,0xee,0xb0,0x0a] 83 84# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 85# CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a] 86[0xe1,0xee,0xd0,0x0a] 87 88# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 89# CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a] 90[0xe1,0xee,0xf0,0x0a] 91 92# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 93# CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a] 94[0xf1,0xee,0x11,0x0a] 95 96# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 97# CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a] 98[0xf1,0xee,0x12,0x0a] 99 100# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 101# CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a] 102[0xf1,0xee,0x13,0x0a] 103 104# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 105# CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a] 106[0xf1,0xee,0x14,0x0a] 107 108# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 109# CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a] 110[0xf1,0xee,0x15,0x0a] 111 112# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 113# CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a] 114[0xf1,0xee,0x16,0x0a] 115 116# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 117# CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a] 118[0xf1,0xee,0x17,0x0a] 119 120# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 121# CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a] 122[0xf1,0xee,0x18,0x0a] 123 124# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 125# CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a] 126[0xf1,0xee,0x19,0x0a] 127 128# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 129# CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a] 130[0xf1,0xee,0x1a,0x0a] 131 132# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 133# CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a] 134[0xf1,0xee,0x1b,0x0a] 135 136# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 137# CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a] 138[0xf1,0xee,0x1c,0x0a] 139 140# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 141# CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a] 142[0xf1,0xee,0x1d,0x0a] 143 144# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 145# CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a] 146[0xf1,0xee,0x1e,0x0a] 147 148# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 149# CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a] 150[0xf1,0xee,0x1f,0x0a] 151 152# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 153# CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a] 154[0xf1,0xee,0x30,0x0a] 155 156# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 157# CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a] 158[0xf1,0xee,0x50,0x0a] 159 160# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 161# CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a] 162[0xf1,0xee,0x70,0x0a] 163 164# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 165# CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a] 166[0xf1,0xee,0x90,0x0a] 167 168# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 169# CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a] 170[0xf1,0xee,0xb0,0x0a] 171 172# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 173# CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a] 174[0xf1,0xee,0xd0,0x0a] 175 176# STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding 177# CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a] 178[0xf1,0xee,0xf0,0x0a] 179