1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485
|
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+ite < %s | FileCheck %s
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.8a -mattr=+ite < %s | FileCheck %s
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.9a -mattr=+ite < %s | FileCheck %s
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v9.3a -mattr=+ite < %s | FileCheck %s
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v9.4a -mattr=+ite < %s | FileCheck %s
// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding < %s 2>&1 | FileCheck --check-prefix=ERROR-NO-ITE %s
// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.8a < %s 2>&1 | FileCheck --check-prefix=ERROR-NO-ITE %s
// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.9a < %s 2>&1 | FileCheck --check-prefix=ERROR-NO-ITE %s
// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v9.3a < %s 2>&1 | FileCheck --check-prefix=ERROR-NO-ITE %s
// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v9.4a < %s 2>&1 | FileCheck --check-prefix=ERROR-NO-ITE %s
// FEAT_DEBUGv8p9
mrs x3, MDSELR_EL1
// CHECK: mrs x3, MDSELR_EL1 // encoding: [0x43,0x04,0x30,0xd5]
msr MDSELR_EL1, x1
// CHECK: msr MDSELR_EL1, x1 // encoding: [0x41,0x04,0x10,0xd5]
// FEAT_PMUv3p9
mrs x3, PMUACR_EL1
// CHECK: mrs x3, PMUACR_EL1 // encoding: [0x83,0x9e,0x38,0xd5]
msr PMUACR_EL1, x1
// CHECK: msr PMUACR_EL1, x1 // encoding: [0x81,0x9e,0x18,0xd5]
// FEAT_PMUv3_SS
mrs x3, PMCCNTSVR_EL1
// CHECK: mrs x3, PMCCNTSVR_EL1 // encoding: [0xe3,0xeb,0x30,0xd5]
mrs x3, PMICNTSVR_EL1
// CHECK: mrs x3, PMICNTSVR_EL1 // encoding: [0x03,0xec,0x30,0xd5]
mrs x3, PMSSCR_EL1
// CHECK: mrs x3, PMSSCR_EL1 // encoding: [0x63,0x9d,0x38,0xd5]
msr PMSSCR_EL1, x1
// CHECK: msr PMSSCR_EL1, x1 // encoding: [0x61,0x9d,0x18,0xd5]
mrs x3, PMEVCNTSVR0_EL1
// CHECK: mrs x3, PMEVCNTSVR0_EL1 // encoding: [0x03,0xe8,0x30,0xd5]
mrs x3, PMEVCNTSVR1_EL1
// CHECK: mrs x3, PMEVCNTSVR1_EL1 // encoding: [0x23,0xe8,0x30,0xd5]
mrs x3, PMEVCNTSVR2_EL1
// CHECK: mrs x3, PMEVCNTSVR2_EL1 // encoding: [0x43,0xe8,0x30,0xd5]
mrs x3, PMEVCNTSVR3_EL1
// CHECK: mrs x3, PMEVCNTSVR3_EL1 // encoding: [0x63,0xe8,0x30,0xd5]
mrs x3, PMEVCNTSVR4_EL1
// CHECK: mrs x3, PMEVCNTSVR4_EL1 // encoding: [0x83,0xe8,0x30,0xd5]
mrs x3, PMEVCNTSVR5_EL1
// CHECK: mrs x3, PMEVCNTSVR5_EL1 // encoding: [0xa3,0xe8,0x30,0xd5]
mrs x3, PMEVCNTSVR6_EL1
// CHECK: mrs x3, PMEVCNTSVR6_EL1 // encoding: [0xc3,0xe8,0x30,0xd5]
mrs x3, PMEVCNTSVR7_EL1
// CHECK: mrs x3, PMEVCNTSVR7_EL1 // encoding: [0xe3,0xe8,0x30,0xd5]
mrs x3, PMEVCNTSVR8_EL1
// CHECK: mrs x3, PMEVCNTSVR8_EL1 // encoding: [0x03,0xe9,0x30,0xd5]
mrs x3, PMEVCNTSVR9_EL1
// CHECK: mrs x3, PMEVCNTSVR9_EL1 // encoding: [0x23,0xe9,0x30,0xd5]
mrs x3, PMEVCNTSVR10_EL1
// CHECK: mrs x3, PMEVCNTSVR10_EL1 // encoding: [0x43,0xe9,0x30,0xd5]
mrs x3, PMEVCNTSVR11_EL1
// CHECK: mrs x3, PMEVCNTSVR11_EL1 // encoding: [0x63,0xe9,0x30,0xd5]
mrs x3, PMEVCNTSVR12_EL1
// CHECK: mrs x3, PMEVCNTSVR12_EL1 // encoding: [0x83,0xe9,0x30,0xd5]
mrs x3, PMEVCNTSVR13_EL1
// CHECK: mrs x3, PMEVCNTSVR13_EL1 // encoding: [0xa3,0xe9,0x30,0xd5]
mrs x3, PMEVCNTSVR14_EL1
// CHECK: mrs x3, PMEVCNTSVR14_EL1 // encoding: [0xc3,0xe9,0x30,0xd5]
mrs x3, PMEVCNTSVR15_EL1
// CHECK: mrs x3, PMEVCNTSVR15_EL1 // encoding: [0xe3,0xe9,0x30,0xd5]
mrs x3, PMEVCNTSVR16_EL1
// CHECK: mrs x3, PMEVCNTSVR16_EL1 // encoding: [0x03,0xea,0x30,0xd5]
mrs x3, PMEVCNTSVR17_EL1
// CHECK: mrs x3, PMEVCNTSVR17_EL1 // encoding: [0x23,0xea,0x30,0xd5]
mrs x3, PMEVCNTSVR18_EL1
// CHECK: mrs x3, PMEVCNTSVR18_EL1 // encoding: [0x43,0xea,0x30,0xd5]
mrs x3, PMEVCNTSVR19_EL1
// CHECK: mrs x3, PMEVCNTSVR19_EL1 // encoding: [0x63,0xea,0x30,0xd5]
mrs x3, PMEVCNTSVR20_EL1
// CHECK: mrs x3, PMEVCNTSVR20_EL1 // encoding: [0x83,0xea,0x30,0xd5]
mrs x3, PMEVCNTSVR21_EL1
// CHECK: mrs x3, PMEVCNTSVR21_EL1 // encoding: [0xa3,0xea,0x30,0xd5]
mrs x3, PMEVCNTSVR22_EL1
// CHECK: mrs x3, PMEVCNTSVR22_EL1 // encoding: [0xc3,0xea,0x30,0xd5]
mrs x3, PMEVCNTSVR23_EL1
// CHECK: mrs x3, PMEVCNTSVR23_EL1 // encoding: [0xe3,0xea,0x30,0xd5]
mrs x3, PMEVCNTSVR24_EL1
// CHECK: mrs x3, PMEVCNTSVR24_EL1 // encoding: [0x03,0xeb,0x30,0xd5]
mrs x3, PMEVCNTSVR25_EL1
// CHECK: mrs x3, PMEVCNTSVR25_EL1 // encoding: [0x23,0xeb,0x30,0xd5]
mrs x3, PMEVCNTSVR26_EL1
// CHECK: mrs x3, PMEVCNTSVR26_EL1 // encoding: [0x43,0xeb,0x30,0xd5]
mrs x3, PMEVCNTSVR27_EL1
// CHECK: mrs x3, PMEVCNTSVR27_EL1 // encoding: [0x63,0xeb,0x30,0xd5]
mrs x3, PMEVCNTSVR28_EL1
// CHECK: mrs x3, PMEVCNTSVR28_EL1 // encoding: [0x83,0xeb,0x30,0xd5]
mrs x3, PMEVCNTSVR29_EL1
// CHECK: mrs x3, PMEVCNTSVR29_EL1 // encoding: [0xa3,0xeb,0x30,0xd5]
mrs x3, PMEVCNTSVR30_EL1
// CHECK: mrs x3, PMEVCNTSVR30_EL1 // encoding: [0xc3,0xeb,0x30,0xd5]
// FEAT_PMUv3_ICNTR
mrs x3, PMICNTR_EL0
// CHECK: mrs x3, PMICNTR_EL0 // encoding: [0x03,0x94,0x3b,0xd5]
msr PMICNTR_EL0, x3
// CHECK: msr PMICNTR_EL0, x3 // encoding: [0x03,0x94,0x1b,0xd5]
mrs x3, PMICFILTR_EL0
// CHECK: mrs x3, PMICFILTR_EL0 // encoding: [0x03,0x96,0x3b,0xd5]
msr PMICFILTR_EL0, x3
// CHECK: msr PMICFILTR_EL0, x3 // encoding: [0x03,0x96,0x1b,0xd5]
// FEAT_PMUv3p9/FEAT_PMUV3_ICNTR
msr PMZR_EL0, x3
// CHECK: msr PMZR_EL0, x3 // encoding: [0x83,0x9d,0x1b,0xd5]
// FEAT_SEBEP
mrs x3, PMECR_EL1
// CHECK: mrs x3, PMECR_EL1 // encoding: [0xa3,0x9e,0x38,0xd5]
msr PMECR_EL1, x1
// CHECK: msr PMECR_EL1, x1 // encoding: [0xa1,0x9e,0x18,0xd5]
mrs x3, PMIAR_EL1
// CHECK: mrs x3, PMIAR_EL1 // encoding: [0xe3,0x9e,0x38,0xd5]
msr PMIAR_EL1, x1
// CHECK: msr PMIAR_EL1, x1 // encoding: [0xe1,0x9e,0x18,0xd5]
// FEAT_SPMU
mrs x3, SPMACCESSR_EL1
// CHECK: mrs x3, SPMACCESSR_EL1 // encoding: [0x63,0x9d,0x30,0xd5]
msr SPMACCESSR_EL1, x1
// CHECK: msr SPMACCESSR_EL1, x1 // encoding: [0x61,0x9d,0x10,0xd5]
mrs x3, SPMACCESSR_EL12
// CHECK: mrs x3, SPMACCESSR_EL12 // encoding: [0x63,0x9d,0x35,0xd5]
msr SPMACCESSR_EL12, x1
// CHECK: msr SPMACCESSR_EL12, x1 // encoding: [0x61,0x9d,0x15,0xd5]
mrs x3, SPMACCESSR_EL2
// CHECK: mrs x3, SPMACCESSR_EL2 // encoding: [0x63,0x9d,0x34,0xd5]
msr SPMACCESSR_EL2, x1
// CHECK: msr SPMACCESSR_EL2, x1 // encoding: [0x61,0x9d,0x14,0xd5]
mrs x3, SPMACCESSR_EL3
// CHECK: mrs x3, SPMACCESSR_EL3 // encoding: [0x63,0x9d,0x36,0xd5]
msr SPMACCESSR_EL3, x1
// CHECK: msr SPMACCESSR_EL3, x1 // encoding: [0x61,0x9d,0x16,0xd5]
mrs x3, SPMCNTENCLR_EL0
// CHECK: mrs x3, SPMCNTENCLR_EL0 // encoding: [0x43,0x9c,0x33,0xd5]
msr SPMCNTENCLR_EL0, x1
// CHECK: msr SPMCNTENCLR_EL0, x1 // encoding: [0x41,0x9c,0x13,0xd5]
mrs x3, SPMCNTENSET_EL0
// CHECK: mrs x3, SPMCNTENSET_EL0 // encoding: [0x23,0x9c,0x33,0xd5]
msr SPMCNTENSET_EL0, x1
// CHECK: msr SPMCNTENSET_EL0, x1 // encoding: [0x21,0x9c,0x13,0xd5]
mrs x3, SPMCR_EL0
// CHECK: mrs x3, SPMCR_EL0 // encoding: [0x03,0x9c,0x33,0xd5]
msr SPMCR_EL0, x1
// CHECK: msr SPMCR_EL0, x1 // encoding: [0x01,0x9c,0x13,0xd5]
mrs x3, SPMDEVAFF_EL1
// CHECK: mrs x3, SPMDEVAFF_EL1 // encoding: [0xc3,0x9d,0x30,0xd5]
mrs x3, SPMDEVARCH_EL1
// CHECK: mrs x3, SPMDEVARCH_EL1 // encoding: [0xa3,0x9d,0x30,0xd5]
mrs x3, SPMEVCNTR0_EL0
// CHECK: mrs x3, SPMEVCNTR0_EL0 // encoding: [0x03,0xe0,0x33,0xd5]
msr SPMEVCNTR0_EL0, x1
// CHECK: msr SPMEVCNTR0_EL0, x1 // encoding: [0x01,0xe0,0x13,0xd5]
mrs x3, SPMEVCNTR1_EL0
// CHECK: mrs x3, SPMEVCNTR1_EL0 // encoding: [0x23,0xe0,0x33,0xd5]
msr SPMEVCNTR1_EL0, x1
// CHECK: msr SPMEVCNTR1_EL0, x1 // encoding: [0x21,0xe0,0x13,0xd5]
mrs x3, SPMEVCNTR2_EL0
// CHECK: mrs x3, SPMEVCNTR2_EL0 // encoding: [0x43,0xe0,0x33,0xd5]
msr SPMEVCNTR2_EL0, x1
// CHECK: msr SPMEVCNTR2_EL0, x1 // encoding: [0x41,0xe0,0x13,0xd5]
mrs x3, SPMEVCNTR3_EL0
// CHECK: mrs x3, SPMEVCNTR3_EL0 // encoding: [0x63,0xe0,0x33,0xd5]
msr SPMEVCNTR3_EL0, x1
// CHECK: msr SPMEVCNTR3_EL0, x1 // encoding: [0x61,0xe0,0x13,0xd5]
mrs x3, SPMEVCNTR4_EL0
// CHECK: mrs x3, SPMEVCNTR4_EL0 // encoding: [0x83,0xe0,0x33,0xd5]
msr SPMEVCNTR4_EL0, x1
// CHECK: msr SPMEVCNTR4_EL0, x1 // encoding: [0x81,0xe0,0x13,0xd5]
mrs x3, SPMEVCNTR5_EL0
// CHECK: mrs x3, SPMEVCNTR5_EL0 // encoding: [0xa3,0xe0,0x33,0xd5]
msr SPMEVCNTR5_EL0, x1
// CHECK: msr SPMEVCNTR5_EL0, x1 // encoding: [0xa1,0xe0,0x13,0xd5]
mrs x3, SPMEVCNTR6_EL0
// CHECK: mrs x3, SPMEVCNTR6_EL0 // encoding: [0xc3,0xe0,0x33,0xd5]
msr SPMEVCNTR6_EL0, x1
// CHECK: msr SPMEVCNTR6_EL0, x1 // encoding: [0xc1,0xe0,0x13,0xd5]
mrs x3, SPMEVCNTR7_EL0
// CHECK: mrs x3, SPMEVCNTR7_EL0 // encoding: [0xe3,0xe0,0x33,0xd5]
msr SPMEVCNTR7_EL0, x1
// CHECK: msr SPMEVCNTR7_EL0, x1 // encoding: [0xe1,0xe0,0x13,0xd5]
mrs x3, SPMEVCNTR8_EL0
// CHECK: mrs x3, SPMEVCNTR8_EL0 // encoding: [0x03,0xe1,0x33,0xd5]
msr SPMEVCNTR8_EL0, x1
// CHECK: msr SPMEVCNTR8_EL0, x1 // encoding: [0x01,0xe1,0x13,0xd5]
mrs x3, SPMEVCNTR9_EL0
// CHECK: mrs x3, SPMEVCNTR9_EL0 // encoding: [0x23,0xe1,0x33,0xd5]
msr SPMEVCNTR9_EL0, x1
// CHECK: msr SPMEVCNTR9_EL0, x1 // encoding: [0x21,0xe1,0x13,0xd5]
mrs x3, SPMEVCNTR10_EL0
// CHECK: mrs x3, SPMEVCNTR10_EL0 // encoding: [0x43,0xe1,0x33,0xd5]
msr SPMEVCNTR10_EL0, x1
// CHECK: msr SPMEVCNTR10_EL0, x1 // encoding: [0x41,0xe1,0x13,0xd5]
mrs x3, SPMEVCNTR11_EL0
// CHECK: mrs x3, SPMEVCNTR11_EL0 // encoding: [0x63,0xe1,0x33,0xd5]
msr SPMEVCNTR11_EL0, x1
// CHECK: msr SPMEVCNTR11_EL0, x1 // encoding: [0x61,0xe1,0x13,0xd5]
mrs x3, SPMEVCNTR12_EL0
// CHECK: mrs x3, SPMEVCNTR12_EL0 // encoding: [0x83,0xe1,0x33,0xd5]
msr SPMEVCNTR12_EL0, x1
// CHECK: msr SPMEVCNTR12_EL0, x1 // encoding: [0x81,0xe1,0x13,0xd5]
mrs x3, SPMEVCNTR13_EL0
// CHECK: mrs x3, SPMEVCNTR13_EL0 // encoding: [0xa3,0xe1,0x33,0xd5]
msr SPMEVCNTR13_EL0, x1
// CHECK: msr SPMEVCNTR13_EL0, x1 // encoding: [0xa1,0xe1,0x13,0xd5]
mrs x3, SPMEVCNTR14_EL0
// CHECK: mrs x3, SPMEVCNTR14_EL0 // encoding: [0xc3,0xe1,0x33,0xd5]
msr SPMEVCNTR14_EL0, x1
// CHECK: msr SPMEVCNTR14_EL0, x1 // encoding: [0xc1,0xe1,0x13,0xd5]
mrs x3, SPMEVCNTR15_EL0
// CHECK: mrs x3, SPMEVCNTR15_EL0 // encoding: [0xe3,0xe1,0x33,0xd5]
msr SPMEVCNTR15_EL0, x1
// CHECK: msr SPMEVCNTR15_EL0, x1 // encoding: [0xe1,0xe1,0x13,0xd5]
mrs x3, SPMEVFILT2R0_EL0
// CHECK: mrs x3, SPMEVFILT2R0_EL0 // encoding: [0x03,0xe6,0x33,0xd5]
msr SPMEVFILT2R0_EL0, x1
// CHECK: msr SPMEVFILT2R0_EL0, x1 // encoding: [0x01,0xe6,0x13,0xd5]
mrs x3, SPMEVFILT2R1_EL0
// CHECK: mrs x3, SPMEVFILT2R1_EL0 // encoding: [0x23,0xe6,0x33,0xd5]
msr SPMEVFILT2R1_EL0, x1
// CHECK: msr SPMEVFILT2R1_EL0, x1 // encoding: [0x21,0xe6,0x13,0xd5]
mrs x3, SPMEVFILT2R2_EL0
// CHECK: mrs x3, SPMEVFILT2R2_EL0 // encoding: [0x43,0xe6,0x33,0xd5]
msr SPMEVFILT2R2_EL0, x1
// CHECK: msr SPMEVFILT2R2_EL0, x1 // encoding: [0x41,0xe6,0x13,0xd5]
mrs x3, SPMEVFILT2R3_EL0
// CHECK: mrs x3, SPMEVFILT2R3_EL0 // encoding: [0x63,0xe6,0x33,0xd5]
msr SPMEVFILT2R3_EL0, x1
// CHECK: msr SPMEVFILT2R3_EL0, x1 // encoding: [0x61,0xe6,0x13,0xd5]
mrs x3, SPMEVFILT2R4_EL0
// CHECK: mrs x3, SPMEVFILT2R4_EL0 // encoding: [0x83,0xe6,0x33,0xd5]
msr SPMEVFILT2R4_EL0, x1
// CHECK: msr SPMEVFILT2R4_EL0, x1 // encoding: [0x81,0xe6,0x13,0xd5]
mrs x3, SPMEVFILT2R5_EL0
// CHECK: mrs x3, SPMEVFILT2R5_EL0 // encoding: [0xa3,0xe6,0x33,0xd5]
msr SPMEVFILT2R5_EL0, x1
// CHECK: msr SPMEVFILT2R5_EL0, x1 // encoding: [0xa1,0xe6,0x13,0xd5]
mrs x3, SPMEVFILT2R6_EL0
// CHECK: mrs x3, SPMEVFILT2R6_EL0 // encoding: [0xc3,0xe6,0x33,0xd5]
msr SPMEVFILT2R6_EL0, x1
// CHECK: msr SPMEVFILT2R6_EL0, x1 // encoding: [0xc1,0xe6,0x13,0xd5]
mrs x3, SPMEVFILT2R7_EL0
// CHECK: mrs x3, SPMEVFILT2R7_EL0 // encoding: [0xe3,0xe6,0x33,0xd5]
msr SPMEVFILT2R7_EL0, x1
// CHECK: msr SPMEVFILT2R7_EL0, x1 // encoding: [0xe1,0xe6,0x13,0xd5]
mrs x3, SPMEVFILT2R8_EL0
// CHECK: mrs x3, SPMEVFILT2R8_EL0 // encoding: [0x03,0xe7,0x33,0xd5]
msr SPMEVFILT2R8_EL0, x1
// CHECK: msr SPMEVFILT2R8_EL0, x1 // encoding: [0x01,0xe7,0x13,0xd5]
mrs x3, SPMEVFILT2R9_EL0
// CHECK: mrs x3, SPMEVFILT2R9_EL0 // encoding: [0x23,0xe7,0x33,0xd5]
msr SPMEVFILT2R9_EL0, x1
// CHECK: msr SPMEVFILT2R9_EL0, x1 // encoding: [0x21,0xe7,0x13,0xd5]
mrs x3, SPMEVFILT2R10_EL0
// CHECK: mrs x3, SPMEVFILT2R10_EL0 // encoding: [0x43,0xe7,0x33,0xd5]
msr SPMEVFILT2R10_EL0, x1
// CHECK: msr SPMEVFILT2R10_EL0, x1 // encoding: [0x41,0xe7,0x13,0xd5]
mrs x3, SPMEVFILT2R11_EL0
// CHECK: mrs x3, SPMEVFILT2R11_EL0 // encoding: [0x63,0xe7,0x33,0xd5]
msr SPMEVFILT2R11_EL0, x1
// CHECK: msr SPMEVFILT2R11_EL0, x1 // encoding: [0x61,0xe7,0x13,0xd5]
mrs x3, SPMEVFILT2R12_EL0
// CHECK: mrs x3, SPMEVFILT2R12_EL0 // encoding: [0x83,0xe7,0x33,0xd5]
msr SPMEVFILT2R12_EL0, x1
// CHECK: msr SPMEVFILT2R12_EL0, x1 // encoding: [0x81,0xe7,0x13,0xd5]
mrs x3, SPMEVFILT2R13_EL0
// CHECK: mrs x3, SPMEVFILT2R13_EL0 // encoding: [0xa3,0xe7,0x33,0xd5]
msr SPMEVFILT2R13_EL0, x1
// CHECK: msr SPMEVFILT2R13_EL0, x1 // encoding: [0xa1,0xe7,0x13,0xd5]
mrs x3, SPMEVFILT2R14_EL0
// CHECK: mrs x3, SPMEVFILT2R14_EL0 // encoding: [0xc3,0xe7,0x33,0xd5]
msr SPMEVFILT2R14_EL0, x1
// CHECK: msr SPMEVFILT2R14_EL0, x1 // encoding: [0xc1,0xe7,0x13,0xd5]
mrs x3, SPMEVFILT2R15_EL0
// CHECK: mrs x3, SPMEVFILT2R15_EL0 // encoding: [0xe3,0xe7,0x33,0xd5]
msr SPMEVFILT2R15_EL0, x1
// CHECK: msr SPMEVFILT2R15_EL0, x1 // encoding: [0xe1,0xe7,0x13,0xd5]
mrs x3, SPMEVFILTR0_EL0
// CHECK: mrs x3, SPMEVFILTR0_EL0 // encoding: [0x03,0xe4,0x33,0xd5]
msr SPMEVFILTR0_EL0, x1
// CHECK: msr SPMEVFILTR0_EL0, x1 // encoding: [0x01,0xe4,0x13,0xd5]
mrs x3, SPMEVFILTR1_EL0
// CHECK: mrs x3, SPMEVFILTR1_EL0 // encoding: [0x23,0xe4,0x33,0xd5]
msr SPMEVFILTR1_EL0, x1
// CHECK: msr SPMEVFILTR1_EL0, x1 // encoding: [0x21,0xe4,0x13,0xd5]
mrs x3, SPMEVFILTR2_EL0
// CHECK: mrs x3, SPMEVFILTR2_EL0 // encoding: [0x43,0xe4,0x33,0xd5]
msr SPMEVFILTR2_EL0, x1
// CHECK: msr SPMEVFILTR2_EL0, x1 // encoding: [0x41,0xe4,0x13,0xd5]
mrs x3, SPMEVFILTR3_EL0
// CHECK: mrs x3, SPMEVFILTR3_EL0 // encoding: [0x63,0xe4,0x33,0xd5]
msr SPMEVFILTR3_EL0, x1
// CHECK: msr SPMEVFILTR3_EL0, x1 // encoding: [0x61,0xe4,0x13,0xd5]
mrs x3, SPMEVFILTR4_EL0
// CHECK: mrs x3, SPMEVFILTR4_EL0 // encoding: [0x83,0xe4,0x33,0xd5]
msr SPMEVFILTR4_EL0, x1
// CHECK: msr SPMEVFILTR4_EL0, x1 // encoding: [0x81,0xe4,0x13,0xd5]
mrs x3, SPMEVFILTR5_EL0
// CHECK: mrs x3, SPMEVFILTR5_EL0 // encoding: [0xa3,0xe4,0x33,0xd5]
msr SPMEVFILTR5_EL0, x1
// CHECK: msr SPMEVFILTR5_EL0, x1 // encoding: [0xa1,0xe4,0x13,0xd5]
mrs x3, SPMEVFILTR6_EL0
// CHECK: mrs x3, SPMEVFILTR6_EL0 // encoding: [0xc3,0xe4,0x33,0xd5]
msr SPMEVFILTR6_EL0, x1
// CHECK: msr SPMEVFILTR6_EL0, x1 // encoding: [0xc1,0xe4,0x13,0xd5]
mrs x3, SPMEVFILTR7_EL0
// CHECK: mrs x3, SPMEVFILTR7_EL0 // encoding: [0xe3,0xe4,0x33,0xd5]
msr SPMEVFILTR7_EL0, x1
// CHECK: msr SPMEVFILTR7_EL0, x1 // encoding: [0xe1,0xe4,0x13,0xd5]
mrs x3, SPMEVFILTR8_EL0
// CHECK: mrs x3, SPMEVFILTR8_EL0 // encoding: [0x03,0xe5,0x33,0xd5]
msr SPMEVFILTR8_EL0, x1
// CHECK: msr SPMEVFILTR8_EL0, x1 // encoding: [0x01,0xe5,0x13,0xd5]
mrs x3, SPMEVFILTR9_EL0
// CHECK: mrs x3, SPMEVFILTR9_EL0 // encoding: [0x23,0xe5,0x33,0xd5]
msr SPMEVFILTR9_EL0, x1
// CHECK: msr SPMEVFILTR9_EL0, x1 // encoding: [0x21,0xe5,0x13,0xd5]
mrs x3, SPMEVFILTR10_EL0
// CHECK: mrs x3, SPMEVFILTR10_EL0 // encoding: [0x43,0xe5,0x33,0xd5]
msr SPMEVFILTR10_EL0, x1
// CHECK: msr SPMEVFILTR10_EL0, x1 // encoding: [0x41,0xe5,0x13,0xd5]
mrs x3, SPMEVFILTR11_EL0
// CHECK: mrs x3, SPMEVFILTR11_EL0 // encoding: [0x63,0xe5,0x33,0xd5]
msr SPMEVFILTR11_EL0, x1
// CHECK: msr SPMEVFILTR11_EL0, x1 // encoding: [0x61,0xe5,0x13,0xd5]
mrs x3, SPMEVFILTR12_EL0
// CHECK: mrs x3, SPMEVFILTR12_EL0 // encoding: [0x83,0xe5,0x33,0xd5]
msr SPMEVFILTR12_EL0, x1
// CHECK: msr SPMEVFILTR12_EL0, x1 // encoding: [0x81,0xe5,0x13,0xd5]
mrs x3, SPMEVFILTR13_EL0
// CHECK: mrs x3, SPMEVFILTR13_EL0 // encoding: [0xa3,0xe5,0x33,0xd5]
msr SPMEVFILTR13_EL0, x1
// CHECK: msr SPMEVFILTR13_EL0, x1 // encoding: [0xa1,0xe5,0x13,0xd5]
mrs x3, SPMEVFILTR14_EL0
// CHECK: mrs x3, SPMEVFILTR14_EL0 // encoding: [0xc3,0xe5,0x33,0xd5]
msr SPMEVFILTR14_EL0, x1
// CHECK: msr SPMEVFILTR14_EL0, x1 // encoding: [0xc1,0xe5,0x13,0xd5]
mrs x3, SPMEVFILTR15_EL0
// CHECK: mrs x3, SPMEVFILTR15_EL0 // encoding: [0xe3,0xe5,0x33,0xd5]
msr SPMEVFILTR15_EL0, x1
// CHECK: msr SPMEVFILTR15_EL0, x1 // encoding: [0xe1,0xe5,0x13,0xd5]
mrs x3, SPMEVTYPER0_EL0
// CHECK: mrs x3, SPMEVTYPER0_EL0 // encoding: [0x03,0xe2,0x33,0xd5]
msr SPMEVTYPER0_EL0, x1
// CHECK: msr SPMEVTYPER0_EL0, x1 // encoding: [0x01,0xe2,0x13,0xd5]
mrs x3, SPMEVTYPER1_EL0
// CHECK: mrs x3, SPMEVTYPER1_EL0 // encoding: [0x23,0xe2,0x33,0xd5]
msr SPMEVTYPER1_EL0, x1
// CHECK: msr SPMEVTYPER1_EL0, x1 // encoding: [0x21,0xe2,0x13,0xd5]
mrs x3, SPMEVTYPER2_EL0
// CHECK: mrs x3, SPMEVTYPER2_EL0 // encoding: [0x43,0xe2,0x33,0xd5]
msr SPMEVTYPER2_EL0, x1
// CHECK: msr SPMEVTYPER2_EL0, x1 // encoding: [0x41,0xe2,0x13,0xd5]
mrs x3, SPMEVTYPER3_EL0
// CHECK: mrs x3, SPMEVTYPER3_EL0 // encoding: [0x63,0xe2,0x33,0xd5]
msr SPMEVTYPER3_EL0, x1
// CHECK: msr SPMEVTYPER3_EL0, x1 // encoding: [0x61,0xe2,0x13,0xd5]
mrs x3, SPMEVTYPER4_EL0
// CHECK: mrs x3, SPMEVTYPER4_EL0 // encoding: [0x83,0xe2,0x33,0xd5]
msr SPMEVTYPER4_EL0, x1
// CHECK: msr SPMEVTYPER4_EL0, x1 // encoding: [0x81,0xe2,0x13,0xd5]
mrs x3, SPMEVTYPER5_EL0
// CHECK: mrs x3, SPMEVTYPER5_EL0 // encoding: [0xa3,0xe2,0x33,0xd5]
msr SPMEVTYPER5_EL0, x1
// CHECK: msr SPMEVTYPER5_EL0, x1 // encoding: [0xa1,0xe2,0x13,0xd5]
mrs x3, SPMEVTYPER6_EL0
// CHECK: mrs x3, SPMEVTYPER6_EL0 // encoding: [0xc3,0xe2,0x33,0xd5]
msr SPMEVTYPER6_EL0, x1
// CHECK: msr SPMEVTYPER6_EL0, x1 // encoding: [0xc1,0xe2,0x13,0xd5]
mrs x3, SPMEVTYPER7_EL0
// CHECK: mrs x3, SPMEVTYPER7_EL0 // encoding: [0xe3,0xe2,0x33,0xd5]
msr SPMEVTYPER7_EL0, x1
// CHECK: msr SPMEVTYPER7_EL0, x1 // encoding: [0xe1,0xe2,0x13,0xd5]
mrs x3, SPMEVTYPER8_EL0
// CHECK: mrs x3, SPMEVTYPER8_EL0 // encoding: [0x03,0xe3,0x33,0xd5]
msr SPMEVTYPER8_EL0, x1
// CHECK: msr SPMEVTYPER8_EL0, x1 // encoding: [0x01,0xe3,0x13,0xd5]
mrs x3, SPMEVTYPER9_EL0
// CHECK: mrs x3, SPMEVTYPER9_EL0 // encoding: [0x23,0xe3,0x33,0xd5]
msr SPMEVTYPER9_EL0, x1
// CHECK: msr SPMEVTYPER9_EL0, x1 // encoding: [0x21,0xe3,0x13,0xd5]
mrs x3, SPMEVTYPER10_EL0
// CHECK: mrs x3, SPMEVTYPER10_EL0 // encoding: [0x43,0xe3,0x33,0xd5]
msr SPMEVTYPER10_EL0, x1
// CHECK: msr SPMEVTYPER10_EL0, x1 // encoding: [0x41,0xe3,0x13,0xd5]
mrs x3, SPMEVTYPER11_EL0
// CHECK: mrs x3, SPMEVTYPER11_EL0 // encoding: [0x63,0xe3,0x33,0xd5]
msr SPMEVTYPER11_EL0, x1
// CHECK: msr SPMEVTYPER11_EL0, x1 // encoding: [0x61,0xe3,0x13,0xd5]
mrs x3, SPMEVTYPER12_EL0
// CHECK: mrs x3, SPMEVTYPER12_EL0 // encoding: [0x83,0xe3,0x33,0xd5]
msr SPMEVTYPER12_EL0, x1
// CHECK: msr SPMEVTYPER12_EL0, x1 // encoding: [0x81,0xe3,0x13,0xd5]
mrs x3, SPMEVTYPER13_EL0
// CHECK: mrs x3, SPMEVTYPER13_EL0 // encoding: [0xa3,0xe3,0x33,0xd5]
msr SPMEVTYPER13_EL0, x1
// CHECK: msr SPMEVTYPER13_EL0, x1 // encoding: [0xa1,0xe3,0x13,0xd5]
mrs x3, SPMEVTYPER14_EL0
// CHECK: mrs x3, SPMEVTYPER14_EL0 // encoding: [0xc3,0xe3,0x33,0xd5]
msr SPMEVTYPER14_EL0, x1
// CHECK: msr SPMEVTYPER14_EL0, x1 // encoding: [0xc1,0xe3,0x13,0xd5]
mrs x3, SPMEVTYPER15_EL0
// CHECK: mrs x3, SPMEVTYPER15_EL0 // encoding: [0xe3,0xe3,0x33,0xd5]
msr SPMEVTYPER15_EL0, x1
// CHECK: msr SPMEVTYPER15_EL0, x1 // encoding: [0xe1,0xe3,0x13,0xd5]
mrs x3, SPMIIDR_EL1
// CHECK: mrs x3, SPMIIDR_EL1 // encoding: [0x83,0x9d,0x30,0xd5]
mrs x3, SPMINTENCLR_EL1
// CHECK: mrs x3, SPMINTENCLR_EL1 // encoding: [0x43,0x9e,0x30,0xd5]
msr SPMINTENCLR_EL1, x1
// CHECK: msr SPMINTENCLR_EL1, x1 // encoding: [0x41,0x9e,0x10,0xd5]
mrs x3, SPMINTENSET_EL1
// CHECK: mrs x3, SPMINTENSET_EL1 // encoding: [0x23,0x9e,0x30,0xd5]
msr SPMINTENSET_EL1, x1
// CHECK: msr SPMINTENSET_EL1, x1 // encoding: [0x21,0x9e,0x10,0xd5]
mrs x3, SPMOVSCLR_EL0
// CHECK: mrs x3, SPMOVSCLR_EL0 // encoding: [0x63,0x9c,0x33,0xd5]
msr SPMOVSCLR_EL0, x1
// CHECK: msr SPMOVSCLR_EL0, x1 // encoding: [0x61,0x9c,0x13,0xd5]
mrs x3, SPMOVSSET_EL0
// CHECK: mrs x3, SPMOVSSET_EL0 // encoding: [0x63,0x9e,0x33,0xd5]
msr SPMOVSSET_EL0, x1
// CHECK: msr SPMOVSSET_EL0, x1 // encoding: [0x61,0x9e,0x13,0xd5]
mrs x3, SPMSELR_EL0
// CHECK: mrs x3, SPMSELR_EL0 // encoding: [0xa3,0x9c,0x33,0xd5]
msr SPMSELR_EL0, x1
// CHECK: msr SPMSELR_EL0, x1 // encoding: [0xa1,0x9c,0x13,0xd5]
mrs x3, SPMCGCR0_EL1
// CHECK: mrs x3, SPMCGCR0_EL1 // encoding: [0x03,0x9d,0x30,0xd5]
mrs x3, SPMCGCR1_EL1
// CHECK: mrs x3, SPMCGCR1_EL1 // encoding: [0x23,0x9d,0x30,0xd5]
mrs x3, SPMCFGR_EL1
// CHECK: mrs x3, SPMCFGR_EL1 // encoding: [0xe3,0x9d,0x30,0xd5]
mrs x3, SPMROOTCR_EL3
// CHECK: mrs x3, SPMROOTCR_EL3 // encoding: [0xe3,0x9e,0x36,0xd5]
msr SPMROOTCR_EL3, x3
// CHECK: msr SPMROOTCR_EL3, x3 // encoding: [0xe3,0x9e,0x16,0xd5]
mrs x3, SPMSCR_EL1
// CHECK: mrs x3, SPMSCR_EL1 // encoding: [0xe3,0x9e,0x37,0xd5]
msr SPMSCR_EL1, x3
// CHECK: msr SPMSCR_EL1, x3 // encoding: [0xe3,0x9e,0x17,0xd5]
// FEAT_ITE
mrs x3, TRCITEEDCR
// CHECK: mrs x3, TRCITEEDCR // encoding: [0x23,0x02,0x31,0xd5]
// ERROR-NO-ITE: [[@LINE-2]]:21: error: expected readable system register
msr TRCITEEDCR, x3
// CHECK: msr TRCITEEDCR, x3 // encoding: [0x23,0x02,0x11,0xd5]
// ERROR-NO-ITE: [[@LINE-2]]:17: error: expected writable system register
mrs x3, TRCITECR_EL1
// CHECK: mrs x3, TRCITECR_EL1 // encoding: [0x63,0x12,0x38,0xd5]
// ERROR-NO-ITE: [[@LINE-2]]:21: error: expected readable system register
msr TRCITECR_EL1, x1
// CHECK: msr TRCITECR_EL1, x1 // encoding: [0x61,0x12,0x18,0xd5]
// ERROR-NO-ITE: [[@LINE-2]]:17: error: expected writable system register or pstate
mrs x3, TRCITECR_EL12
// CHECK: mrs x3, TRCITECR_EL12 // encoding: [0x63,0x12,0x3d,0xd5]
// ERROR-NO-ITE: [[@LINE-2]]:21: error: expected readable system register
msr TRCITECR_EL12, x1
// CHECK: msr TRCITECR_EL12, x1 // encoding: [0x61,0x12,0x1d,0xd5]
// ERROR-NO-ITE: [[@LINE-2]]:17: error: expected writable system register or pstate
mrs x3, TRCITECR_EL2
// CHECK: mrs x3, TRCITECR_EL2 // encoding: [0x63,0x12,0x3c,0xd5]
// ERROR-NO-ITE: [[@LINE-2]]:21: error: expected readable system register
msr TRCITECR_EL2, x1
// CHECK: msr TRCITECR_EL2, x1 // encoding: [0x61,0x12,0x1c,0xd5]
// ERROR-NO-ITE: [[@LINE-2]]:17: error: expected writable system register or pstate
trcit x1
// CHECK: trcit x1 // encoding: [0xe1,0x72,0x0b,0xd5]
// ERROR-NO-ITE: [[@LINE-2]]:13: error: instruction requires: ite
// FEAT_SPE_FDS
mrs x3, PMSDSFR_EL1
// CHECK: mrs x3, PMSDSFR_EL1 // encoding: [0x83,0x9a,0x38,0xd5]
msr PMSDSFR_EL1, x3
// CHECK: msr PMSDSFR_EL1, x3 // encoding: [0x83,0x9a,0x18,0xd5]
|