diff options
author | Jacob Baungard Hansen <jacob.hansen@esa.int> | 2016-05-24 08:30:08 +0000 |
---|---|---|
committer | Jacob Baungard Hansen <jacob.hansen@esa.int> | 2016-05-24 08:30:08 +0000 |
commit | 13a49374048c0d9e1600cda96f181d07ce732042 (patch) | |
tree | ecaaca4d1e0ea7a5dd7e15906638e3cd9640314b /clang/test/CodeGen/function-target-features.c | |
parent | 14000b3cea6b3a44a19b9c80c550d7a2c24b3d31 (diff) | |
download | bcm5719-llvm-13a49374048c0d9e1600cda96f181d07ce732042.tar.gz bcm5719-llvm-13a49374048c0d9e1600cda96f181d07ce732042.zip |
[Sparc] Add software float option -msoft-float
Summary:
Following patch D19265 which enable software floating point support in the Sparc backend, this patch enables the option to be enabled in the front-end using the -msoft-float option.
The user should ensure a library (such as the builtins from Compiler-RT) that includes the software floating point routines is provided.
Reviewers: jyknight, lero_chris
Subscribers: jyknight, cfe-commits
Differential Revision: http://reviews.llvm.org/D20419
llvm-svn: 270538
Diffstat (limited to 'clang/test/CodeGen/function-target-features.c')
-rw-r--r-- | clang/test/CodeGen/function-target-features.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/function-target-features.c b/clang/test/CodeGen/function-target-features.c index 351c7f102b1..6b32d3ddbcd 100644 --- a/clang/test/CodeGen/function-target-features.c +++ b/clang/test/CodeGen/function-target-features.c @@ -9,7 +9,7 @@ // RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s -target-cpu corei7 -target-feature +avx | FileCheck %s -check-prefix=CORE-CPU-AND-FEATURES // RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s -target-cpu x86-64 | FileCheck %s -check-prefix=X86-64-CPU // RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s -target-cpu corei7-avx -target-feature -avx | FileCheck %s -check-prefix=AVX-MINUS-FEATURE -// RUN: %clang_cc1 -triple sparc-unknown-unknown -emit-llvm -o - %s -target-feature +soft-float | FileCheck %s -check-prefix=NO-SOFT-FLOAT +// RUN: %clang_cc1 -triple sparc-unknown-unknown -emit-llvm -o - %s -target-feature +soft-float | FileCheck %s -check-prefix=SOFT-FLOAT // RUN: %clang_cc1 -triple arm-unknown-unknown -emit-llvm -o - %s -target-feature +soft-float | FileCheck %s -check-prefix=SOFT-FLOAT // RUN: %clang_cc1 -triple mips-unknown-unknown -emit-llvm -o - %s -target-feature +soft-float | FileCheck %s -check-prefix=SOFT-FLOAT |