27 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-prefixes=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 13at s1e1a, x114// CHECK-INST: at s1e1a, x115// CHECK-ENCODING: encoding: [0x41,0x79,0x08,0xd5]16// CHECK-UNKNOWN: d5087941 at s1e1a, x117 18at s1e2a, x119// CHECK-INST: at s1e2a, x120// CHECK-ENCODING: encoding: [0x41,0x79,0x0c,0xd5]21// CHECK-UNKNOWN: d50c7941 at s1e2a, x122 23at s1e3a, x124// CHECK-INST: at s1e3a, x125// CHECK-ENCODING: encoding: [0x41,0x79,0x0e,0xd5]26// CHECK-UNKNOWN: d50e7941 at s1e3a, x127