summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll
diff options
context:
space:
mode:
authorBernard Ogden <bogden@arm.com>2013-10-14 13:17:07 +0000
committerBernard Ogden <bogden@arm.com>2013-10-14 13:17:07 +0000
commit0d1e2aebe641fc26bba5d895bbcadcac6f23aaec (patch)
treee9888ab14670249e03263cbbdf587a7cd42d1ce3 /test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll
parent7220572e74844aa37b1b492ef67a8c1b403a254f (diff)
downloadllvm-0d1e2aebe641fc26bba5d895bbcadcac6f23aaec.tar.gz
llvm-0d1e2aebe641fc26bba5d895bbcadcac6f23aaec.tar.bz2
llvm-0d1e2aebe641fc26bba5d895bbcadcac6f23aaec.tar.xz
Add Cortex-A57 support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192591 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll')
-rw-r--r--test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll b/test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll
index 3501fb7ec7..e9e9def8d3 100644
--- a/test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll
+++ b/test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll
@@ -14,6 +14,7 @@
; RUN: llc < %s -mtriple=thumbv7m-linux-gnueabi -mcpu=cortex-m4 | FileCheck %s --check-prefix=CORTEX-M4
; RUN: llc < %s -mtriple=armv7r-linux-gnueabi -mcpu=cortex-r5 | FileCheck %s --check-prefix=CORTEX-R5
; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=cortex-a53 | FileCheck %s --check-prefix=CORTEX-A53
+; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=cortex-a57 | FileCheck %s --check-prefix=CORTEX-A57
; This tests that MC/asm header conversion is smooth and that build attributes are correct
;
@@ -147,6 +148,18 @@
; CORTEX-A53: .eabi_attribute 25, 1
; CORTEX-A53: .eabi_attribute 44, 2
+; CORTEX-A57: .cpu cortex-a57
+; CORTEX-A57: .eabi_attribute 6, 14
+; CORTEX-A57: .eabi_attribute 7, 65
+; CORTEX-A57: .eabi_attribute 8, 1
+; CORTEX-A57: .eabi_attribute 9, 2
+; CORTEX-A57: .fpu crypto-neon-fp-armv8
+; CORTEX-A57: .eabi_attribute 10, 7
+; CORTEX-A57: .eabi_attribute 12, 3
+; CORTEX-A57: .eabi_attribute 24, 1
+; CORTEX-A57: .eabi_attribute 25, 1
+; CORTEX-A57: .eabi_attribute 44, 2
+
define i32 @f(i64 %z) {
ret i32 0
}