mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
c53d5db613
Summary: Add support for Cortex-A65, Cortex-A65AE, Neoverse E1 and Neoverse N1. Neoverse E1 and Cortex-A65(&AE) only implement the AArch64 state of the Arm architecture. Neoverse N1 implements both AArch32 and AArch64. Cortex-A65: https://developer.arm.com/ip-products/processors/cortex-a/cortex-a65 Cortex-A65AE: https://developer.arm.com/ip-products/processors/cortex-a/cortex-a65ae Neoverse E1: https://developer.arm.com/ip-products/processors/neoverse/neoverse-e1 Neoverse N1: https://developer.arm.com/ip-products/processors/neoverse/neoverse-n1 Patch by Diogo Sampaio and Pablo Barrio Reviewers: samparker, LukeCheeseman, sbaranga, ostannard Reviewed By: ostannard Subscribers: ostannard, javed.absar, kristof.beyls, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D64406 llvm-svn: 367007
31 lines
1.7 KiB
ArmAsm
31 lines
1.7 KiB
ArmAsm
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.3a < %s 2>&1 | FileCheck %s
|
|
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mcpu=cortex-a65 < %s 2>&1 | FileCheck %s
|
|
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mcpu=cortex-a65ae < %s 2>&1 | FileCheck %s
|
|
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mcpu=cortex-a75 < %s 2>&1 | FileCheck %s
|
|
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mcpu=cortex-a55 < %s 2>&1 | FileCheck %s
|
|
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mcpu=neoverse-e1 < %s 2>&1 | FileCheck %s
|
|
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mcpu=neoverse-n1 < %s 2>&1 | FileCheck %s
|
|
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.2a -mattr=+rcpc < %s 2>&1 | FileCheck %s
|
|
// RUN: not llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.2a < %s 2> %t
|
|
// RUN: FileCheck --check-prefix=CHECK-REQ %s < %t
|
|
|
|
ldaprb w0, [x0, #0]
|
|
ldaprh w0, [x17, #0]
|
|
ldapr w0, [x1, #0]
|
|
ldapr x0, [x0, #0]
|
|
ldapr w18, [x0]
|
|
ldapr x15, [x0]
|
|
|
|
// CHECK: ldaprb w0, [x0] // encoding: [0x00,0xc0,0xbf,0x38]
|
|
// CHECK: ldaprh w0, [x17] // encoding: [0x20,0xc2,0xbf,0x78]
|
|
// CHECK: ldapr w0, [x1] // encoding: [0x20,0xc0,0xbf,0xb8]
|
|
// CHECK: ldapr x0, [x0] // encoding: [0x00,0xc0,0xbf,0xf8]
|
|
// CHECK: ldapr w18, [x0] // encoding: [0x12,0xc0,0xbf,0xb8]
|
|
// CHECK: ldapr x15, [x0] // encoding: [0x0f,0xc0,0xbf,0xf8]
|
|
// CHECK-REQ: error: instruction requires: rcpc
|
|
// CHECK-REQ: error: instruction requires: rcpc
|
|
// CHECK-REQ: error: instruction requires: rcpc
|
|
// CHECK-REQ: error: instruction requires: rcpc
|
|
// CHECK-REQ: error: instruction requires: rcpc
|
|
// CHECK-REQ: error: instruction requires: rcpc
|