diff options
Diffstat (limited to 'llvm/test/CodeGen/ARM/build-attributes.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/build-attributes.ll | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/build-attributes.ll b/llvm/test/CodeGen/ARM/build-attributes.ll index a84bc9deecd..ca093830a5b 100644 --- a/llvm/test/CodeGen/ARM/build-attributes.ll +++ b/llvm/test/CodeGen/ARM/build-attributes.ll @@ -143,6 +143,9 @@ ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=exynos-m3 | FileCheck %s --check-prefix=EXYNOS-M3 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=exynos-m3 -enable-unsafe-fp-math -disable-fp-elim -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=EXYNOS-M1-FAST ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=exynos-m3 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING +; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=exynos-m4 | FileCheck %s --check-prefix=EXYNOS-M4 +; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=exynos-m4 -enable-unsafe-fp-math -disable-fp-elim -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=EXYNOS-M1-FAST +; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=exynos-m4 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING ; RUN: llc < %s -mtriple=armv8.1a-linux-gnueabi -enable-unsafe-fp-math -disable-fp-elim -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=GENERIC-ARMV8_1-A-FAST ; RUN: llc < %s -mtriple=armv8.1a-linux-gnueabi -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING ; RUN: llc < %s -mtriple=armv7-none-linux-gnueabi -mcpu=cortex-a7 | FileCheck %s --check-prefix=CORTEX-A7-CHECK @@ -182,6 +185,8 @@ ; RUN: llc < %s -mtriple=armv8-none-linux-gnueabi -mcpu=exynos-m2 -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN ; RUN: llc < %s -mtriple=armv8-none-linux-gnueabi -mcpu=exynos-m3 | FileCheck %s --check-prefix=NO-STRICT-ALIGN ; RUN: llc < %s -mtriple=armv8-none-linux-gnueabi -mcpu=exynos-m3 -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN +; RUN: llc < %s -mtriple=armv8-none-linux-gnueabi -mcpu=exynos-m4 | FileCheck %s --check-prefix=NO-STRICT-ALIGN +; RUN: llc < %s -mtriple=armv8-none-linux-gnueabi -mcpu=exynos-m4 -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN ; ARMv7a ; RUN: llc < %s -mtriple=armv7-none-linux-gnueabi -mcpu=cortex-a7 | FileCheck %s --check-prefix=NO-STRICT-ALIGN @@ -1613,6 +1618,29 @@ ; EXYNOS-M3-NOT: .eabi_attribute 28 ; EXYNOS-M3: .eabi_attribute 38, 1 +; EXYNOS-M4: .cpu exynos-m4 +; EXYNOS-M4: .eabi_attribute 6, 14 +; EXYNOS-M4: .eabi_attribute 7, 65 +; EXYNOS-M4: .eabi_attribute 8, 1 +; EXYNOS-M4: .eabi_attribute 9, 2 +; EXYNOS-M4: .fpu crypto-neon-fp-armv8 +; EXYNOS-M4: .eabi_attribute 12, 3 +; EXYNOS-M4-NOT: .eabi_attribute 27 +; EXYNOS-M4: .eabi_attribute 36, 1 +; EXYNOS-M4: .eabi_attribute 42, 1 +; EXYNOS-M4-NOT: .eabi_attribute 44 +; EXYNOS-M4: .eabi_attribute 68, 3 +; EXYNOS-M4-NOT: .eabi_attribute 19 +;; We default to IEEE 754 compliance +; EXYNOS-M4: .eabi_attribute 20, 1 +; EXYNOS-M4: .eabi_attribute 21, 1 +; EXYNOS-M4-NOT: .eabi_attribute 22 +; EXYNOS-M4: .eabi_attribute 23, 3 +; EXYNOS-M4: .eabi_attribute 24, 1 +; EXYNOS-M4: .eabi_attribute 25, 1 +; EXYNOS-M4-NOT: .eabi_attribute 28 +; EXYNOS-M4: .eabi_attribute 38, 1 + ; GENERIC-FPU-VFPV3-FP16: .fpu vfpv3-fp16 ; GENERIC-FPU-VFPV3-D16-FP16: .fpu vfpv3-d16-fp16 ; GENERIC-FPU-VFPV3XD: .fpu vfpv3xd |