| 1 |
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme < %s \ |
| 2 |
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST |
| 3 |
// RUN: llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \ |
| 4 |
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST |
| 5 |
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme < %s \ |
| 6 |
// RUN: | llvm-objdump -d --mattr=+sme - | FileCheck %s --check-prefix=CHECK-INST |
| 7 |
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme < %s \ |
| 8 |
// RUN: | llvm-objdump -d --mattr=-sme - | FileCheck %s --check-prefix=CHECK-INST |
| 9 |
|
| 10 |
smstart |
| 11 |
// CHECK-INST: smstart |
| 12 |
// CHECK-ENCODING: [0x7f,0x47,0x03,0xd5] |
| 13 |
|
| 14 |
smstart sm |
| 15 |
// CHECK-INST: smstart sm |
| 16 |
// CHECK-ENCODING: [0x7f,0x43,0x03,0xd5] |
| 17 |
|
| 18 |
smstart za |
| 19 |
// CHECK-INST: smstart za |
| 20 |
// CHECK-ENCODING: [0x7f,0x45,0x03,0xd5] |
| 21 |
|
| 22 |
smstart SM |
| 23 |
// CHECK-INST: smstart sm |
| 24 |
// CHECK-ENCODING: [0x7f,0x43,0x03,0xd5] |
| 25 |
|
| 26 |
smstart ZA |
| 27 |
// CHECK-INST: smstart za |
| 28 |
// CHECK-ENCODING: [0x7f,0x45,0x03,0xd5] |