Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/gcc/config/arm Fix a misoptimization....



details:   https://anonhg.NetBSD.org/src/rev/dbb3a2d491a5
branches:  trunk
changeset: 789008:dbb3a2d491a5
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Aug 03 21:56:09 2013 +0000

description:
Fix a misoptimization.  See
http://mail-index.netbsd.org/port-arm/2013/03/04/msg001782.html

diffstat:

 external/gpl3/gcc/dist/gcc/config/arm/arm.md |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r fe95f081cddf -r dbb3a2d491a5 external/gpl3/gcc/dist/gcc/config/arm/arm.md
--- a/external/gpl3/gcc/dist/gcc/config/arm/arm.md      Sat Aug 03 21:35:59 2013 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/arm/arm.md      Sat Aug 03 21:56:09 2013 +0000
@@ -3189,7 +3189,7 @@
 )
 
 (define_insn "arm_ashldi3_1bit"
-  [(set (match_operand:DI            0 "s_register_operand" "=&r,r")
+  [(set (match_operand:DI            0 "s_register_operand" "=r,&r")
         (ashift:DI (match_operand:DI 1 "s_register_operand" "0,r")
                    (const_int 1)))
    (clobber (reg:CC CC_REGNUM))]
@@ -3248,7 +3248,7 @@
 )
 
 (define_insn "arm_ashrdi3_1bit"
-  [(set (match_operand:DI              0 "s_register_operand" "=&r,r")
+  [(set (match_operand:DI              0 "s_register_operand" "=r,&r")
         (ashiftrt:DI (match_operand:DI 1 "s_register_operand" "0,r")
                      (const_int 1)))
    (clobber (reg:CC CC_REGNUM))]
@@ -3304,7 +3304,7 @@
 )
 
 (define_insn "arm_lshrdi3_1bit"
-  [(set (match_operand:DI              0 "s_register_operand" "=&r,r")
+  [(set (match_operand:DI              0 "s_register_operand" "=r,&r")
         (lshiftrt:DI (match_operand:DI 1 "s_register_operand" "0,r")
                      (const_int 1)))
    (clobber (reg:CC CC_REGNUM))]



Home | Main Index | Thread Index | Old Index