This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch for md.texi: Fix i386 constraints



Looking at i386.h I added some missing constraints.  Honza, is the
description correct now (especially the "A")?

Can I commit this to the mainline?

Andreas

2001-04-22  Andreas Jaeger  <aj@suse.de>

	* md.texi (Machine Constraints): Document additional i386
	constraints and fix description of "A".

Index: md.texi
===================================================================
RCS file: /cvs/gcc/egcs/gcc/md.texi,v
retrieving revision 1.59
diff -u -r1.59 md.texi
--- md.texi	2001/03/28 11:03:55	1.59
+++ md.texi	2001/04/22 10:56:05
@@ -1539,7 +1539,7 @@
 @table @code
 @item q
 @samp{a}, @code{b}, @code{c}, or @code{d} register for the i386.
-For x86-64 it is equivalent to @samp{r} class. (for 8bit instrucitons that
+For x86-64 it is equivalent to @samp{r} class. (for 8bit instructions that
 do not use upper halves)
 
 @item Q
@@ -1552,8 +1552,11 @@
 instruction)
 
 @item A
-@samp{a}, or @code{d} register (for 64-bit ints)
 
+@samp{a} and @samp{d} register used together to store 64-bit ints.  The
+@samp{a} register will store the most significand 32-bits, the @samp{d}
+register the least significand 32-bits.
+
 @item f
 Floating point register
 
@@ -1581,6 +1584,15 @@
 @item S
 @samp{si} register
 
+@item x
+SSE register (holding a float)
+
+@item y
+MMX register
+
+@item Y
+SSE2 register (holding a double)
+
 @item I
 Constant in range 0 to 31 (for 32 bit shifts)
 
@@ -1609,6 +1621,9 @@
 
 @item G
 Standard 80387 floating point constant
+
+@item H
+Standard SSE constant
 @end table
 
 @item Intel 960---@file{i960.h}

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]