This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/81550] [8 regression] gcc.target/powerpc/loop_align.c fails starting with r250482
- From: "meissner at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 29 Jan 2018 22:31:34 +0000
- Subject: [Bug target/81550] [8 regression] gcc.target/powerpc/loop_align.c fails starting with r250482
- Auto-submitted: auto-generated
- References: <bug-81550-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81550
--- Comment #11 from Michael Meissner <meissner at gcc dot gnu.org> ---
Author: meissner
Date: Mon Jan 29 22:30:34 2018
New Revision: 257166
URL: https://gcc.gnu.org/viewcvs?rev=257166&root=gcc&view=rev
Log:
2018-01-29 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/81550
* config/rs6000/rs6000.c (rs6000_setup_reg_addr_masks): If DFmode
and SFmode can go in Altivec registers (-mcpu=power7 for DFmode,
-mcpu=power8 for SFmode) don't set the PRE_INCDEC or PRE_MODIFY
flags. This restores the settings used before the 2017-07-24.
Turning off pre increment/decrement/modify allows IVOPTS to
optimize DF/SF loops where the index is an int.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/rs6000/rs6000.c