public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] math: Handle internal fabsf128 alias on clang
@ 2022-06-09 21:25 Adhemerval Zanella
0 siblings, 0 replies; 7+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 21:25 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=39fef860825157801e5cbadafbd0159ad5b92182
commit 39fef860825157801e5cbadafbd0159ad5b92182
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Tue Apr 5 15:51:40 2022 -0300
math: Handle internal fabsf128 alias on clang
Diff:
---
include/math.h | 4 +++-
sysdeps/generic/math-type-macros.h | 2 +-
sysdeps/ieee754/float128/float128_private.h | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/include/math.h b/include/math.h
index fa11a710a6..6a9d1a678c 100644
--- a/include/math.h
+++ b/include/math.h
@@ -123,11 +123,13 @@ __isinff128 (_Float128 x)
}
# endif
+# ifdef __USE_EXTERN_INLINES
extern inline _Float128
-fabsf128 (_Float128 x)
+__fabsf128 (_Float128 x)
{
return __builtin_fabsf128 (x);
}
+# endif
# endif
# if !(defined __FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
diff --git a/sysdeps/generic/math-type-macros.h b/sysdeps/generic/math-type-macros.h
index df5852524d..98cbb68118 100644
--- a/sysdeps/generic/math-type-macros.h
+++ b/sysdeps/generic/math-type-macros.h
@@ -109,7 +109,7 @@
/* Helper macros for commonly used functions. */
#define M_COPYSIGN M_SUF (copysign)
-#define M_FABS M_SUF (fabs)
+#define M_FABS M_SUF (__fabs)
#define M_SINCOS M_SUF (__sincos)
#define M_SCALBN M_SUF (__scalbn)
#define M_LOG1P M_SUF (__log1p)
diff --git a/sysdeps/ieee754/float128/float128_private.h b/sysdeps/ieee754/float128/float128_private.h
index f9655df0df..a74462575c 100644
--- a/sysdeps/ieee754/float128/float128_private.h
+++ b/sysdeps/ieee754/float128/float128_private.h
@@ -336,7 +336,7 @@
#define erfl erff128
#define expl expf128
#define expm1l expm1f128
-#define fabsl fabsf128
+#define fabsl __fabsf128
#define fdiml fdimf128
#define finitel finitef128_do_not_use
#define floorl floorf128
^ permalink raw reply [flat|nested] 7+ messages in thread
* [glibc/azanella/clang] math: Handle internal fabsf128 alias on clang
@ 2022-06-09 13:22 Adhemerval Zanella
0 siblings, 0 replies; 7+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 13:22 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=39fef860825157801e5cbadafbd0159ad5b92182
commit 39fef860825157801e5cbadafbd0159ad5b92182
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Tue Apr 5 15:51:40 2022 -0300
math: Handle internal fabsf128 alias on clang
Diff:
---
include/math.h | 4 +++-
sysdeps/generic/math-type-macros.h | 2 +-
sysdeps/ieee754/float128/float128_private.h | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/include/math.h b/include/math.h
index fa11a710a6..6a9d1a678c 100644
--- a/include/math.h
+++ b/include/math.h
@@ -123,11 +123,13 @@ __isinff128 (_Float128 x)
}
# endif
+# ifdef __USE_EXTERN_INLINES
extern inline _Float128
-fabsf128 (_Float128 x)
+__fabsf128 (_Float128 x)
{
return __builtin_fabsf128 (x);
}
+# endif
# endif
# if !(defined __FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
diff --git a/sysdeps/generic/math-type-macros.h b/sysdeps/generic/math-type-macros.h
index df5852524d..98cbb68118 100644
--- a/sysdeps/generic/math-type-macros.h
+++ b/sysdeps/generic/math-type-macros.h
@@ -109,7 +109,7 @@
/* Helper macros for commonly used functions. */
#define M_COPYSIGN M_SUF (copysign)
-#define M_FABS M_SUF (fabs)
+#define M_FABS M_SUF (__fabs)
#define M_SINCOS M_SUF (__sincos)
#define M_SCALBN M_SUF (__scalbn)
#define M_LOG1P M_SUF (__log1p)
diff --git a/sysdeps/ieee754/float128/float128_private.h b/sysdeps/ieee754/float128/float128_private.h
index f9655df0df..a74462575c 100644
--- a/sysdeps/ieee754/float128/float128_private.h
+++ b/sysdeps/ieee754/float128/float128_private.h
@@ -336,7 +336,7 @@
#define erfl erff128
#define expl expf128
#define expm1l expm1f128
-#define fabsl fabsf128
+#define fabsl __fabsf128
#define fdiml fdimf128
#define finitel finitef128_do_not_use
#define floorl floorf128
^ permalink raw reply [flat|nested] 7+ messages in thread
* [glibc/azanella/clang] math: Handle internal fabsf128 alias on clang
@ 2022-06-03 14:11 Adhemerval Zanella
0 siblings, 0 replies; 7+ messages in thread
From: Adhemerval Zanella @ 2022-06-03 14:11 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=aa82263a8a495f56a9d8e50a1bf98d6374d6a506
commit aa82263a8a495f56a9d8e50a1bf98d6374d6a506
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Tue Apr 5 15:51:40 2022 -0300
math: Handle internal fabsf128 alias on clang
Diff:
---
include/math.h | 4 +++-
sysdeps/generic/math-type-macros.h | 2 +-
sysdeps/ieee754/float128/float128_private.h | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/include/math.h b/include/math.h
index fa11a710a6..6a9d1a678c 100644
--- a/include/math.h
+++ b/include/math.h
@@ -123,11 +123,13 @@ __isinff128 (_Float128 x)
}
# endif
+# ifdef __USE_EXTERN_INLINES
extern inline _Float128
-fabsf128 (_Float128 x)
+__fabsf128 (_Float128 x)
{
return __builtin_fabsf128 (x);
}
+# endif
# endif
# if !(defined __FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
diff --git a/sysdeps/generic/math-type-macros.h b/sysdeps/generic/math-type-macros.h
index df5852524d..98cbb68118 100644
--- a/sysdeps/generic/math-type-macros.h
+++ b/sysdeps/generic/math-type-macros.h
@@ -109,7 +109,7 @@
/* Helper macros for commonly used functions. */
#define M_COPYSIGN M_SUF (copysign)
-#define M_FABS M_SUF (fabs)
+#define M_FABS M_SUF (__fabs)
#define M_SINCOS M_SUF (__sincos)
#define M_SCALBN M_SUF (__scalbn)
#define M_LOG1P M_SUF (__log1p)
diff --git a/sysdeps/ieee754/float128/float128_private.h b/sysdeps/ieee754/float128/float128_private.h
index f9655df0df..a74462575c 100644
--- a/sysdeps/ieee754/float128/float128_private.h
+++ b/sysdeps/ieee754/float128/float128_private.h
@@ -336,7 +336,7 @@
#define erfl erff128
#define expl expf128
#define expm1l expm1f128
-#define fabsl fabsf128
+#define fabsl __fabsf128
#define fdiml fdimf128
#define finitel finitef128_do_not_use
#define floorl floorf128
^ permalink raw reply [flat|nested] 7+ messages in thread
* [glibc/azanella/clang] math: Handle internal fabsf128 alias on clang
@ 2022-05-13 14:25 Adhemerval Zanella
0 siblings, 0 replies; 7+ messages in thread
From: Adhemerval Zanella @ 2022-05-13 14:25 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=46277cfe81ce266d031d530f5417edec4359a3d1
commit 46277cfe81ce266d031d530f5417edec4359a3d1
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Tue Apr 5 15:51:40 2022 -0300
math: Handle internal fabsf128 alias on clang
Diff:
---
include/math.h | 4 +++-
sysdeps/generic/math-type-macros.h | 2 +-
sysdeps/ieee754/float128/float128_private.h | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/include/math.h b/include/math.h
index fa11a710a6..6a9d1a678c 100644
--- a/include/math.h
+++ b/include/math.h
@@ -123,11 +123,13 @@ __isinff128 (_Float128 x)
}
# endif
+# ifdef __USE_EXTERN_INLINES
extern inline _Float128
-fabsf128 (_Float128 x)
+__fabsf128 (_Float128 x)
{
return __builtin_fabsf128 (x);
}
+# endif
# endif
# if !(defined __FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
diff --git a/sysdeps/generic/math-type-macros.h b/sysdeps/generic/math-type-macros.h
index df5852524d..98cbb68118 100644
--- a/sysdeps/generic/math-type-macros.h
+++ b/sysdeps/generic/math-type-macros.h
@@ -109,7 +109,7 @@
/* Helper macros for commonly used functions. */
#define M_COPYSIGN M_SUF (copysign)
-#define M_FABS M_SUF (fabs)
+#define M_FABS M_SUF (__fabs)
#define M_SINCOS M_SUF (__sincos)
#define M_SCALBN M_SUF (__scalbn)
#define M_LOG1P M_SUF (__log1p)
diff --git a/sysdeps/ieee754/float128/float128_private.h b/sysdeps/ieee754/float128/float128_private.h
index f9655df0df..a74462575c 100644
--- a/sysdeps/ieee754/float128/float128_private.h
+++ b/sysdeps/ieee754/float128/float128_private.h
@@ -336,7 +336,7 @@
#define erfl erff128
#define expl expf128
#define expm1l expm1f128
-#define fabsl fabsf128
+#define fabsl __fabsf128
#define fdiml fdimf128
#define finitel finitef128_do_not_use
#define floorl floorf128
^ permalink raw reply [flat|nested] 7+ messages in thread
* [glibc/azanella/clang] math: Handle internal fabsf128 alias on clang
@ 2022-05-12 19:39 Adhemerval Zanella
0 siblings, 0 replies; 7+ messages in thread
From: Adhemerval Zanella @ 2022-05-12 19:39 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7f989b6c575316f8a58d73b85a5ac14f002b2b6f
commit 7f989b6c575316f8a58d73b85a5ac14f002b2b6f
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Tue Apr 5 15:51:40 2022 -0300
math: Handle internal fabsf128 alias on clang
Diff:
---
include/math.h | 4 +++-
sysdeps/generic/math-type-macros.h | 2 +-
sysdeps/ieee754/float128/float128_private.h | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/include/math.h b/include/math.h
index fa11a710a6..6a9d1a678c 100644
--- a/include/math.h
+++ b/include/math.h
@@ -123,11 +123,13 @@ __isinff128 (_Float128 x)
}
# endif
+# ifdef __USE_EXTERN_INLINES
extern inline _Float128
-fabsf128 (_Float128 x)
+__fabsf128 (_Float128 x)
{
return __builtin_fabsf128 (x);
}
+# endif
# endif
# if !(defined __FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
diff --git a/sysdeps/generic/math-type-macros.h b/sysdeps/generic/math-type-macros.h
index df5852524d..98cbb68118 100644
--- a/sysdeps/generic/math-type-macros.h
+++ b/sysdeps/generic/math-type-macros.h
@@ -109,7 +109,7 @@
/* Helper macros for commonly used functions. */
#define M_COPYSIGN M_SUF (copysign)
-#define M_FABS M_SUF (fabs)
+#define M_FABS M_SUF (__fabs)
#define M_SINCOS M_SUF (__sincos)
#define M_SCALBN M_SUF (__scalbn)
#define M_LOG1P M_SUF (__log1p)
diff --git a/sysdeps/ieee754/float128/float128_private.h b/sysdeps/ieee754/float128/float128_private.h
index f9655df0df..a74462575c 100644
--- a/sysdeps/ieee754/float128/float128_private.h
+++ b/sysdeps/ieee754/float128/float128_private.h
@@ -336,7 +336,7 @@
#define erfl erff128
#define expl expf128
#define expm1l expm1f128
-#define fabsl fabsf128
+#define fabsl __fabsf128
#define fdiml fdimf128
#define finitel finitef128_do_not_use
#define floorl floorf128
^ permalink raw reply [flat|nested] 7+ messages in thread
* [glibc/azanella/clang] math: Handle internal fabsf128 alias on clang
@ 2022-05-10 18:29 Adhemerval Zanella
0 siblings, 0 replies; 7+ messages in thread
From: Adhemerval Zanella @ 2022-05-10 18:29 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=86beb5d3fbbbf8cd5271d94008c5476b782616db
commit 86beb5d3fbbbf8cd5271d94008c5476b782616db
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Tue Apr 5 15:51:40 2022 -0300
math: Handle internal fabsf128 alias on clang
Diff:
---
include/math.h | 4 +++-
sysdeps/generic/math-type-macros.h | 2 +-
sysdeps/ieee754/float128/float128_private.h | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/include/math.h b/include/math.h
index fa11a710a6..6a9d1a678c 100644
--- a/include/math.h
+++ b/include/math.h
@@ -123,11 +123,13 @@ __isinff128 (_Float128 x)
}
# endif
+# ifdef __USE_EXTERN_INLINES
extern inline _Float128
-fabsf128 (_Float128 x)
+__fabsf128 (_Float128 x)
{
return __builtin_fabsf128 (x);
}
+# endif
# endif
# if !(defined __FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
diff --git a/sysdeps/generic/math-type-macros.h b/sysdeps/generic/math-type-macros.h
index df5852524d..98cbb68118 100644
--- a/sysdeps/generic/math-type-macros.h
+++ b/sysdeps/generic/math-type-macros.h
@@ -109,7 +109,7 @@
/* Helper macros for commonly used functions. */
#define M_COPYSIGN M_SUF (copysign)
-#define M_FABS M_SUF (fabs)
+#define M_FABS M_SUF (__fabs)
#define M_SINCOS M_SUF (__sincos)
#define M_SCALBN M_SUF (__scalbn)
#define M_LOG1P M_SUF (__log1p)
diff --git a/sysdeps/ieee754/float128/float128_private.h b/sysdeps/ieee754/float128/float128_private.h
index f9655df0df..a74462575c 100644
--- a/sysdeps/ieee754/float128/float128_private.h
+++ b/sysdeps/ieee754/float128/float128_private.h
@@ -336,7 +336,7 @@
#define erfl erff128
#define expl expf128
#define expm1l expm1f128
-#define fabsl fabsf128
+#define fabsl __fabsf128
#define fdiml fdimf128
#define finitel finitef128_do_not_use
#define floorl floorf128
^ permalink raw reply [flat|nested] 7+ messages in thread
* [glibc/azanella/clang] math: Handle internal fabsf128 alias on clang
@ 2022-04-29 14:09 Adhemerval Zanella
0 siblings, 0 replies; 7+ messages in thread
From: Adhemerval Zanella @ 2022-04-29 14:09 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8b492130ba565fbd1d599109837d4f127cad4d05
commit 8b492130ba565fbd1d599109837d4f127cad4d05
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Tue Apr 5 15:51:40 2022 -0300
math: Handle internal fabsf128 alias on clang
Diff:
---
include/math.h | 4 +++-
sysdeps/generic/math-type-macros.h | 2 +-
sysdeps/ieee754/float128/float128_private.h | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/include/math.h b/include/math.h
index fa11a710a6..6a9d1a678c 100644
--- a/include/math.h
+++ b/include/math.h
@@ -123,11 +123,13 @@ __isinff128 (_Float128 x)
}
# endif
+# ifdef __USE_EXTERN_INLINES
extern inline _Float128
-fabsf128 (_Float128 x)
+__fabsf128 (_Float128 x)
{
return __builtin_fabsf128 (x);
}
+# endif
# endif
# if !(defined __FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
diff --git a/sysdeps/generic/math-type-macros.h b/sysdeps/generic/math-type-macros.h
index df5852524d..98cbb68118 100644
--- a/sysdeps/generic/math-type-macros.h
+++ b/sysdeps/generic/math-type-macros.h
@@ -109,7 +109,7 @@
/* Helper macros for commonly used functions. */
#define M_COPYSIGN M_SUF (copysign)
-#define M_FABS M_SUF (fabs)
+#define M_FABS M_SUF (__fabs)
#define M_SINCOS M_SUF (__sincos)
#define M_SCALBN M_SUF (__scalbn)
#define M_LOG1P M_SUF (__log1p)
diff --git a/sysdeps/ieee754/float128/float128_private.h b/sysdeps/ieee754/float128/float128_private.h
index f9655df0df..a74462575c 100644
--- a/sysdeps/ieee754/float128/float128_private.h
+++ b/sysdeps/ieee754/float128/float128_private.h
@@ -336,7 +336,7 @@
#define erfl erff128
#define expl expf128
#define expm1l expm1f128
-#define fabsl fabsf128
+#define fabsl __fabsf128
#define fdiml fdimf128
#define finitel finitef128_do_not_use
#define floorl floorf128
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-06-09 21:25 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-09 21:25 [glibc/azanella/clang] math: Handle internal fabsf128 alias on clang Adhemerval Zanella
-- strict thread matches above, loose matches on Subject: below --
2022-06-09 13:22 Adhemerval Zanella
2022-06-03 14:11 Adhemerval Zanella
2022-05-13 14:25 Adhemerval Zanella
2022-05-12 19:39 Adhemerval Zanella
2022-05-10 18:29 Adhemerval Zanella
2022-04-29 14:09 Adhemerval Zanella
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).