]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386.md (sign_extend to memory peephole2s): Use general_reg_operand instead of regist...
authorUros Bizjak <ubizjak@gmail.com>
Wed, 27 Apr 2016 23:51:30 +0000 (01:51 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 27 Apr 2016 23:51:30 +0000 (01:51 +0200)
* config/i386/i386.md (sign_extend to memory peephole2s): Use
general_reg_operand instead of register_operand predicate.

From-SVN: r235539

gcc/ChangeLog
gcc/config/i386/i386.md

index 91e4b0468aa6869f4db6943b8114af5f386a352a..5905a41571c387cbe2832a985c221e372be52b62 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 049f6255cbea1ef8cf7a753faab7e193bfb9b486..ccba91112fc26155b00e5bf08727fef2993dbced 100644 (file)
 ;; 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))]