From 3d2795a030d9d0e31fc0834448cf0aad7c8c3536 Mon Sep 17 00:00:00 2001
From: Uros Bizjak <ubizjak@gmail.com>
Date: Wed, 27 Apr 2016 19:45:32 +0200
Subject: [PATCH] i386.md (lea arith with mem operand + setcc peephole2): Set
 operator mode.

	* config/i386/i386.md
	(lea arith with mem operand + setcc peephole2): Set operator mode.

From-SVN: r235519
---
 gcc/ChangeLog           | 5 +++++
 gcc/config/i386/i386.md | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 71c7d1f78b84..68164c0542c4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2016-04-27  Uros Bizjak  <ubizjak@gmail.com>
+
+	* config/i386/i386.md
+	(lea arith with mem operand + setcc peephole2): Set operator mode.
+
 2016-04-27  H.J. Lu  <hongjiu.lu@intel.com>
 
 	PR target/70155
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 30764c9da79e..049f6255cbea 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -18023,8 +18023,8 @@
   [(set (match_operand:SWI 0 "register_operand")
 	(match_operand:SWI 1 "memory_operand"))
    (set (match_operand:SWI 3 "register_operand")
-	(plus (match_dup 0)
-	      (match_operand:SWI 2 "<nonmemory_operand>")))
+	(plus:SWI (match_dup 0)
+		  (match_operand:SWI 2 "<nonmemory_operand>")))
    (set (match_dup 1) (match_dup 3))
    (set (reg FLAGS_REG) (compare (match_dup 3) (const_int 0)))]
   "(TARGET_READ_MODIFY_WRITE || optimize_insn_for_size_p ())
-- 
GitLab