public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/114587] New: -mapxf should define a macro
@ 2024-04-04 14:33 hjl.tools at gmail dot com
  2024-04-04 14:33 ` [Bug target/114587] " hjl.tools at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2024-04-04 14:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114587

            Bug ID: 114587
           Summary: -mapxf should define a macro
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: crazylht at gmail dot com
  Target Milestone: ---
            Target: x86-64

-mapxf should define a macro to indicate APX is enabled.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/114587] -mapxf should define a macro
  2024-04-04 14:33 [Bug target/114587] New: -mapxf should define a macro hjl.tools at gmail dot com
@ 2024-04-04 14:33 ` hjl.tools at gmail dot com
  2024-04-04 14:43 ` hjl.tools at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2024-04-04 14:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114587

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |14.0
     Ever confirmed|0                           |1
           Priority|P3                          |P2
   Last reconfirmed|                            |2024-04-04
             Status|UNCONFIRMED                 |NEW

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/114587] -mapxf should define a macro
  2024-04-04 14:33 [Bug target/114587] New: -mapxf should define a macro hjl.tools at gmail dot com
  2024-04-04 14:33 ` [Bug target/114587] " hjl.tools at gmail dot com
@ 2024-04-04 14:43 ` hjl.tools at gmail dot com
  2024-04-04 18:49 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2024-04-04 14:43 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114587

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
We should define a macro for each APX command-line option.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/114587] -mapxf should define a macro
  2024-04-04 14:33 [Bug target/114587] New: -mapxf should define a macro hjl.tools at gmail dot com
  2024-04-04 14:33 ` [Bug target/114587] " hjl.tools at gmail dot com
  2024-04-04 14:43 ` hjl.tools at gmail dot com
@ 2024-04-04 18:49 ` cvs-commit at gcc dot gnu.org
  2024-04-05  7:33 ` rguenth at gcc dot gnu.org
  2024-04-09  2:42 ` cvs-commit at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-04-04 18:49 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114587

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:

https://gcc.gnu.org/g:1df56719bd868c58466a549b25d7064dac3eb456

commit r14-9791-g1df56719bd868c58466a549b25d7064dac3eb456
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Apr 4 08:05:58 2024 -0700

    x86: Define __APX_F__ for -mapxf

    Define __APX_F__ when APX is enabled.

    gcc/

            PR target/114587
            * config/i386/i386-c.cc (ix86_target_macros_internal): Define
            __APX_F__ when APX is enabled.

    gcc/testsuite/

            PR target/114587
            * gcc.target/i386/apx-2.c: New test.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/114587] -mapxf should define a macro
  2024-04-04 14:33 [Bug target/114587] New: -mapxf should define a macro hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2024-04-04 18:49 ` cvs-commit at gcc dot gnu.org
@ 2024-04-05  7:33 ` rguenth at gcc dot gnu.org
  2024-04-09  2:42 ` cvs-commit at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-04-05  7:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114587

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/114587] -mapxf should define a macro
  2024-04-04 14:33 [Bug target/114587] New: -mapxf should define a macro hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2024-04-05  7:33 ` rguenth at gcc dot gnu.org
@ 2024-04-09  2:42 ` cvs-commit at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-04-09  2:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114587

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:

https://gcc.gnu.org/g:18e94e04dae724c61cbc13ace85fa68f2deda900

commit r14-9852-g18e94e04dae724c61cbc13ace85fa68f2deda900
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Apr 8 18:57:49 2024 -0700

    x86: Define __APX_INLINE_ASM_USE_GPR32__

    Define __APX_INLINE_ASM_USE_GPR32__ for -mapx-inline-asm-use-gpr32.
    When __APX_INLINE_ASM_USE_GPR32__ is defined, inline asm statements
    should contain only instructions compatible with r16-r31.

    gcc/

            PR target/114587
            * config/i386/i386-c.cc (ix86_target_macros_internal): Define
            __APX_INLINE_ASM_USE_GPR32__ for -mapx-inline-asm-use-gpr32.

    gcc/testsuite/

            PR target/114587
            * gcc.target/i386/apx-3.c: Likewise.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-04-09  2:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-04 14:33 [Bug target/114587] New: -mapxf should define a macro hjl.tools at gmail dot com
2024-04-04 14:33 ` [Bug target/114587] " hjl.tools at gmail dot com
2024-04-04 14:43 ` hjl.tools at gmail dot com
2024-04-04 18:49 ` cvs-commit at gcc dot gnu.org
2024-04-05  7:33 ` rguenth at gcc dot gnu.org
2024-04-09  2:42 ` cvs-commit at gcc dot gnu.org

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).