[builtins] Replace __SOFT_FP__ with __SOFTFP__
authorKamlesh Kumar <kamleshbhalui@gmail.com>
Tue, 23 Feb 2021 06:57:23 +0000 (22:57 -0800)
committerFangrui Song <i@maskray.me>
Tue, 23 Feb 2021 06:57:23 +0000 (22:57 -0800)
Fix PR46294

Differential Revision: https://reviews.llvm.org/D82014

compiler-rt/lib/builtins/fixdfdi.c
compiler-rt/lib/builtins/fixsfdi.c
compiler-rt/lib/builtins/fixunsdfdi.c
compiler-rt/lib/builtins/fixunssfdi.c
compiler-rt/lib/builtins/floatdidf.c
compiler-rt/lib/builtins/floatundidf.c

index 2ed5261..511568f 100644 (file)
@@ -9,7 +9,7 @@
 #define DOUBLE_PRECISION
 #include "fp_lib.h"
 
-#ifndef __SOFT_FP__
+#ifndef __SOFTFP__
 // Support for systems that have hardware floating-point; can set the invalid
 // flag as a side-effect of computation.
 
index 615e93d..0cf71c3 100644 (file)
@@ -9,7 +9,7 @@
 #define SINGLE_PRECISION
 #include "fp_lib.h"
 
-#ifndef __SOFT_FP__
+#ifndef __SOFTFP__
 // Support for systems that have hardware floating-point; can set the invalid
 // flag as a side-effect of computation.
 
index d2ba738..ccb256d 100644 (file)
@@ -9,7 +9,7 @@
 #define DOUBLE_PRECISION
 #include "fp_lib.h"
 
-#ifndef __SOFT_FP__
+#ifndef __SOFTFP__
 // Support for systems that have hardware floating-point; can set the invalid
 // flag as a side-effect of computation.
 
index 2b90daf..647185f 100644 (file)
@@ -9,7 +9,7 @@
 #define SINGLE_PRECISION
 #include "fp_lib.h"
 
-#ifndef __SOFT_FP__
+#ifndef __SOFTFP__
 // Support for systems that have hardware floating-point; can set the invalid
 // flag as a side-effect of computation.
 
index b2d8f2b..7ecb30b 100644 (file)
@@ -20,7 +20,7 @@
 // seee eeee eeee mmmm mmmm mmmm mmmm mmmm | mmmm mmmm mmmm mmmm mmmm mmmm mmmm
 // mmmm
 
-#ifndef __SOFT_FP__
+#ifndef __SOFTFP__
 // Support for systems that have hardware floating-point; we'll set the inexact
 // flag as a side-effect of this computation.
 
index 4c445b1..e5e5330 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "int_lib.h"
 
-#ifndef __SOFT_FP__
+#ifndef __SOFTFP__
 // Support for systems that have hardware floating-point; we'll set the inexact
 // flag as a side-effect of this computation.