[Bug rtl-optimization/78355] LRA generates unaligned accesses when SLOW_UNALIGNED_ACCESS is 1

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 17 16:19:00 GMT 2016


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

--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Thu Nov 17 16:16:38 2016
New Revision: 242554

URL: https://gcc.gnu.org/viewcvs?rev=242554&root=gcc&view=rev
Log:
        PR rtl-optimization/78355
        * doc/tm.texi.in (SLOW_UNALIGNED_ACCESS): Document that the macro only
        needs to deal with unaligned accesses.
        * doc/tm.texi: Regenerate.
        * lra-constraints.c (simplify_operand_subreg): Only invoke
        SLOW_UNALIGNED_ACCESS on innermode if the MEM is not aligned enough.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/doc/tm.texi
    trunk/gcc/doc/tm.texi.in
    trunk/gcc/lra-constraints.c


More information about the Gcc-bugs mailing list