public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hjl.tools at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/31335] Compile glibc with -march=x86-64-v3 should disable FMA4 multi-arch version
Date: Thu, 04 Apr 2024 13:12:01 +0000	[thread overview]
Message-ID: <bug-31335-131-iLkB91PFwR@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-31335-131@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=31335

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Florian Weimer from comment #3)
> Has this bug been fixed?
> 
> I ran into this issue while trying to build glibc with -mapxf. This option
> is logically incompatible with -mfma4, although not rejected by GCC. I don't
> expect there to be any hardware that supports this combination, and GCC
> generates assembly that is incompatible with GAS:
> 
> /tmp/ccuidrGh.s: Assembler messages:
> /tmp/ccuidrGh.s:451: Error: extended GPR cannot be used as base/index for
> `vfmaddsd'
> /tmp/ccuidrGh.s:702: Error: extended GPR cannot be used as base/index for
> `vfmaddsd'
> /tmp/ccuidrGh.s:821: Error: extended GPR cannot be used as base/index for
> `vfmaddsd'
> /tmp/ccuidrGh.s:1449: Error: extended GPR cannot be used as base/index for
> `vfmaddsd'
> /tmp/ccuidrGh.s:1591: Error: extended GPR cannot be used as base/index for
> `vfmaddsd'
> /tmp/ccuidrGh.s:1709: Error: extended GPR cannot be used as base/index for
> `vfmaddsd'

I can't reproduce it with glibc master branch, GCC 14 and binutils 2.42.
What are your configure and build options?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2024-04-04 13:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-04  2:41 [Bug math/31335] New: " hjl.tools at gmail dot com
2024-02-05 15:08 ` [Bug math/31335] " fweimer at redhat dot com
2024-02-05 15:15 ` hjl.tools at gmail dot com
2024-02-25 23:17 ` cvs-commit at gcc dot gnu.org
2024-04-04  6:15 ` fweimer at redhat dot com
2024-04-04 13:12 ` hjl.tools at gmail dot com [this message]
2024-04-04 13:36 ` hjl.tools at gmail dot com
2024-04-04 14:36 ` hjl.tools at gmail dot com
2024-04-14 13:37 ` hjl.tools at gmail dot com

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=bug-31335-131-iLkB91PFwR@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@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).