brintos

brintos / llvm-project-archived public Read only

0
0
Text · 21.3 KiB · 07735db Raw
510 lines · plain
1// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.4a < %s 2> %t | FileCheck %s --check-prefix=CHECK2// RUN: FileCheck --check-prefix=CHECK-RO < %t %s3// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=-v8.4a < %s 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR4 5//------------------------------------------------------------------------------6// ARMV8.4-A Activity Monitors7//------------------------------------------------------------------------------8 9msr AMCR_EL0, x010msr AMCFGR_EL0, x011msr AMCGCR_EL0, x012msr AMUSERENR_EL0, x013msr AMCNTENCLR0_EL0, x014msr AMCNTENSET0_EL0, x015msr AMEVCNTR00_EL0, x016msr AMEVCNTR01_EL0, x017msr AMEVCNTR02_EL0, x018msr AMEVCNTR03_EL0, x019msr AMEVTYPER00_EL0, x020msr AMEVTYPER01_EL0, x021msr AMEVTYPER02_EL0, x022msr AMEVTYPER03_EL0, x023msr AMCNTENCLR1_EL0, x024msr AMCNTENSET1_EL0, x025msr AMEVCNTR10_EL0, x026msr AMEVCNTR11_EL0, x027msr AMEVCNTR12_EL0, x028msr AMEVCNTR13_EL0, x029msr AMEVCNTR14_EL0, x030msr AMEVCNTR15_EL0, x031msr AMEVCNTR16_EL0, x032msr AMEVCNTR17_EL0, x033msr AMEVCNTR18_EL0, x034msr AMEVCNTR19_EL0, x035msr AMEVCNTR110_EL0, x036msr AMEVCNTR111_EL0, x037msr AMEVCNTR112_EL0, x038msr AMEVCNTR113_EL0, x039msr AMEVCNTR114_EL0, x040msr AMEVCNTR115_EL0, x041msr AMEVTYPER10_EL0, x042msr AMEVTYPER11_EL0, x043msr AMEVTYPER12_EL0, x044msr AMEVTYPER13_EL0, x045msr AMEVTYPER14_EL0, x046msr AMEVTYPER15_EL0, x047msr AMEVTYPER16_EL0, x048msr AMEVTYPER17_EL0, x049msr AMEVTYPER18_EL0, x050msr AMEVTYPER19_EL0, x051msr AMEVTYPER110_EL0, x052msr AMEVTYPER111_EL0, x053msr AMEVTYPER112_EL0, x054msr AMEVTYPER113_EL0, x055msr AMEVTYPER114_EL0, x056msr AMEVTYPER115_EL0, x057 58mrs x0, AMCR_EL059mrs x0, AMCFGR_EL060mrs x0, AMCGCR_EL061mrs x0, AMUSERENR_EL062mrs x0, AMCNTENCLR0_EL063mrs x0, AMCNTENSET0_EL064mrs x0, AMEVCNTR00_EL065mrs x0, AMEVCNTR01_EL066mrs x0, AMEVCNTR02_EL067mrs x0, AMEVCNTR03_EL068mrs x0, AMEVTYPER00_EL069mrs x0, AMEVTYPER01_EL070mrs x0, AMEVTYPER02_EL071mrs x0, AMEVTYPER03_EL072mrs x0, AMCNTENCLR1_EL073mrs x0, AMCNTENSET1_EL074mrs x0, AMEVCNTR10_EL075mrs x0, AMEVCNTR11_EL076mrs x0, AMEVCNTR12_EL077mrs x0, AMEVCNTR13_EL078mrs x0, AMEVCNTR14_EL079mrs x0, AMEVCNTR15_EL080mrs x0, AMEVCNTR16_EL081mrs x0, AMEVCNTR17_EL082mrs x0, AMEVCNTR18_EL083mrs x0, AMEVCNTR19_EL084mrs x0, AMEVCNTR110_EL085mrs x0, AMEVCNTR111_EL086mrs x0, AMEVCNTR112_EL087mrs x0, AMEVCNTR113_EL088mrs x0, AMEVCNTR114_EL089mrs x0, AMEVCNTR115_EL090mrs x0, AMEVTYPER10_EL091mrs x0, AMEVTYPER11_EL092mrs x0, AMEVTYPER12_EL093mrs x0, AMEVTYPER13_EL094mrs x0, AMEVTYPER14_EL095mrs x0, AMEVTYPER15_EL096mrs x0, AMEVTYPER16_EL097mrs x0, AMEVTYPER17_EL098mrs x0, AMEVTYPER18_EL099mrs x0, AMEVTYPER19_EL0100mrs x0, AMEVTYPER110_EL0101mrs x0, AMEVTYPER111_EL0102mrs x0, AMEVTYPER112_EL0103mrs x0, AMEVTYPER113_EL0104mrs x0, AMEVTYPER114_EL0105mrs x0, AMEVTYPER115_EL0106 107 108//CHECK-RO: error: expected writable system register or pstate109//CHECK-RO: msr AMCFGR_EL0, x0110//CHECK-RO:     ^111//CHECK-RO: error: expected writable system register or pstate112//CHECK-RO: msr AMCGCR_EL0, x0113//CHECK-RO:     ^114//CHECK-RO: error: expected writable system register or pstate115//CHECK-RO: msr AMEVTYPER00_EL0, x0116//CHECK-RO:     ^117//CHECK-RO: error: expected writable system register or pstate118//CHECK-RO: msr AMEVTYPER01_EL0, x0119//CHECK-RO:     ^120//CHECK-RO: error: expected writable system register or pstate121//CHECK-RO: msr AMEVTYPER02_EL0, x0122//CHECK-RO:     ^123//CHECK-RO: error: expected writable system register or pstate124//CHECK-RO: msr AMEVTYPER03_EL0, x0125//CHECK-RO:     ^126 127 128//CHECK:  msr AMCR_EL0, x0            // encoding: [0x00,0xd2,0x1b,0xd5]129//CHECK:  msr AMUSERENR_EL0, x0       // encoding: [0x60,0xd2,0x1b,0xd5]130//CHECK:  msr AMCNTENCLR0_EL0, x0     // encoding: [0x80,0xd2,0x1b,0xd5]131//CHECK:  msr AMCNTENSET0_EL0, x0     // encoding: [0xa0,0xd2,0x1b,0xd5]132//CHECK:  msr AMEVCNTR00_EL0, x0      // encoding: [0x00,0xd4,0x1b,0xd5]133//CHECK:  msr AMEVCNTR01_EL0, x0      // encoding: [0x20,0xd4,0x1b,0xd5]134//CHECK:  msr AMEVCNTR02_EL0, x0      // encoding: [0x40,0xd4,0x1b,0xd5]135//CHECK:  msr AMEVCNTR03_EL0, x0      // encoding: [0x60,0xd4,0x1b,0xd5]136//CHECK:  msr AMCNTENCLR1_EL0, x0     // encoding: [0x00,0xd3,0x1b,0xd5]137//CHECK:  msr AMCNTENSET1_EL0, x0     // encoding: [0x20,0xd3,0x1b,0xd5]138//CHECK:  msr AMEVCNTR10_EL0, x0      // encoding: [0x00,0xdc,0x1b,0xd5]139//CHECK:  msr AMEVCNTR11_EL0, x0      // encoding: [0x20,0xdc,0x1b,0xd5]140//CHECK:  msr AMEVCNTR12_EL0, x0      // encoding: [0x40,0xdc,0x1b,0xd5]141//CHECK:  msr AMEVCNTR13_EL0, x0      // encoding: [0x60,0xdc,0x1b,0xd5]142//CHECK:  msr AMEVCNTR14_EL0, x0      // encoding: [0x80,0xdc,0x1b,0xd5]143//CHECK:  msr AMEVCNTR15_EL0, x0      // encoding: [0xa0,0xdc,0x1b,0xd5]144//CHECK:  msr AMEVCNTR16_EL0, x0      // encoding: [0xc0,0xdc,0x1b,0xd5]145//CHECK:  msr AMEVCNTR17_EL0, x0      // encoding: [0xe0,0xdc,0x1b,0xd5]146//CHECK:  msr AMEVCNTR18_EL0, x0      // encoding: [0x00,0xdd,0x1b,0xd5]147//CHECK:  msr AMEVCNTR19_EL0, x0      // encoding: [0x20,0xdd,0x1b,0xd5]148//CHECK:  msr AMEVCNTR110_EL0, x0     // encoding: [0x40,0xdd,0x1b,0xd5]149//CHECK:  msr AMEVCNTR111_EL0, x0     // encoding: [0x60,0xdd,0x1b,0xd5]150//CHECK:  msr AMEVCNTR112_EL0, x0     // encoding: [0x80,0xdd,0x1b,0xd5]151//CHECK:  msr AMEVCNTR113_EL0, x0     // encoding: [0xa0,0xdd,0x1b,0xd5]152//CHECK:  msr AMEVCNTR114_EL0, x0     // encoding: [0xc0,0xdd,0x1b,0xd5]153//CHECK:  msr AMEVCNTR115_EL0, x0     // encoding: [0xe0,0xdd,0x1b,0xd5]154//CHECK:  msr AMEVTYPER10_EL0, x0     // encoding: [0x00,0xde,0x1b,0xd5]155//CHECK:  msr AMEVTYPER11_EL0, x0     // encoding: [0x20,0xde,0x1b,0xd5]156//CHECK:  msr AMEVTYPER12_EL0, x0     // encoding: [0x40,0xde,0x1b,0xd5]157//CHECK:  msr AMEVTYPER13_EL0, x0     // encoding: [0x60,0xde,0x1b,0xd5]158//CHECK:  msr AMEVTYPER14_EL0, x0     // encoding: [0x80,0xde,0x1b,0xd5]159//CHECK:  msr AMEVTYPER15_EL0, x0     // encoding: [0xa0,0xde,0x1b,0xd5]160//CHECK:  msr AMEVTYPER16_EL0, x0     // encoding: [0xc0,0xde,0x1b,0xd5]161//CHECK:  msr AMEVTYPER17_EL0, x0     // encoding: [0xe0,0xde,0x1b,0xd5]162//CHECK:  msr AMEVTYPER18_EL0, x0     // encoding: [0x00,0xdf,0x1b,0xd5]163//CHECK:  msr AMEVTYPER19_EL0, x0     // encoding: [0x20,0xdf,0x1b,0xd5]164//CHECK:  msr AMEVTYPER110_EL0, x0    // encoding: [0x40,0xdf,0x1b,0xd5]165//CHECK:  msr AMEVTYPER111_EL0, x0    // encoding: [0x60,0xdf,0x1b,0xd5]166//CHECK:  msr AMEVTYPER112_EL0, x0    // encoding: [0x80,0xdf,0x1b,0xd5]167//CHECK:  msr AMEVTYPER113_EL0, x0    // encoding: [0xa0,0xdf,0x1b,0xd5]168//CHECK:  msr AMEVTYPER114_EL0, x0    // encoding: [0xc0,0xdf,0x1b,0xd5]169//CHECK:  msr AMEVTYPER115_EL0, x0    // encoding: [0xe0,0xdf,0x1b,0xd5]170 171//CHECK:  mrs x0, AMCR_EL0            // encoding: [0x00,0xd2,0x3b,0xd5]172//CHECK:  mrs x0, AMCFGR_EL0          // encoding: [0x20,0xd2,0x3b,0xd5]173//CHECK:  mrs x0, AMCGCR_EL0          // encoding: [0x40,0xd2,0x3b,0xd5]174//CHECK:  mrs x0, AMUSERENR_EL0       // encoding: [0x60,0xd2,0x3b,0xd5]175//CHECK:  mrs x0, AMCNTENCLR0_EL0     // encoding: [0x80,0xd2,0x3b,0xd5]176//CHECK:  mrs x0, AMCNTENSET0_EL0     // encoding: [0xa0,0xd2,0x3b,0xd5]177//CHECK:  mrs x0, AMEVCNTR00_EL0      // encoding: [0x00,0xd4,0x3b,0xd5]178//CHECK:  mrs x0, AMEVCNTR01_EL0      // encoding: [0x20,0xd4,0x3b,0xd5]179//CHECK:  mrs x0, AMEVCNTR02_EL0      // encoding: [0x40,0xd4,0x3b,0xd5]180//CHECK:  mrs x0, AMEVCNTR03_EL0      // encoding: [0x60,0xd4,0x3b,0xd5]181//CHECK:  mrs x0, AMEVTYPER00_EL0     // encoding: [0x00,0xd6,0x3b,0xd5]182//CHECK:  mrs x0, AMEVTYPER01_EL0     // encoding: [0x20,0xd6,0x3b,0xd5]183//CHECK:  mrs x0, AMEVTYPER02_EL0     // encoding: [0x40,0xd6,0x3b,0xd5]184//CHECK:  mrs x0, AMEVTYPER03_EL0     // encoding: [0x60,0xd6,0x3b,0xd5]185//CHECK:  mrs x0, AMCNTENCLR1_EL0     // encoding: [0x00,0xd3,0x3b,0xd5]186//CHECK:  mrs x0, AMCNTENSET1_EL0     // encoding: [0x20,0xd3,0x3b,0xd5]187//CHECK:  mrs x0, AMEVCNTR10_EL0      // encoding: [0x00,0xdc,0x3b,0xd5]188//CHECK:  mrs x0, AMEVCNTR11_EL0      // encoding: [0x20,0xdc,0x3b,0xd5]189//CHECK:  mrs x0, AMEVCNTR12_EL0      // encoding: [0x40,0xdc,0x3b,0xd5]190//CHECK:  mrs x0, AMEVCNTR13_EL0      // encoding: [0x60,0xdc,0x3b,0xd5]191//CHECK:  mrs x0, AMEVCNTR14_EL0      // encoding: [0x80,0xdc,0x3b,0xd5]192//CHECK:  mrs x0, AMEVCNTR15_EL0      // encoding: [0xa0,0xdc,0x3b,0xd5]193//CHECK:  mrs x0, AMEVCNTR16_EL0      // encoding: [0xc0,0xdc,0x3b,0xd5]194//CHECK:  mrs x0, AMEVCNTR17_EL0      // encoding: [0xe0,0xdc,0x3b,0xd5]195//CHECK:  mrs x0, AMEVCNTR18_EL0      // encoding: [0x00,0xdd,0x3b,0xd5]196//CHECK:  mrs x0, AMEVCNTR19_EL0      // encoding: [0x20,0xdd,0x3b,0xd5]197//CHECK:  mrs x0, AMEVCNTR110_EL0     // encoding: [0x40,0xdd,0x3b,0xd5]198//CHECK:  mrs x0, AMEVCNTR111_EL0     // encoding: [0x60,0xdd,0x3b,0xd5]199//CHECK:  mrs x0, AMEVCNTR112_EL0     // encoding: [0x80,0xdd,0x3b,0xd5]200//CHECK:  mrs x0, AMEVCNTR113_EL0     // encoding: [0xa0,0xdd,0x3b,0xd5]201//CHECK:  mrs x0, AMEVCNTR114_EL0     // encoding: [0xc0,0xdd,0x3b,0xd5]202//CHECK:  mrs x0, AMEVCNTR115_EL0     // encoding: [0xe0,0xdd,0x3b,0xd5]203//CHECK:  mrs x0, AMEVTYPER10_EL0     // encoding: [0x00,0xde,0x3b,0xd5]204//CHECK:  mrs x0, AMEVTYPER11_EL0     // encoding: [0x20,0xde,0x3b,0xd5]205//CHECK:  mrs x0, AMEVTYPER12_EL0     // encoding: [0x40,0xde,0x3b,0xd5]206//CHECK:  mrs x0, AMEVTYPER13_EL0     // encoding: [0x60,0xde,0x3b,0xd5]207//CHECK:  mrs x0, AMEVTYPER14_EL0     // encoding: [0x80,0xde,0x3b,0xd5]208//CHECK:  mrs x0, AMEVTYPER15_EL0     // encoding: [0xa0,0xde,0x3b,0xd5]209//CHECK:  mrs x0, AMEVTYPER16_EL0     // encoding: [0xc0,0xde,0x3b,0xd5]210//CHECK:  mrs x0, AMEVTYPER17_EL0     // encoding: [0xe0,0xde,0x3b,0xd5]211//CHECK:  mrs x0, AMEVTYPER18_EL0     // encoding: [0x00,0xdf,0x3b,0xd5]212//CHECK:  mrs x0, AMEVTYPER19_EL0     // encoding: [0x20,0xdf,0x3b,0xd5]213//CHECK:  mrs x0, AMEVTYPER110_EL0    // encoding: [0x40,0xdf,0x3b,0xd5]214//CHECK:  mrs x0, AMEVTYPER111_EL0    // encoding: [0x60,0xdf,0x3b,0xd5]215//CHECK:  mrs x0, AMEVTYPER112_EL0    // encoding: [0x80,0xdf,0x3b,0xd5]216//CHECK:  mrs x0, AMEVTYPER113_EL0    // encoding: [0xa0,0xdf,0x3b,0xd5]217//CHECK:  mrs x0, AMEVTYPER114_EL0    // encoding: [0xc0,0xdf,0x3b,0xd5]218//CHECK:  mrs x0, AMEVTYPER115_EL0    // encoding: [0xe0,0xdf,0x3b,0xd5]219 220 221//CHECK-ERROR: error: expected writable system register or pstate222//CHECK-ERROR: msr AMCR_EL0, x0223//CHECK-ERROR:     ^224//CHECK-ERROR: error: expected writable system register or pstate225//CHECK-ERROR: msr AMCFGR_EL0, x0226//CHECK-ERROR:     ^227//CHECK-ERROR: error: expected writable system register or pstate228//CHECK-ERROR: msr AMCGCR_EL0, x0229//CHECK-ERROR:     ^230//CHECK-ERROR: error: expected writable system register or pstate231//CHECK-ERROR: msr AMUSERENR_EL0, x0232//CHECK-ERROR:     ^233//CHECK-ERROR: error: expected writable system register or pstate234//CHECK-ERROR: msr AMCNTENCLR0_EL0, x0235//CHECK-ERROR:     ^236//CHECK-ERROR: error: expected writable system register or pstate237//CHECK-ERROR: msr AMCNTENSET0_EL0, x0238//CHECK-ERROR:     ^239//CHECK-ERROR: error: expected writable system register or pstate240//CHECK-ERROR: msr AMEVCNTR00_EL0, x0241//CHECK-ERROR:     ^242//CHECK-ERROR: error: expected writable system register or pstate243//CHECK-ERROR: msr AMEVCNTR01_EL0, x0244//CHECK-ERROR:     ^245//CHECK-ERROR: error: expected writable system register or pstate246//CHECK-ERROR: msr AMEVCNTR02_EL0, x0247//CHECK-ERROR:     ^248//CHECK-ERROR: error: expected writable system register or pstate249//CHECK-ERROR: msr AMEVCNTR03_EL0, x0250//CHECK-ERROR:     ^251//CHECK-ERROR: error: expected writable system register or pstate252//CHECK-ERROR: msr AMEVTYPER00_EL0, x0253//CHECK-ERROR:     ^254//CHECK-ERROR: error: expected writable system register or pstate255//CHECK-ERROR: msr AMEVTYPER01_EL0, x0256//CHECK-ERROR:     ^257//CHECK-ERROR: error: expected writable system register or pstate258//CHECK-ERROR: msr AMEVTYPER02_EL0, x0259//CHECK-ERROR:     ^260//CHECK-ERROR: error: expected writable system register or pstate261//CHECK-ERROR: msr AMEVTYPER03_EL0, x0262//CHECK-ERROR:     ^263//CHECK-ERROR: error: expected writable system register or pstate264//CHECK-ERROR: msr AMCNTENCLR1_EL0, x0265//CHECK-ERROR:     ^266//CHECK-ERROR: error: expected writable system register or pstate267//CHECK-ERROR: msr AMCNTENSET1_EL0, x0268//CHECK-ERROR:     ^269//CHECK-ERROR: error: expected writable system register or pstate270//CHECK-ERROR: msr AMEVCNTR10_EL0, x0271//CHECK-ERROR:     ^272//CHECK-ERROR: error: expected writable system register or pstate273//CHECK-ERROR: msr AMEVCNTR11_EL0, x0274//CHECK-ERROR:     ^275//CHECK-ERROR: error: expected writable system register or pstate276//CHECK-ERROR: msr AMEVCNTR12_EL0, x0277//CHECK-ERROR:     ^278//CHECK-ERROR: error: expected writable system register or pstate279//CHECK-ERROR: msr AMEVCNTR13_EL0, x0280//CHECK-ERROR:     ^281//CHECK-ERROR: error: expected writable system register or pstate282//CHECK-ERROR: msr AMEVCNTR14_EL0, x0283//CHECK-ERROR:     ^284//CHECK-ERROR: error: expected writable system register or pstate285//CHECK-ERROR: msr AMEVCNTR15_EL0, x0286//CHECK-ERROR:     ^287//CHECK-ERROR: error: expected writable system register or pstate288//CHECK-ERROR: msr AMEVCNTR16_EL0, x0289//CHECK-ERROR:     ^290//CHECK-ERROR: error: expected writable system register or pstate291//CHECK-ERROR: msr AMEVCNTR17_EL0, x0292//CHECK-ERROR:     ^293//CHECK-ERROR: error: expected writable system register or pstate294//CHECK-ERROR: msr AMEVCNTR18_EL0, x0295//CHECK-ERROR:     ^296//CHECK-ERROR: error: expected writable system register or pstate297//CHECK-ERROR: msr AMEVCNTR19_EL0, x0298//CHECK-ERROR:     ^299//CHECK-ERROR: error: expected writable system register or pstate300//CHECK-ERROR: msr AMEVCNTR110_EL0, x0301//CHECK-ERROR:     ^302//CHECK-ERROR: error: expected writable system register or pstate303//CHECK-ERROR: msr AMEVCNTR111_EL0, x0304//CHECK-ERROR:     ^305//CHECK-ERROR: error: expected writable system register or pstate306//CHECK-ERROR: msr AMEVCNTR112_EL0, x0307//CHECK-ERROR:     ^308//CHECK-ERROR: error: expected writable system register or pstate309//CHECK-ERROR: msr AMEVCNTR113_EL0, x0310//CHECK-ERROR:     ^311//CHECK-ERROR: error: expected writable system register or pstate312//CHECK-ERROR: msr AMEVCNTR114_EL0, x0313//CHECK-ERROR:     ^314//CHECK-ERROR: error: expected writable system register or pstate315//CHECK-ERROR: msr AMEVCNTR115_EL0, x0316//CHECK-ERROR:     ^317//CHECK-ERROR: error: expected writable system register or pstate318//CHECK-ERROR: msr AMEVTYPER10_EL0, x0319//CHECK-ERROR:     ^320//CHECK-ERROR: error: expected writable system register or pstate321//CHECK-ERROR: msr AMEVTYPER11_EL0, x0322//CHECK-ERROR:     ^323//CHECK-ERROR: error: expected writable system register or pstate324//CHECK-ERROR: msr AMEVTYPER12_EL0, x0325//CHECK-ERROR:     ^326//CHECK-ERROR: error: expected writable system register or pstate327//CHECK-ERROR: msr AMEVTYPER13_EL0, x0328//CHECK-ERROR:     ^329//CHECK-ERROR: error: expected writable system register or pstate330//CHECK-ERROR: msr AMEVTYPER14_EL0, x0331//CHECK-ERROR:     ^332//CHECK-ERROR: error: expected writable system register or pstate333//CHECK-ERROR: msr AMEVTYPER15_EL0, x0334//CHECK-ERROR:     ^335//CHECK-ERROR: error: expected writable system register or pstate336//CHECK-ERROR: msr AMEVTYPER16_EL0, x0337//CHECK-ERROR:     ^338//CHECK-ERROR: error: expected writable system register or pstate339//CHECK-ERROR: msr AMEVTYPER17_EL0, x0340//CHECK-ERROR:     ^341//CHECK-ERROR: error: expected writable system register or pstate342//CHECK-ERROR: msr AMEVTYPER18_EL0, x0343//CHECK-ERROR:     ^344//CHECK-ERROR: error: expected writable system register or pstate345//CHECK-ERROR: msr AMEVTYPER19_EL0, x0346//CHECK-ERROR:     ^347//CHECK-ERROR: error: expected writable system register or pstate348//CHECK-ERROR: msr AMEVTYPER110_EL0, x0349//CHECK-ERROR:     ^350//CHECK-ERROR: error: expected writable system register or pstate351//CHECK-ERROR: msr AMEVTYPER111_EL0, x0352//CHECK-ERROR:     ^353//CHECK-ERROR: error: expected writable system register or pstate354//CHECK-ERROR: msr AMEVTYPER112_EL0, x0355//CHECK-ERROR:     ^356//CHECK-ERROR: error: expected writable system register or pstate357//CHECK-ERROR: msr AMEVTYPER113_EL0, x0358//CHECK-ERROR:     ^359//CHECK-ERROR: error: expected writable system register or pstate360//CHECK-ERROR: msr AMEVTYPER114_EL0, x0361//CHECK-ERROR:     ^362//CHECK-ERROR: error: expected writable system register or pstate363//CHECK-ERROR: msr AMEVTYPER115_EL0, x0364//CHECK-ERROR:     ^365 366//CHECK-ERROR: error: expected readable system register367//CHECK-ERROR: mrs x0, AMCR_EL0368//CHECK-ERROR:         ^369//CHECK-ERROR: error: expected readable system register370//CHECK-ERROR: mrs x0, AMCFGR_EL0371//CHECK-ERROR:         ^372//CHECK-ERROR: error: expected readable system register373//CHECK-ERROR: mrs x0, AMCGCR_EL0374//CHECK-ERROR:         ^375//CHECK-ERROR: error: expected readable system register376//CHECK-ERROR: mrs x0, AMUSERENR_EL0377//CHECK-ERROR:         ^378//CHECK-ERROR: error: expected readable system register379//CHECK-ERROR: mrs x0, AMCNTENCLR0_EL0380//CHECK-ERROR:         ^381//CHECK-ERROR: error: expected readable system register382//CHECK-ERROR: mrs x0, AMCNTENSET0_EL0383//CHECK-ERROR:         ^384//CHECK-ERROR: error: expected readable system register385//CHECK-ERROR: mrs x0, AMEVCNTR00_EL0386//CHECK-ERROR:         ^387//CHECK-ERROR: error: expected readable system register388//CHECK-ERROR: mrs x0, AMEVCNTR01_EL0389//CHECK-ERROR:         ^390//CHECK-ERROR: error: expected readable system register391//CHECK-ERROR: mrs x0, AMEVCNTR02_EL0392//CHECK-ERROR:         ^393//CHECK-ERROR: error: expected readable system register394//CHECK-ERROR: mrs x0, AMEVCNTR03_EL0395//CHECK-ERROR:         ^396//CHECK-ERROR: error: expected readable system register397//CHECK-ERROR: mrs x0, AMEVTYPER00_EL0398//CHECK-ERROR:         ^399//CHECK-ERROR: error: expected readable system register400//CHECK-ERROR: mrs x0, AMEVTYPER01_EL0401//CHECK-ERROR:         ^402//CHECK-ERROR: error: expected readable system register403//CHECK-ERROR: mrs x0, AMEVTYPER02_EL0404//CHECK-ERROR:         ^405//CHECK-ERROR: error: expected readable system register406//CHECK-ERROR: mrs x0, AMEVTYPER03_EL0407//CHECK-ERROR:         ^408//CHECK-ERROR: error: expected readable system register409//CHECK-ERROR: mrs x0, AMCNTENCLR1_EL0410//CHECK-ERROR:         ^411//CHECK-ERROR: error: expected readable system register412//CHECK-ERROR: mrs x0, AMCNTENSET1_EL0413//CHECK-ERROR:         ^414//CHECK-ERROR: error: expected readable system register415//CHECK-ERROR: mrs x0, AMEVCNTR10_EL0416//CHECK-ERROR:         ^417//CHECK-ERROR: error: expected readable system register418//CHECK-ERROR: mrs x0, AMEVCNTR11_EL0419//CHECK-ERROR:         ^420//CHECK-ERROR: error: expected readable system register421//CHECK-ERROR: mrs x0, AMEVCNTR12_EL0422//CHECK-ERROR:         ^423//CHECK-ERROR: error: expected readable system register424//CHECK-ERROR: mrs x0, AMEVCNTR13_EL0425//CHECK-ERROR:         ^426//CHECK-ERROR: error: expected readable system register427//CHECK-ERROR: mrs x0, AMEVCNTR14_EL0428//CHECK-ERROR:         ^429//CHECK-ERROR: error: expected readable system register430//CHECK-ERROR: mrs x0, AMEVCNTR15_EL0431//CHECK-ERROR:         ^432//CHECK-ERROR: error: expected readable system register433//CHECK-ERROR: mrs x0, AMEVCNTR16_EL0434//CHECK-ERROR:         ^435//CHECK-ERROR: error: expected readable system register436//CHECK-ERROR: mrs x0, AMEVCNTR17_EL0437//CHECK-ERROR:         ^438//CHECK-ERROR: error: expected readable system register439//CHECK-ERROR: mrs x0, AMEVCNTR18_EL0440//CHECK-ERROR:         ^441//CHECK-ERROR: error: expected readable system register442//CHECK-ERROR: mrs x0, AMEVCNTR19_EL0443//CHECK-ERROR:         ^444//CHECK-ERROR: error: expected readable system register445//CHECK-ERROR: mrs x0, AMEVCNTR110_EL0446//CHECK-ERROR:         ^447//CHECK-ERROR: error: expected readable system register448//CHECK-ERROR: mrs x0, AMEVCNTR111_EL0449//CHECK-ERROR:         ^450//CHECK-ERROR: error: expected readable system register451//CHECK-ERROR: mrs x0, AMEVCNTR112_EL0452//CHECK-ERROR:         ^453//CHECK-ERROR: error: expected readable system register454//CHECK-ERROR: mrs x0, AMEVCNTR113_EL0455//CHECK-ERROR:         ^456//CHECK-ERROR: error: expected readable system register457//CHECK-ERROR: mrs x0, AMEVCNTR114_EL0458//CHECK-ERROR:         ^459//CHECK-ERROR: error: expected readable system register460//CHECK-ERROR: mrs x0, AMEVCNTR115_EL0461//CHECK-ERROR:         ^462//CHECK-ERROR: error: expected readable system register463//CHECK-ERROR: mrs x0, AMEVTYPER10_EL0464//CHECK-ERROR:         ^465//CHECK-ERROR: error: expected readable system register466//CHECK-ERROR: mrs x0, AMEVTYPER11_EL0467//CHECK-ERROR:         ^468//CHECK-ERROR: error: expected readable system register469//CHECK-ERROR: mrs x0, AMEVTYPER12_EL0470//CHECK-ERROR:         ^471//CHECK-ERROR: error: expected readable system register472//CHECK-ERROR: mrs x0, AMEVTYPER13_EL0473//CHECK-ERROR:         ^474//CHECK-ERROR: error: expected readable system register475//CHECK-ERROR: mrs x0, AMEVTYPER14_EL0476//CHECK-ERROR:         ^477//CHECK-ERROR: error: expected readable system register478//CHECK-ERROR: mrs x0, AMEVTYPER15_EL0479//CHECK-ERROR:         ^480//CHECK-ERROR: error: expected readable system register481//CHECK-ERROR: mrs x0, AMEVTYPER16_EL0482//CHECK-ERROR:         ^483//CHECK-ERROR: error: expected readable system register484//CHECK-ERROR: mrs x0, AMEVTYPER17_EL0485//CHECK-ERROR:         ^486//CHECK-ERROR: error: expected readable system register487//CHECK-ERROR: mrs x0, AMEVTYPER18_EL0488//CHECK-ERROR:         ^489//CHECK-ERROR: error: expected readable system register490//CHECK-ERROR: mrs x0, AMEVTYPER19_EL0491//CHECK-ERROR:         ^492//CHECK-ERROR: error: expected readable system register493//CHECK-ERROR: mrs x0, AMEVTYPER110_EL0494//CHECK-ERROR:         ^495//CHECK-ERROR: error: expected readable system register496//CHECK-ERROR: mrs x0, AMEVTYPER111_EL0497//CHECK-ERROR:         ^498//CHECK-ERROR: error: expected readable system register499//CHECK-ERROR: mrs x0, AMEVTYPER112_EL0500//CHECK-ERROR:         ^501//CHECK-ERROR: error: expected readable system register502//CHECK-ERROR: mrs x0, AMEVTYPER113_EL0503//CHECK-ERROR:         ^504//CHECK-ERROR: error: expected readable system register505//CHECK-ERROR: mrs x0, AMEVTYPER114_EL0506//CHECK-ERROR:         ^507//CHECK-ERROR: error: expected readable system register508//CHECK-ERROR: mrs x0, AMEVTYPER115_EL0509//CHECK-ERROR:         ^510