+2016-04-28 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/i386/i386.md (sign_extend to memory peephole2s): Use
+ general_reg_operand instead of register_operand predicate.
+
2016-04-27 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
* params.def (MIN_PARTITION_SIZE): Set default value to 10000.
;; 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))])
(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))]