diff mbox

[x32] PATCH: Add comments to *movsi_internal

Message ID 20110709204814.GA10459@lucon.org
State New
Headers show

Commit Message

H.J. Lu July 9, 2011, 8:48 p.m. UTC
Hi,

I checked in this patch to add comments to *movsi_internal.

H.J.
---
commit 3c92ec7ad8591d3b2e3c3bc3c6b25e2bf38335cf
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat Jul 9 08:03:46 2011 -0700

    Add comments to *movsi_internal.
diff mbox

Patch

diff --git a/gcc/ChangeLog.x32 b/gcc/ChangeLog.x32
index fdff5af..57ecbe4 100644
--- a/gcc/ChangeLog.x32
+++ b/gcc/ChangeLog.x32
@@ -1,5 +1,9 @@ 
 2011-07-09  H.J. Lu  <hongjiu.lu@intel.com>
 
+	* config/i386/i386.md (*movsi_internal): Add comments.
+
+2011-07-09  H.J. Lu  <hongjiu.lu@intel.com>
+
 	* config/i386/i386.c (ix86_simplify_base_disp): Renamed to ...
 	(ix86_simplify_base_index_disp): This.  Handle index.
 	(ix86_simplify_base_disp): Updated.
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 4230c8f..f00c73b 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -2197,9 +2197,11 @@ 
   [(const_int 0)]
   "ix86_split_long_move (operands); DONE;")
 
+;; Use "Ys" constraint to disallow store with X32 PIC operand as
+;; immediate.
 (define_insn "*movsi_internal"
   [(set (match_operand:SI 0 "nonimmediate_operand"
-			"=r,m ,*y,*y,?rm,?*y,*x,*x,?r ,m ,?*Yi,*x")
+			"=r,m  ,*y,*y,?rm,?*y,*x,*x,?r ,m ,?*Yi,*x")
 	(match_operand:SI 1 "general_operand"
 			"g ,rYs,C ,*y,*y ,rm ,C ,*x,*Yi,*x,r   ,m "))]
   "!(MEM_P (operands[0]) && MEM_P (operands[1]))"