aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-03-11 22:30:01 +0000
committerBill Wendling <isanbard@gmail.com>2009-03-11 22:30:01 +0000
commitf9abd7e33ea6e8f57176d0069d61595c1347a5ff (patch)
tree2ab9315b2716070e01c40a457b5fd1db6c761d01 /include
parenta891518c4dfd7dddc2f88be0100f8204e738afb3 (diff)
downloadexternal_llvm-f9abd7e33ea6e8f57176d0069d61595c1347a5ff.zip
external_llvm-f9abd7e33ea6e8f57176d0069d61595c1347a5ff.tar.gz
external_llvm-f9abd7e33ea6e8f57176d0069d61595c1347a5ff.tar.bz2
Add a -no-implicit-float flag. This acts like -soft-float, but may generate
floating point instructions that are explicitly specified by the user. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66719 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetOptions.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetOptions.h b/include/llvm/Target/TargetOptions.h
index d53e399..54468f4 100644
--- a/include/llvm/Target/TargetOptions.h
+++ b/include/llvm/Target/TargetOptions.h
@@ -65,6 +65,12 @@ namespace llvm {
/// target FP instructions.
extern bool UseSoftFloat;
+ /// NoImplicitFloat - This flag is enabled when the -no-implicit-float flag is
+ /// specified on the command line. When this flag is on, the code generator
+ /// won't generate any implicit floating point instructions. I.e., no XMM or
+ /// x87 or vectorized memcpy/memmove instructions. This is for X86 only.
+ extern bool NoImplicitFloat;
+
/// NoZerosInBSS - By default some codegens place zero-initialized data to
/// .bss section. This flag disables such behaviour (necessary, e.g. for
/// crt*.o compiling).