https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78101
--- Comment #3 from Michael Meissner <meissner at gcc dot gnu.org> --- Author: meissner Date: Thu Dec 1 19:26:15 2016 New Revision: 243128 URL: https://gcc.gnu.org/viewcvs?rev=243128&root=gcc&view=rev Log: [gcc] 2016-12-01 Michael Meissner <meiss...@linux.vnet.ibm.com> Back port from trunk 2016-11-17 Michael Meissner <meiss...@linux.vnet.ibm.com> PR target/78101 * config/rs6000/predicates.md (fusion_addis_mem_combo_load): Add the appropriate checks for SFmode/DFmode load/stores in GPR registers. (fusion_addis_mem_combo_store): Likewise. * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Rename fusion_fpr_* to fusion_vsx_* and add in support for ISA 3.0 scalar d-form instructions for traditional Altivec registers. (emit_fusion_p9_load): Likewise. (emit_fusion_p9_store): Likewise. * config/rs6000/rs6000.md (p9 fusion store peephole2): Remove early clobber from scratch register. Do not match if the register being stored is the scratch register. (fusion_vsx_<P:mode>_<FPR_FUSION:mode>_load): Rename fusion_fpr_* to fusion_vsx_* and add in support for ISA 3.0 scalar d-form instructions for traditional Altivec registers. (fusion_fpr_<P:mode>_<FPR_FUSION:mode>_load): Likewise. (fusion_vsx_<P:mode>_<FPR_FUSION:mode>_store): Likewise. (fusion_fpr_<P:mode>_<FPR_FUSION:mode>_store): Likewise. [gcc/testsuite] 2016-12-01 Michael Meissner <meiss...@linux.vnet.ibm.com> Back port from trunk 2016-11-17 Michael Meissner <meiss...@linux.vnet.ibm.com> PR target/78101 * gcc.target/powerpc/fusion4.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/gcc.target/powerpc/fusion4.c - copied unchanged from r242983, trunk/gcc/testsuite/gcc.target/powerpc/fusion4.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.c branches/gcc-6-branch/gcc/config/rs6000/rs6000.md branches/gcc-6-branch/gcc/testsuite/ChangeLog