aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2016-11-11 20:38:20 +0100
committerUros Bizjak <uros@gcc.gnu.org>2016-11-11 20:38:20 +0100
commit76ee24d0411196fc55884d34b94f671afe33c11d (patch)
treeed5cbbae8db915320f46ec5b026bac4f57df4f5b
parenta9c1825cdad013d6551e98ca3cadcf6d28a9ec48 (diff)
downloadgcc-76ee24d0411196fc55884d34b94f671afe33c11d.zip
gcc-76ee24d0411196fc55884d34b94f671afe33c11d.tar.gz
gcc-76ee24d0411196fc55884d34b94f671afe33c11d.tar.bz2
i386.md (*<shift_insn><mode>3_doubleword): Mark operand 0 as earlyclobber.
* config/i386/i386.md (*<shift_insn><mode>3_doubleword): Mark operand 0 as earlyclobber. (*ashl<mode>3_doubleword): Ditto for all operand 0 alternatives. From-SVN: r242318
-rw-r--r--gcc/ChangeLog1
-rw-r--r--gcc/config/i386/i386.md2
2 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4011512..fc568ee 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -241,6 +241,7 @@
PR target/78262
* config/i386/i386.md (*<shift_insn><mode>3_doubleword): Mark
operand 0 as earlyclobber.
+ (*ashl<mode>3_doubleword): Ditto for all operand 0 alternatives.
2016-11-09 Martin Liska <mliska@suse.cz>
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index b46d6d1..ac2650b 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -9704,7 +9704,7 @@
"ix86_expand_binary_operator (ASHIFT, <MODE>mode, operands); DONE;")
(define_insn "*ashl<mode>3_doubleword"
- [(set (match_operand:DWI 0 "register_operand" "=&r,r")
+ [(set (match_operand:DWI 0 "register_operand" "=&r,&r")
(ashift:DWI (match_operand:DWI 1 "reg_or_pm1_operand" "n,0")
(match_operand:QI 2 "nonmemory_operand" "<S>c,<S>c")))
(clobber (reg:CC FLAGS_REG))]