This is patch #2 of my series for improving the PowerPC internal memory support. It assumes patch #1 has been applied. This patch moves the rs6000_move_128bit function from rs6000.c to a new file, rs6000-output.c. The third patch will create a rs6000_move_64bit function and change both 32-bit and 64-bit movdi to call it, instead of having all of the instructions be literals. I will also likely add improvements to setting the reg_addr address masks for offsetable addresses. The fourth patch will like move movdd and movdf to call rs6000_move_64bit as well. I tested this on a little endian power8 system and there were no regressions. 2018-03-14 Michael Meissner * config.gcc (powerpc*-*-*): Add rs6000-output.o to extra_objs. * config/rs6000/t-rs6000 (rs6000-output.o): Add build rule. * config/rs6000/rs6000.c (rs6000_output_move_128bit): Move to rs6000-output.c. (rs6000_move_128bit_ok_p): Likewise. (rs6000_split_128bit_ok_p): Likewise. * config/rs6000/rs6000-output.c (rs6000_output_move_128bit): Likewise. to rs6000-output.c. (rs6000_move_128bit_ok_p): Likewise. (rs6000_split_128bit_ok_p): Likewise. -- Michael Meissner, IBM IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA email: meissner@linux.vnet.ibm.com, phone: +1 (978) 899-4797