https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66814
--- Comment #5 from uros at gcc dot gnu.org --- Author: uros Date: Fri Jul 17 16:27:58 2015 New Revision: 225940 URL: https://gcc.gnu.org/viewcvs?rev=225940&root=gcc&view=rev Log: Backport from mainline: 2015-07-10 Uros Bizjak <ubiz...@gmail.com> * config/i386/sse.md (movdi_to_sse): Use gen_lowpart and gen_higpart instead of gen_rtx_SUBREG. * config/i386/i386.md (floatdi<X87MODEF:mode>2_i387_with_xmm splitter): Ditto. (read-modify peephole2): Use gen_lowpart instead of gen_rtx_SUBREG for operand 5. Backport from mainline: 2015-07-08 Uros Bizjak <ubiz...@gmail.com> PR target/66814 * config/i386/predicates.md (nonimmediate_gr_operand): New predicate. * config/i386/i386.md (not peephole2): Use nonimmediate_gr_operand. (varous peephole2s): Use {GENERAL,SSE,MMX}_REGNO_P instead of {GENERAL,SSE,MMX}_REG_P where appropriate. testsuite/ChangeLog: Backport from mainline: 2015-07-09 Uros Bizjak <ubiz...@gmail.com> PR target/66814 * gcc.target/i386/pr66814.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr66814.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/config/i386/i386.md branches/gcc-5-branch/gcc/config/i386/predicates.md branches/gcc-5-branch/gcc/config/i386/sse.md branches/gcc-5-branch/gcc/testsuite/ChangeLog