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