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 <bela...@gcc.gnu.org>:

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

commit r14-8821-gca04e7a2e1b08ed02e22e2656ba6032099195856
Author: Tejas Belagod <tejas.bela...@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.
  • [Bug target/112577] aarch64_cla... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to