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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32393 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2006-12-09 02:41:30 +00:00
parent 4ad6d61cb7
commit c9ab2f39ce
2 changed files with 13 additions and 0 deletions

View File

@@ -48,6 +48,12 @@ namespace llvm {
/// 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