17 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 13msr SPMZR_EL0, x014// CHECK-INST: msr SPMZR_EL0, x015// CHECK-ENCODING: encoding: [0x80,0x9c,0x13,0xd5]16// CHECK-UNKNOWN: d5139c80 msr SPMZR_EL0, x017