mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
cd73ce3566
This patch splits backend features currently hidden behind architecture versions. For example, currently the only way to activate complex numbers extension is targeting an v8.3 architecture, where after the patch this extension can be added separately. This refactoring is required by the new command lines proposal: http://lists.llvm.org/pipermail/llvm-dev/2018-September/126346.html Reviewers: DavidSpickett, olista01, t.p.northover Subscribers: kristof.beyls, bryanpkc, javed.absar, pbarrio Differential revision: https://reviews.llvm.org/D54633 -- It was reverted in rL348249 due a build bot failure in one of the regression tests: http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/14386 The problem seems to be that FileCheck behaves different in windows and linux. This new patch splits the test file in multiple, and does more exact pattern matching attempting to circumvent the issue. llvm-svn: 348493
21 lines
715 B
ArmAsm
21 lines
715 B
ArmAsm
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.3a -o - %s 2>&1 | \
|
|
// RUN: FileCheck %s
|
|
|
|
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+jsconv -o - %s 2>&1 | \
|
|
// RUN: FileCheck %s
|
|
|
|
// RUN: not llvm-mc -triple aarch64-none-linux-gnu %s 2>&1 | \
|
|
// RUN: FileCheck --check-prefix=CHECK-JS %s
|
|
|
|
// RUN: not llvm-mc -triple aarch64-none-linux-gnu -mattr=+jsconv,-fp-armv8 -o - %s 2>&1 |\
|
|
// RUN: FileCheck --check-prefix=CHECK-REQ %s
|
|
|
|
fjcvtzs w0, d0
|
|
// CHECK: fjcvtzs w0, d0 // encoding: [0x00,0x00,0x7e,0x1e]
|
|
|
|
// CHECK-JS: error: instruction requires: jsconv
|
|
|
|
// NOJS: error: instruction requires: jsconv
|
|
|
|
// CHECK-REQ: error: instruction requires: fp-armv8 jsconv
|