brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.0 KiB · b4adcb3 Raw
34 lines · plain
1// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.3a < %s 2>&1 | FileCheck %s2// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mcpu=cortex-a65 < %s 2>&1 | FileCheck %s3// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mcpu=cortex-a65ae < %s 2>&1 | FileCheck %s4// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mcpu=cortex-a75 < %s 2>&1 | FileCheck %s5// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mcpu=cortex-a55 < %s 2>&1 | FileCheck %s6// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mcpu=neoverse-e1 < %s 2>&1 | FileCheck %s7// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mcpu=neoverse-n1 < %s 2>&1 | FileCheck %s8// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mcpu=neoverse-n2 < %s 2>&1 | FileCheck %s9// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mcpu=ampere1 < %s 2>&1 | FileCheck %s10// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mcpu=ampere1a < %s 2>&1 | FileCheck %s11// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.2a -mattr=+rcpc < %s 2>&1 | FileCheck %s12// RUN: not llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.2a < %s 2> %t13// RUN: FileCheck --check-prefix=CHECK-REQ %s < %t14 15  ldaprb w0, [x0, #0]16  ldaprh w0, [x17, #0]17  ldapr w0, [x1, #0]18  ldapr x0, [x0, #0]19  ldapr w18, [x0]20  ldapr x15, [x0]21 22// CHECK: ldaprb w0, [x0]    // encoding: [0x00,0xc0,0xbf,0x38]23// CHECK: ldaprh w0, [x17]   // encoding: [0x20,0xc2,0xbf,0x78]24// CHECK: ldapr w0, [x1]     // encoding: [0x20,0xc0,0xbf,0xb8]25// CHECK: ldapr x0, [x0]     // encoding: [0x00,0xc0,0xbf,0xf8]26// CHECK: ldapr w18, [x0]    // encoding: [0x12,0xc0,0xbf,0xb8]27// CHECK: ldapr x15, [x0]    // encoding: [0x0f,0xc0,0xbf,0xf8]28// CHECK-REQ: error: instruction requires: rcpc29// CHECK-REQ: error: instruction requires: rcpc30// CHECK-REQ: error: instruction requires: rcpc31// CHECK-REQ: error: instruction requires: rcpc32// CHECK-REQ: error: instruction requires: rcpc33// CHECK-REQ: error: instruction requires: rcpc34