[compiler-rt] 1803599 - [builtins] Replace __SOFT_FP__ with __SOFTFP__
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 22 22:57:32 PST 2021
Author: Kamlesh Kumar
Date: 2021-02-22T22:57:23-08:00
New Revision: 18035991cdbbc24aba9ca4c7168cc0cf60d90c31
URL: https://github.com/llvm/llvm-project/commit/18035991cdbbc24aba9ca4c7168cc0cf60d90c31
DIFF: https://github.com/llvm/llvm-project/commit/18035991cdbbc24aba9ca4c7168cc0cf60d90c31.diff
LOG: [builtins] Replace __SOFT_FP__ with __SOFTFP__
Fix PR46294
Differential Revision: https://reviews.llvm.org/D82014
Added:
Modified:
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
Removed:
################################################################################
diff --git a/compiler-rt/lib/builtins/fixdfdi.c b/compiler-rt/lib/builtins/fixdfdi.c
index 2ed5261c51b7..511568fc12fd 100644
--- a/compiler-rt/lib/builtins/fixdfdi.c
+++ b/compiler-rt/lib/builtins/fixdfdi.c
@@ -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.
diff --git a/compiler-rt/lib/builtins/fixsfdi.c b/compiler-rt/lib/builtins/fixsfdi.c
index 615e93d4f8d9..0cf71c30311a 100644
--- a/compiler-rt/lib/builtins/fixsfdi.c
+++ b/compiler-rt/lib/builtins/fixsfdi.c
@@ -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.
diff --git a/compiler-rt/lib/builtins/fixunsdfdi.c b/compiler-rt/lib/builtins/fixunsdfdi.c
index d2ba73825cfe..ccb256d2c7e0 100644
--- a/compiler-rt/lib/builtins/fixunsdfdi.c
+++ b/compiler-rt/lib/builtins/fixunsdfdi.c
@@ -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.
diff --git a/compiler-rt/lib/builtins/fixunssfdi.c b/compiler-rt/lib/builtins/fixunssfdi.c
index 2b90dafad8c2..647185fbabf1 100644
--- a/compiler-rt/lib/builtins/fixunssfdi.c
+++ b/compiler-rt/lib/builtins/fixunssfdi.c
@@ -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.
diff --git a/compiler-rt/lib/builtins/floatdidf.c b/compiler-rt/lib/builtins/floatdidf.c
index b2d8f2b44b6d..7ecb30bca71e 100644
--- a/compiler-rt/lib/builtins/floatdidf.c
+++ b/compiler-rt/lib/builtins/floatdidf.c
@@ -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.
diff --git a/compiler-rt/lib/builtins/floatundidf.c b/compiler-rt/lib/builtins/floatundidf.c
index 4c445b118080..e5e533042a34 100644
--- a/compiler-rt/lib/builtins/floatundidf.c
+++ b/compiler-rt/lib/builtins/floatundidf.c
@@ -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.
More information about the llvm-commits
mailing list