From: Uros Bizjak Date: Wed, 27 Apr 2016 23:51:30 +0000 (+0200) Subject: i386.md (sign_extend to memory peephole2s): Use general_reg_operand instead of regist... X-Git-Tag: basepoints/gcc-8~7363 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c68439b9e418ec8bc13d4f544ce7a07b75181846;p=thirdparty%2Fgcc.git i386.md (sign_extend to memory peephole2s): Use general_reg_operand instead of register_operand predicate. * config/i386/i386.md (sign_extend to memory peephole2s): Use general_reg_operand instead of register_operand predicate. From-SVN: r235539 --- 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))]