public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/112577] New: aarch64_class_max_nregs mishandles 64-bit structure modes
@ 2023-11-16 23:03 rsandifo at gcc dot gnu.org
  2024-01-16 10:12 ` [Bug target/112577] " belagod at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2023-11-16 23:03 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 112577
           Summary: aarch64_class_max_nregs mishandles 64-bit structure
                    modes
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rsandifo at gcc dot gnu.org
  Target Milestone: ---

As noted in https://gcc.gnu.org/pipermail/gcc-patches/2023-November/636874.html
, aarch64_class_max_nregs returns the wrong value for 64-bit structure modes
like V3x1DI.  Should be simple to fix.

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

* [Bug target/112577] aarch64_class_max_nregs mishandles 64-bit structure modes
  2023-11-16 23:03 [Bug target/112577] New: aarch64_class_max_nregs mishandles 64-bit structure modes rsandifo at gcc dot gnu.org
@ 2024-01-16 10:12 ` belagod at gcc dot gnu.org
  2024-01-16 10:13 ` belagod at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: belagod at gcc dot gnu.org @ 2024-01-16 10:12 UTC (permalink / raw)
  To: gcc-bugs

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

Tejas Belagod <belagod at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
           Assignee|unassigned at gcc dot gnu.org      |belagod at gcc dot gnu.org
   Last reconfirmed|                            |2024-01-16
                 CC|                            |belagod at gcc dot gnu.org

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

* [Bug target/112577] aarch64_class_max_nregs mishandles 64-bit structure modes
  2023-11-16 23:03 [Bug target/112577] New: aarch64_class_max_nregs mishandles 64-bit structure modes rsandifo at gcc dot gnu.org
  2024-01-16 10:12 ` [Bug target/112577] " belagod at gcc dot gnu.org
@ 2024-01-16 10:13 ` belagod at gcc dot gnu.org
  2024-01-16 11:08 ` belagod at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: belagod at gcc dot gnu.org @ 2024-01-16 10:13 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Tejas Belagod <belagod at gcc dot gnu.org> ---
Confirmed. Testing a fix.

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

* [Bug target/112577] aarch64_class_max_nregs mishandles 64-bit structure modes
  2023-11-16 23:03 [Bug target/112577] New: aarch64_class_max_nregs mishandles 64-bit structure modes rsandifo at gcc dot gnu.org
  2024-01-16 10:12 ` [Bug target/112577] " belagod at gcc dot gnu.org
  2024-01-16 10:13 ` belagod at gcc dot gnu.org
@ 2024-01-16 11:08 ` belagod at gcc dot gnu.org
  2024-02-06 10:40 ` cvs-commit at gcc dot gnu.org
  2024-02-06 10:42 ` belagod at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: belagod at gcc dot gnu.org @ 2024-01-16 11:08 UTC (permalink / raw)
  To: gcc-bugs

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

Tejas Belagod <belagod at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

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

* [Bug target/112577] aarch64_class_max_nregs mishandles 64-bit structure modes
  2023-11-16 23:03 [Bug target/112577] New: aarch64_class_max_nregs mishandles 64-bit structure modes rsandifo at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2024-01-16 11:08 ` belagod at gcc dot gnu.org
@ 2024-02-06 10:40 ` cvs-commit at gcc dot gnu.org
  2024-02-06 10:42 ` belagod at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-02-06 10:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tejas Belagod <belagod@gcc.gnu.org>:

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

commit r14-8821-gca04e7a2e1b08ed02e22e2656ba6032099195856
Author: Tejas Belagod <tejas.belagod@arm.com>
Date:   Thu Jan 11 12:37:06 2024 +0530

    AArch64: aarch64_class_max_nregs mishandles 64-bit structure modes
[PR112577]

    The target hook aarch64_class_max_nregs returns the incorrect result for
64-bit
    structure modes like V31DImode or V41DFmode etc.  The calculation of the
nregs
    is based on the size of AdvSIMD vector register for 64-bit modes which
ought to
    be UNITS_PER_VREG / 2.  This patch fixes the register size.

    gcc/ChangeLog:

            PR target/112577
            * config/aarch64/aarch64.cc (aarch64_class_max_nregs): Handle
64-bit
            vector structure modes correctly.

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

* [Bug target/112577] aarch64_class_max_nregs mishandles 64-bit structure modes
  2023-11-16 23:03 [Bug target/112577] New: aarch64_class_max_nregs mishandles 64-bit structure modes rsandifo at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2024-02-06 10:40 ` cvs-commit at gcc dot gnu.org
@ 2024-02-06 10:42 ` belagod at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: belagod at gcc dot gnu.org @ 2024-02-06 10:42 UTC (permalink / raw)
  To: gcc-bugs

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

Tejas Belagod <belagod at gcc dot gnu.org> changed:

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

--- Comment #3 from Tejas Belagod <belagod at gcc dot gnu.org> ---
Fixed on trunk.

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

end of thread, other threads:[~2024-02-06 10:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-16 23:03 [Bug target/112577] New: aarch64_class_max_nregs mishandles 64-bit structure modes rsandifo at gcc dot gnu.org
2024-01-16 10:12 ` [Bug target/112577] " belagod at gcc dot gnu.org
2024-01-16 10:13 ` belagod at gcc dot gnu.org
2024-01-16 11:08 ` belagod at gcc dot gnu.org
2024-02-06 10:40 ` cvs-commit at gcc dot gnu.org
2024-02-06 10:42 ` belagod 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).