]> git.ipfire.org Git - thirdparty/gcc.git/commit
rs6000.md (bswapdi2): Force address into register if not in indexed or indirect form.
authorAaron Sawdey <acsawdey@linux.ibm.com>
Tue, 30 Oct 2018 17:05:37 +0000 (17:05 +0000)
committerAaron Sawdey <acsawdey@gcc.gnu.org>
Tue, 30 Oct 2018 17:05:37 +0000 (12:05 -0500)
commit320314dba395437c41c2b4e65acb62dbb816d8f9
tree4d8697b8f8621d5b4369b3888c5e4501d5408fe8
parentd2bfc447e80b028f860149439e48544d967af685
rs6000.md (bswapdi2): Force address into register if not in indexed or indirect form.

2018-10-30  Aaron Sawdey  <acsawdey@linux.ibm.com>

* config/rs6000/rs6000.md (bswapdi2): Force address into register
if not in indexed or indirect form.
(bswapdi2_load): Change predicate to indexed_or_indirect_operand.
(bswapdi2_store): Ditto.
* config/rs6000/rs6000.c (rs6000_force_indexed_or_indirect_mem): New
helper function.
* config/rs6000/rs6000-protos.h (rs6000_force_indexed_or_indirect_mem):
Prototype for helper function.

From-SVN: r265632
gcc/ChangeLog
gcc/config/rs6000/rs6000-protos.h
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.md