mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +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
38 lines
2.0 KiB
ArmAsm
38 lines
2.0 KiB
ArmAsm
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+complxnum -o - %s 2>%t | FileCheck %s
|
|
fcmla v0.2s, v1.2s, v2.2s, #0
|
|
fcmla v0.4s, v1.4s, v2.4s, #0
|
|
fcmla v0.2d, v1.2d, v2.2d, #0
|
|
fcmla v0.2s, v1.2s, v2.2s, #0
|
|
fcmla v0.2s, v1.2s, v2.2s, #90
|
|
fcmla v0.2s, v1.2s, v2.2s, #180
|
|
fcmla v0.2s, v1.2s, v2.2s, #270
|
|
fcadd v0.2s, v1.2s, v2.2s, #90
|
|
fcadd v0.4s, v1.4s, v2.4s, #90
|
|
fcadd v0.2d, v1.2d, v2.2d, #90
|
|
fcadd v0.2s, v1.2s, v2.2s, #90
|
|
fcadd v0.2s, v1.2s, v2.2s, #270
|
|
fcmla v0.4s, v1.4s, v2.s[0], #0
|
|
fcmla v0.4s, v1.4s, v2.s[0], #90
|
|
fcmla v0.4s, v1.4s, v2.s[0], #180
|
|
fcmla v0.4s, v1.4s, v2.s[0], #270
|
|
fcmla v0.4s, v1.4s, v2.s[1], #0
|
|
//CHECK: .text
|
|
//CHECK-NEXT: fcmla v0.2s, v1.2s, v2.2s, #0 // encoding: [0x20,0xc4,0x82,0x2e]
|
|
//CHECK-NEXT: fcmla v0.4s, v1.4s, v2.4s, #0 // encoding: [0x20,0xc4,0x82,0x6e]
|
|
//CHECK-NEXT: fcmla v0.2d, v1.2d, v2.2d, #0 // encoding: [0x20,0xc4,0xc2,0x6e]
|
|
//CHECK-NEXT: fcmla v0.2s, v1.2s, v2.2s, #0 // encoding: [0x20,0xc4,0x82,0x2e]
|
|
//CHECK-NEXT: fcmla v0.2s, v1.2s, v2.2s, #90 // encoding: [0x20,0xcc,0x82,0x2e]
|
|
//CHECK-NEXT: fcmla v0.2s, v1.2s, v2.2s, #180 // encoding: [0x20,0xd4,0x82,0x2e]
|
|
//CHECK-NEXT: fcmla v0.2s, v1.2s, v2.2s, #270 // encoding: [0x20,0xdc,0x82,0x2e]
|
|
//CHECK-NEXT: fcadd v0.2s, v1.2s, v2.2s, #90 // encoding: [0x20,0xe4,0x82,0x2e]
|
|
//CHECK-NEXT: fcadd v0.4s, v1.4s, v2.4s, #90 // encoding: [0x20,0xe4,0x82,0x6e]
|
|
//CHECK-NEXT: fcadd v0.2d, v1.2d, v2.2d, #90 // encoding: [0x20,0xe4,0xc2,0x6e]
|
|
//CHECK-NEXT: fcadd v0.2s, v1.2s, v2.2s, #90 // encoding: [0x20,0xe4,0x82,0x2e]
|
|
//CHECK-NEXT: fcadd v0.2s, v1.2s, v2.2s, #270 // encoding: [0x20,0xf4,0x82,0x2e]
|
|
//CHECK-NEXT: fcmla v0.4s, v1.4s, v2.s[0], #0 // encoding: [0x20,0x10,0x82,0x6f]
|
|
//CHECK-NEXT: fcmla v0.4s, v1.4s, v2.s[0], #90 // encoding: [0x20,0x30,0x82,0x6f]
|
|
//CHECK-NEXT: fcmla v0.4s, v1.4s, v2.s[0], #180 // encoding: [0x20,0x50,0x82,0x6f]
|
|
//CHECK-NEXT: fcmla v0.4s, v1.4s, v2.s[0], #270 // encoding: [0x20,0x70,0x82,0x6f]
|
|
//CHECK-NEXT: fcmla v0.4s, v1.4s, v2.s[1], #0 // encoding: [0x20,0x18,0x82,0x6f]
|
|
|