brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.2 KiB · 82603ca Raw
95 lines · plain
1// RUN: llvm-mc -triple=aarch64 -show-encoding < %s \2// RUN:        | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST3// RUN: llvm-mc -triple=aarch64 -filetype=obj < %s \4// RUN:        | llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-INST5// RUN: llvm-mc -triple=aarch64 -filetype=obj < %s \6// RUN:        | llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-UNKNOWN7// Disassemble encoding and check the re-encoding (-show-encoding) matches.8// RUN: llvm-mc -triple=aarch64 -show-encoding < %s \9// RUN:        | sed '/.text/d' | sed 's/.*encoding: //g' \10// RUN:        | llvm-mc -triple=aarch64 -disassemble -show-encoding \11// RUN:        | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST12 13 14 15//------------------------------------------------------------------------------16// Armv9.6-A FEAT_MPAM Extensions17//------------------------------------------------------------------------------18 19msr MPAMBW3_EL3, x020// CHECK-INST: msr MPAMBW3_EL3, x021// CHECK-ENCODING: encoding: [0x80,0xa5,0x1e,0xd5]22// CHECK-UNKNOWN:  d51ea580 msr MPAMBW3_EL3, x023 24msr MPAMBW2_EL2, x025// CHECK-INST: msr MPAMBW2_EL2, x026// CHECK-ENCODING: encoding: [0x80,0xa5,0x1c,0xd5]27// CHECK-UNKNOWN:  d51ca580 msr MPAMBW2_EL2, x028 29msr MPAMBW1_EL1, x030// CHECK-INST: msr MPAMBW1_EL1, x031// CHECK-ENCODING: encoding: [0x80,0xa5,0x18,0xd5]32// CHECK-UNKNOWN:  d518a580 msr MPAMBW1_EL1, x033 34msr MPAMBW1_EL12, x035// CHECK-INST: msr MPAMBW1_EL12, x036// CHECK-ENCODING: encoding: [0x80,0xa5,0x1d,0xd5]37// CHECK-UNKNOWN:  d51da580 msr MPAMBW1_EL12, x038 39msr MPAMBW0_EL1, x040// CHECK-INST: msr MPAMBW0_EL1, x041// CHECK-ENCODING: encoding: [0xa0,0xa5,0x18,0xd5]42// CHECK-UNKNOWN:  d518a5a0 msr MPAMBW0_EL1, x043 44msr MPAMBWCAP_EL2, x045// CHECK-INST: msr MPAMBWCAP_EL2, x046// CHECK-ENCODING: encoding: [0xc0,0xa5,0x1c,0xd5]47// CHECK-UNKNOWN:  d51ca5c0 msr MPAMBWCAP_EL2, x048 49msr MPAMBWSM_EL1, x050// CHECK-INST: msr MPAMBWSM_EL1, x051// CHECK-ENCODING: encoding: [0xe0,0xa5,0x18,0xd5]52// CHECK-UNKNOWN:  d518a5e0 msr MPAMBWSM_EL1, x053 54mrs x0, MPAMBWIDR_EL155// CHECK-INST: mrs x0, MPAMBWIDR_EL156// CHECK-ENCODING: encoding: [0xa0,0xa4,0x38,0xd5]57// CHECK-UNKNOWN:  d538a4a0 mrs x0, MPAMBWIDR_EL158 59mrs x0, MPAMBW3_EL360// CHECK-INST: mrs x0, MPAMBW3_EL361// CHECK-ENCODING: encoding: [0x80,0xa5,0x3e,0xd5]62// CHECK-UNKNOWN:  d53ea580 mrs x0, MPAMBW3_EL363 64mrs x0, MPAMBW2_EL265// CHECK-INST: mrs x0, MPAMBW2_EL266// CHECK-ENCODING: encoding: [0x80,0xa5,0x3c,0xd5]67// CHECK-UNKNOWN:  d53ca580 mrs x0, MPAMBW2_EL268 69mrs x0, MPAMBW1_EL170// CHECK-INST: mrs x0, MPAMBW1_EL171// CHECK-ENCODING: encoding: [0x80,0xa5,0x38,0xd5]72// CHECK-UNKNOWN:  d538a580 mrs x0, MPAMBW1_EL173 74mrs x0, MPAMBW1_EL1275// CHECK-INST: mrs x0, MPAMBW1_EL1276// CHECK-ENCODING: encoding: [0x80,0xa5,0x3d,0xd5]77// CHECK-UNKNOWN:  d53da580 mrs x0, MPAMBW1_EL1278 79mrs x0, MPAMBW0_EL180// CHECK-INST: mrs x0, MPAMBW0_EL181// CHECK-ENCODING: encoding: [0xa0,0xa5,0x38,0xd5]82// CHECK-UNKNOWN:  d538a5a0 mrs x0, MPAMBW0_EL183 84mrs x0, MPAMBWCAP_EL285// CHECK-INST: mrs x0, MPAMBWCAP_EL286// CHECK-ENCODING: encoding: [0xc0,0xa5,0x3c,0xd5]87// CHECK-UNKNOWN:  d53ca5c0 mrs x0, MPAMBWCAP_EL288 89mrs x0, MPAMBWSM_EL190// CHECK-INST: mrs x0, MPAMBWSM_EL191// CHECK-ENCODING: encoding: [0xe0,0xa5,0x38,0xd5]92// CHECK-UNKNOWN:  d538a5e0 mrs x0, MPAMBWSM_EL193 94 95