public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/114272] New: SCHEDULER_IDENT incorrect for Cortex-A520 and Cortex-A510
@ 2024-03-07 16:54 ricbal02 at gcc dot gnu.org
  2024-03-07 16:55 ` [Bug target/114272] " ricbal02 at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: ricbal02 at gcc dot gnu.org @ 2024-03-07 16:54 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 114272
           Summary: SCHEDULER_IDENT incorrect for Cortex-A520 and
                    Cortex-A510
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ricbal02 at gcc dot gnu.org
  Target Milestone: ---

The SCHEDULER_IDENT for these two CPUs was incorrectly
set to cortexa55, which is incorrect. This can cause
incorrect asm to be generated.

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

* [Bug target/114272] SCHEDULER_IDENT incorrect for Cortex-A520 and Cortex-A510
  2024-03-07 16:54 [Bug target/114272] New: SCHEDULER_IDENT incorrect for Cortex-A520 and Cortex-A510 ricbal02 at gcc dot gnu.org
@ 2024-03-07 16:55 ` ricbal02 at gcc dot gnu.org
  2024-03-07 17:00 ` pinskia at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ricbal02 at gcc dot gnu.org @ 2024-03-07 16:55 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Ball <ricbal02 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2024-03-07
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |ASSIGNED
             Target|                            |aarch64
           Assignee|unassigned at gcc dot gnu.org      |ricbal02 at gcc dot gnu.org

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

* [Bug target/114272] SCHEDULER_IDENT incorrect for Cortex-A520 and Cortex-A510
  2024-03-07 16:54 [Bug target/114272] New: SCHEDULER_IDENT incorrect for Cortex-A520 and Cortex-A510 ricbal02 at gcc dot gnu.org
  2024-03-07 16:55 ` [Bug target/114272] " ricbal02 at gcc dot gnu.org
@ 2024-03-07 17:00 ` pinskia at gcc dot gnu.org
  2024-03-07 17:02 ` ricbal02 at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-07 17:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Richard Ball from comment #0)
> The SCHEDULER_IDENT for these two CPUs was incorrectly
> set to cortexa55, which is incorrect. This can cause
> incorrect asm to be generated.

SCHEDULER_IDENT will/should NOT cause incorrect assembly to be generated. It
might produce worse code though as the scheduler model will be that rather than
a decent one.

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

* [Bug target/114272] SCHEDULER_IDENT incorrect for Cortex-A520 and Cortex-A510
  2024-03-07 16:54 [Bug target/114272] New: SCHEDULER_IDENT incorrect for Cortex-A520 and Cortex-A510 ricbal02 at gcc dot gnu.org
  2024-03-07 16:55 ` [Bug target/114272] " ricbal02 at gcc dot gnu.org
  2024-03-07 17:00 ` pinskia at gcc dot gnu.org
@ 2024-03-07 17:02 ` ricbal02 at gcc dot gnu.org
  2024-03-26 13:57 ` cvs-commit at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ricbal02 at gcc dot gnu.org @ 2024-03-07 17:02 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Richard Ball <ricbal02 at gcc dot gnu.org> ---
Bad wording on my part there, apologies. You're correct, not incorrect perhaps
sub-optimal is a better wording.

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

* [Bug target/114272] SCHEDULER_IDENT incorrect for Cortex-A520 and Cortex-A510
  2024-03-07 16:54 [Bug target/114272] New: SCHEDULER_IDENT incorrect for Cortex-A520 and Cortex-A510 ricbal02 at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2024-03-07 17:02 ` ricbal02 at gcc dot gnu.org
@ 2024-03-26 13:57 ` cvs-commit at gcc dot gnu.org
  2024-03-26 13:58 ` ricbal02 at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-03-26 13:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Ball <ricbal02@gcc.gnu.org>:

https://gcc.gnu.org/g:cab53aae43cf94171b01320c08302e47a5daa391

commit r14-9672-gcab53aae43cf94171b01320c08302e47a5daa391
Author: Richard Ball <richard.ball@arm.com>
Date:   Tue Mar 26 13:54:31 2024 +0000

    aarch64: Fix SCHEDULER_IDENT for Cortex-A510 and Cortex-A520

    The SCHEDULER_IDENT for these two CPUs
    was incorrectly set to cortexa55.
    This can cause sub-optimal asm
     to be generated.

    gcc/ChangeLog:
            PR target/114272
            * config/aarch64/aarch64-cores.def (AARCH64_CORE):
            Change SCHEDULER_IDENT from cortexa55 to cortexa53
            for Cortex-A510 and Cortex-A520.

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

* [Bug target/114272] SCHEDULER_IDENT incorrect for Cortex-A520 and Cortex-A510
  2024-03-07 16:54 [Bug target/114272] New: SCHEDULER_IDENT incorrect for Cortex-A520 and Cortex-A510 ricbal02 at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2024-03-26 13:57 ` cvs-commit at gcc dot gnu.org
@ 2024-03-26 13:58 ` ricbal02 at gcc dot gnu.org
  2024-04-26 17:16 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ricbal02 at gcc dot gnu.org @ 2024-03-26 13:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Richard Ball <ricbal02 at gcc dot gnu.org> ---
Fixed on Trunk so far

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

* [Bug target/114272] SCHEDULER_IDENT incorrect for Cortex-A520 and Cortex-A510
  2024-03-07 16:54 [Bug target/114272] New: SCHEDULER_IDENT incorrect for Cortex-A520 and Cortex-A510 ricbal02 at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2024-03-26 13:58 ` ricbal02 at gcc dot gnu.org
@ 2024-04-26 17:16 ` cvs-commit at gcc dot gnu.org
  2024-04-26 17:22 ` cvs-commit at gcc dot gnu.org
  2024-04-26 17:25 ` ricbal02 at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-04-26 17:16 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Richard Ball
<ricbal02@gcc.gnu.org>:

https://gcc.gnu.org/g:28b3b8a2fe55521a43f3710cf6ced1ab63f1ea03

commit r13-8654-g28b3b8a2fe55521a43f3710cf6ced1ab63f1ea03
Author: Richard Ball <richard.ball@arm.com>
Date:   Fri Apr 26 18:15:23 2024 +0100

    aarch64: Fix SCHEDULER_IDENT for Cortex-A510

    The SCHEDULER_IDENT for this CPU was incorrectly
    set to cortexa55. This can cause
    sub-optimal asm to be generated.

    gcc/ChangeLog:
            PR target/114272
            * config/aarch64/aarch64-cores.def (AARCH64_CORE):
            Change SCHEDULER_IDENT from cortexa55 to cortexa53
            for Cortex-A510.

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

* [Bug target/114272] SCHEDULER_IDENT incorrect for Cortex-A520 and Cortex-A510
  2024-03-07 16:54 [Bug target/114272] New: SCHEDULER_IDENT incorrect for Cortex-A520 and Cortex-A510 ricbal02 at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2024-04-26 17:16 ` cvs-commit at gcc dot gnu.org
@ 2024-04-26 17:22 ` cvs-commit at gcc dot gnu.org
  2024-04-26 17:25 ` ricbal02 at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-04-26 17:22 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Richard Ball
<ricbal02@gcc.gnu.org>:

https://gcc.gnu.org/g:751a0f54345b7e037db7f0389c19c1f87e0ae4de

commit r12-10397-g751a0f54345b7e037db7f0389c19c1f87e0ae4de
Author: Richard Ball <richard.ball@arm.com>
Date:   Fri Apr 26 18:21:07 2024 +0100

    aarch64: Fix SCHEDULER_IDENT for Cortex-A510

    The SCHEDULER_IDENT for this CPU was incorrectly
    set to cortexa55. This can cause
    sub-optimal asm to be generated.

    gcc/ChangeLog:
            PR target/114272
            * config/aarch64/aarch64-cores.def (AARCH64_CORE):
            Change SCHEDULER_IDENT from cortexa55 to cortexa53
            for Cortex-A510.

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

* [Bug target/114272] SCHEDULER_IDENT incorrect for Cortex-A520 and Cortex-A510
  2024-03-07 16:54 [Bug target/114272] New: SCHEDULER_IDENT incorrect for Cortex-A520 and Cortex-A510 ricbal02 at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2024-04-26 17:22 ` cvs-commit at gcc dot gnu.org
@ 2024-04-26 17:25 ` ricbal02 at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: ricbal02 at gcc dot gnu.org @ 2024-04-26 17:25 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Ball <ricbal02 at gcc dot gnu.org> changed:

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

--- Comment #7 from Richard Ball <ricbal02 at gcc dot gnu.org> ---
Fixed on Trunk for both and backported Cortex-A510 fix to gcc-12 and gcc-13

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

end of thread, other threads:[~2024-04-26 17:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-07 16:54 [Bug target/114272] New: SCHEDULER_IDENT incorrect for Cortex-A520 and Cortex-A510 ricbal02 at gcc dot gnu.org
2024-03-07 16:55 ` [Bug target/114272] " ricbal02 at gcc dot gnu.org
2024-03-07 17:00 ` pinskia at gcc dot gnu.org
2024-03-07 17:02 ` ricbal02 at gcc dot gnu.org
2024-03-26 13:57 ` cvs-commit at gcc dot gnu.org
2024-03-26 13:58 ` ricbal02 at gcc dot gnu.org
2024-04-26 17:16 ` cvs-commit at gcc dot gnu.org
2024-04-26 17:22 ` cvs-commit at gcc dot gnu.org
2024-04-26 17:25 ` ricbal02 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).