i386: Fix *pushsi2_rex64 constraints [PR95238]
authorUros Bizjak <ubizjak@gmail.com>
Wed, 20 May 2020 16:57:32 +0000 (18:57 +0200)
committerUros Bizjak <ubizjak@gmail.com>
Wed, 20 May 2020 16:57:32 +0000 (18:57 +0200)
2020-05-20  Uroš Bizjak  <ubizjak@gmail.com>

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

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

index 5dd558a..3348424 100644 (file)
@@ -1,3 +1,9 @@
+2020-05-20  Uroš Bizjak  <ubizjak@gmail.com>
+
+       PR target/95238
+       * config/i386/i386.md (*pushsi2_rex64):
+       Use "e" constraint instead of "i".
+
 2020-05-20  Jan Hubicka  <hubicka@ucw.cz>
 
        * lto-streamer-in.c (lto_input_scc): Add SHARED_SCC parameter.
index aa4f25b..29c2b47 100644 (file)
 ;; 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