public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Adhemerval Zanella <azanella@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc/azanella/clang] i386: Disable math_opt_barrier and math_force_eval for clang
Date: Tue,  4 Oct 2022 12:59:56 +0000 (GMT)	[thread overview]
Message-ID: <20221004125956.A49FC385829C@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f8d910b4fbeaf1085dcd36deab8cad8df12efa40

commit f8d910b4fbeaf1085dcd36deab8cad8df12efa40
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Jul 26 08:45:02 2022 -0300

    i386: Disable math_opt_barrier and math_force_eval for clang

Diff:
---
 sysdeps/x86/fpu/math-barriers.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/x86/fpu/math-barriers.h b/sysdeps/x86/fpu/math-barriers.h
index cbe665a4f7..82e1526fee 100644
--- a/sysdeps/x86/fpu/math-barriers.h
+++ b/sysdeps/x86/fpu/math-barriers.h
@@ -19,7 +19,7 @@
 #ifndef X86_MATH_BARRIERS_H
 #define X86_MATH_BARRIERS_H 1
 
-#ifdef __SSE2_MATH__
+#if defined __SSE2_MATH__ && !defined (__clang__)
 # define math_opt_barrier(x)						\
   ({ __typeof(x) __x;							\
      if (sizeof (x) <= sizeof (double)					\

             reply	other threads:[~2022-10-04 12:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-04 12:59 Adhemerval Zanella [this message]
2022-10-28 17:42 Adhemerval Zanella
2023-02-09 19:48 Adhemerval Zanella
2023-08-30 12:37 Adhemerval Zanella
2023-09-28 17:52 Adhemerval Zanella
2023-12-21 18:54 Adhemerval Zanella
2024-01-29 17:57 Adhemerval Zanella
2024-02-07 14:07 Adhemerval Zanella
2024-02-09 17:32 Adhemerval Zanella
2024-04-02 15:53 Adhemerval Zanella
2024-04-17 20:07 Adhemerval Zanella

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221004125956.A49FC385829C@sourceware.org \
    --to=azanella@sourceware.org \
    --cc=glibc-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).