re PR rtl-optimization/78355 (LRA generates unaligned accesses when SLOW_UNALIGNED_AC...
authorPip Cet <pipcet@gmail.com>
Thu, 17 Nov 2016 16:16:38 +0000 (16:16 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 17 Nov 2016 16:16:38 +0000 (16:16 +0000)
commit86a21121ace5a75de9d57b4b9bd691388e0367bc
tree8a67841dfc46ed98537f8cc1ed7522c6ee4a7d5d
parentcc4aa6592b3822043ab5d6b1fad958b9bc21acbd
re PR rtl-optimization/78355 (LRA generates unaligned accesses when SLOW_UNALIGNED_ACCESS is 1)

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.

Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>
From-SVN: r242554
gcc/ChangeLog
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/lra-constraints.c