32 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-UNKNOWN5// Disassemble encoding and check the re-encoding (-show-encoding) matches.6// RUN: llvm-mc -triple=aarch64 -show-encoding < %s \7// RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \8// RUN: | llvm-mc -triple=aarch64 -disassemble -show-encoding \9// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST10 11 12 13mrs x0, VDISR_EL314// CHECK-INST: mrs x0, VDISR_EL315// CHECK-ENCODING: encoding: [0x20,0xc1,0x3e,0xd5]16// CHECK-UNKNOWN: d53ec120 mrs x0, VDISR_EL317 18msr VDISR_EL3, x019// CHECK-INST: msr VDISR_EL3, x020// CHECK-ENCODING: encoding: [0x20,0xc1,0x1e,0xd5]21// CHECK-UNKNOWN: d51ec120 msr VDISR_EL3, x022 23mrs x0, VSESR_EL324// CHECK-INST: mrs x0, VSESR_EL325// CHECK-ENCODING: encoding: [0x60,0x52,0x3e,0xd5]26// CHECK-UNKNOWN: d53e5260 mrs x0, VSESR_EL327 28msr VSESR_EL3, x029// CHECK-INST: msr VSESR_EL3, x030// CHECK-ENCODING: encoding: [0x60,0x52,0x1e,0xd5]31// CHECK-UNKNOWN: d51e5260 msr VSESR_EL3, x032