[llvm-commits] CVS: llvm/include/llvm/Target/TargetOptions.h

Evan Cheng evan.cheng at apple.com
Fri Dec 8 18:41:20 PST 2006



Changes in directory llvm/include/llvm/Target:

TargetOptions.h updated: 1.10 -> 1.11
---
Log message:

Added option -soft-float to generate SW fp library calls instead of fp instructions.

---
Diffs of the changes:  (+6 -0)

 TargetOptions.h |    6 ++++++
 1 files changed, 6 insertions(+)


Index: llvm/include/llvm/Target/TargetOptions.h
diff -u llvm/include/llvm/Target/TargetOptions.h:1.10 llvm/include/llvm/Target/TargetOptions.h:1.11
--- llvm/include/llvm/Target/TargetOptions.h:1.10	Tue May 23 13:18:46 2006
+++ llvm/include/llvm/Target/TargetOptions.h	Fri Dec  8 20:41:05 2006
@@ -48,6 +48,12 @@
   /// and results are never NaNs or +-Infs.
   extern bool FiniteOnlyFPMathOption;
   extern bool FiniteOnlyFPMath();
+  
+  /// UseSoftFloat - This flag is enabled when the -soft-float flag is specified
+  /// on the command line.  When this flag is on, the code generator will
+  /// generate libcalls to the software floating point library instead of
+  /// target FP instructions.
+  extern bool UseSoftFloat;
 } // End llvm namespace
 
 #endif






More information about the llvm-commits mailing list