https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83862
--- Comment #5 from Michael Meissner <meissner at gcc dot gnu.org> --- Author: meissner Date: Thu Jan 25 17:36:47 2018 New Revision: 257060 URL: https://gcc.gnu.org/viewcvs?rev=257060&root=gcc&view=rev Log: [gcc] 2018-01-25 Michael Meissner <meiss...@linux.vnet.ibm.com> Back port from trunk 2018-01-22 Michael Meissner <meiss...@linux.vnet.ibm.com> PR target/83862 * config/rs6000/rs6000-protos.h (rs6000_split_signbit): Delete, no longer used. * config/rs6000/rs6000.c (rs6000_split_signbit): Likewise. * config/rs6000/rs6000.md (signbit<mode>2): Change code for IEEE 128-bit to produce an UNSPEC move to get the double word with the signbit and then a shift directly to do signbit. (signbit<mode>2_dm): Replace old IEEE 128-bit signbit implementation with a new version that just does either a direct move or a regular move. Move memory interface to separate insns. Move insns so they are next to the expander. (signbit<mode>2_dm_mem_be): New combiner insns to combine load with signbit move. Split big and little endian case. (signbit<mode>2_dm_mem_le): Likewise. (signbit<mode>2_dm_<su>ext): Delete, no longer used. (signbit<mode>2_dm2): Likewise. [gcc/testsuite] 2018-01-25 Michael Meissner <meiss...@linux.vnet.ibm.com> Back port from trunk 2018-01-22 Michael Meissner <meiss...@linux.vnet.ibm.com> PR target/83862 * gcc.target/powerpc/pr83862.c: New test. Added: branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/pr83862.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/config/rs6000/rs6000-protos.h branches/gcc-7-branch/gcc/config/rs6000/rs6000.c branches/gcc-7-branch/gcc/config/rs6000/rs6000.md branches/gcc-7-branch/gcc/testsuite/ChangeLog