https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71656
--- Comment #6 from Peter Bergner <bergner at gcc dot gnu.org> --- Author: bergner Date: Fri Jul 1 17:56:54 2016 New Revision: 237919 URL: https://gcc.gnu.org/viewcvs?rev=237919&root=gcc&view=rev Log: gcc/ Backport from trunk 2016-06-27 Peter Bergner <berg...@vnet.ibm.com> PR target/71656 * config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Add OPTION_MASK_P9_DFORM_VECTOR. * config/rs6000/rs6000.c (rs6000_option_override_internal): Do not disable -mpower9-dform-vector when using reload. (quad_address_p): Remove 'gpr_p' argument and all associated code. New 'strict' argument. Update all callers. Add strict addressing support. (rs6000_legitimate_offset_address_p): Remove call to virtual_stack_registers_memory_p. (rs6000_legitimize_reload_address): Add quad address support. (rs6000_legitimate_address_p): Move call to quad_address_p above call to virtual_stack_registers_memory_p. Adjust quad_address_p args to account for new strict usage. (rs6000_output_move_128bit): Adjust quad_address_p args to account for new strict usage. * config/rs6000/predicates.md (quad_memory_operand): Likewise. gcc/testsuite/ Backport from trunk 2016-06-27 Peter Bergner <berg...@vnet.ibm.com> PR target/71656 * gcc.target/powerpc/pr71656-1.c: New test. * gcc.target/powerpc/pr71656-2.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/gcc.target/powerpc/pr71656-1.c branches/gcc-6-branch/gcc/testsuite/gcc.target/powerpc/pr71656-2.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/config/rs6000/predicates.md branches/gcc-6-branch/gcc/config/rs6000/rs6000-cpus.def branches/gcc-6-branch/gcc/config/rs6000/rs6000.c branches/gcc-6-branch/gcc/testsuite/ChangeLog