2020-05-20  Uroš Bizjak  <ubiz...@gmail.com>

gcc/ChangeLog:
    PR target/95238
    * config/i386/i386.md (*pushsi2_rex64):
    Use "e" constraint instead of "i".

Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}.

Uros.
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index aa4f25b7065..29c2b4795f0 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -1750,7 +1750,7 @@
 ;; For TARGET_64BIT we always round up to 8 bytes.
 (define_insn "*pushsi2_rex64"
   [(set (match_operand:SI 0 "push_operand" "=X,X")
-       (match_operand:SI 1 "nonmemory_no_elim_operand" "ri,*v"))]
+       (match_operand:SI 1 "nonmemory_no_elim_operand" "re,*v"))]
   "TARGET_64BIT"
   "@
    push{q}\t%q1

Reply via email to