From: uros Date: Wed, 27 Apr 2016 23:51:30 +0000 (+0000) Subject: * config/i386/i386.md (sign_extend to memory peephole2s): Use X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=82cbfc9354269b21468d687c2df16dc3fece9718;p=thirdparty%2Fgcc.git * config/i386/i386.md (sign_extend to memory peephole2s): Use general_reg_operand instead of register_operand predicate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235539 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 91e4b0468aa6..5905a41571c3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-04-28 Uros Bizjak + + * config/i386/i386.md (sign_extend to memory peephole2s): Use + general_reg_operand instead of register_operand predicate. + 2016-04-27 Prathamesh Kulkarni * params.def (MIN_PARTITION_SIZE): Set default value to 10000. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 049f6255cbea..ccba91112fc2 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -3992,8 +3992,8 @@ ;; being split with the above splitter. (define_peephole2 [(set (match_operand:SI 0 "memory_operand") - (match_operand:SI 1 "register_operand")) - (set (match_operand:SI 2 "register_operand") (match_dup 1)) + (match_operand:SI 1 "general_reg_operand")) + (set (match_operand:SI 2 "general_reg_operand") (match_dup 1)) (parallel [(set (match_dup 2) (ashiftrt:SI (match_dup 2) (const_int 31))) (clobber (reg:CC FLAGS_REG))]) @@ -4009,8 +4009,8 @@ (define_peephole2 [(set (match_operand:SI 0 "memory_operand") - (match_operand:SI 1 "register_operand")) - (parallel [(set (match_operand:SI 2 "register_operand") + (match_operand:SI 1 "general_reg_operand")) + (parallel [(set (match_operand:SI 2 "general_reg_operand") (ashiftrt:SI (match_dup 1) (const_int 31))) (clobber (reg:CC FLAGS_REG))]) (set (match_operand:SI 3 "memory_operand") (match_dup 2))]