• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.2a -mattr=+rcpc --disassemble < %s | FileCheck %s
2# RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.3a --disassemble < %s | FileCheck %s
3# RUN: llvm-mc -triple aarch64-none-linux-gnu -mcpu=cortex-a55 --disassemble < %s | FileCheck %s
4# RUN: llvm-mc -triple aarch64-none-linux-gnu -mcpu=cortex-a65 --disassemble < %s | FileCheck %s
5# RUN: llvm-mc -triple aarch64-none-linux-gnu -mcpu=cortex-a65ae --disassemble < %s | FileCheck %s
6# RUN: llvm-mc -triple aarch64-none-linux-gnu -mcpu=cortex-a75 --disassemble < %s | FileCheck %s
7# RUN: llvm-mc -triple aarch64-none-linux-gnu -mcpu=cortex-a77 --disassemble < %s | FileCheck %s
8# RUN: llvm-mc -triple aarch64-none-linux-gnu -mcpu=cortex-a78 --disassemble < %s | FileCheck %s
9# RUN: llvm-mc -triple aarch64-none-linux-gnu -mcpu=cortex-x1 --disassemble < %s | FileCheck %s
10# RUN: llvm-mc -triple aarch64-none-linux-gnu -mcpu=neoverse-e1 --disassemble < %s | FileCheck %s
11# RUN: llvm-mc -triple aarch64-none-linux-gnu -mcpu=neoverse-n1 --disassemble < %s | FileCheck %s
12# RUN: llvm-mc -triple aarch64-none-linux-gnu -mcpu=neoverse-n2 --disassemble < %s | FileCheck %s
13
14# CHECK: ldaprb w0, [x0]
15# CHECK: ldaprh w0, [x0]
16# CHECK: ldapr w0, [x0]
17# CHECK: ldapr x0, [x0]
18[0x00,0xc0,0xbf,0x38]
19[0x00,0xc0,0xbf,0x78]
20[0x00,0xc0,0xbf,0xb8]
21[0x00,0xc0,0xbf,0xf8]
22
23# RUN: not llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.2a --disassemble < %s 2>&1 | FileCheck --check-prefix=CHECK-V8_2A %s
24
25# CHECK-V8_2A: warning: invalid instruction encoding
26# CHECK-V8_2A: [0x00,0xc0,0xbf,0x38]
27# CHECK-V8_2A:  ^
28# CHECK-V8_2A: warning: invalid instruction encoding
29# CHECK-V8_2A: [0x00,0xc0,0xbf,0x78]
30# CHECK-V8_2A:  ^
31# CHECK-V8_2A: warning: invalid instruction encoding
32# CHECK-V8_2A: [0x00,0xc0,0xbf,0xb8]
33# CHECK-V8_2A:  ^
34# CHECK-V8_2A: warning: invalid instruction encoding
35# CHECK-V8_2A: [0x00,0xc0,0xbf,0xf8]
36# CHECK-V8_2A:  ^
37