aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2001-03-14 22:40:22 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2001-03-14 21:40:22 +0000
commit0c56474ec65531277740452b869bd643ad6424f5 (patch)
treee9e33f050f594437c73907c1b8e598dd90367bfe /gcc
parent6189a572989970b67d3dcf83a36ad1c5350d7746 (diff)
downloadgcc-0c56474ec65531277740452b869bd643ad6424f5.zip
gcc-0c56474ec65531277740452b869bd643ad6424f5.tar.gz
gcc-0c56474ec65531277740452b869bd643ad6424f5.tar.bz2
md.texi (machine constraints): Document 'Q', 'R', 'e' and 'Z' constraints.
* md.texi (machine constraints): Document 'Q', 'R', 'e' and 'Z' constraints. From-SVN: r40475
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/md.texi21
2 files changed, 26 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d4997cb..0f3b969 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+Wed Mar 14 22:39:12 CET 2001 Jan Hubicka <jh@suse.cz>
+ Vojtech Pavlik
+
+ * md.texi (machine constraints): Document 'Q', 'R', 'e' and 'Z'
+ constraints.
+
Wed Mar 14 22:26:10 CET 2001 Jan Hubicka <jh@suse.cz>
* i386.c (ix86_cmodel_string, ix86_cmodel): Define.
diff --git a/gcc/md.texi b/gcc/md.texi
index 3a8f8e2..411f67f 100644
--- a/gcc/md.texi
+++ b/gcc/md.texi
@@ -1538,7 +1538,18 @@ System V Release 4 small data area reference
@item Intel 386---@file{i386.h}
@table @code
@item q
-@samp{a}, @code{b}, @code{c}, or @code{d} register
+@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
+do not use upper halves)
+
+@item Q
+@samp{a}, @code{b}, @code{c}, or @code{d} register. (for 8bit instructions,
+that do use upper halves)
+
+@item R
+Legacy register --- equivalent to @code{r} class in i386 mode.
+(for non-8bit registers used together with 8bit upper halves in a single
+instruction)
@item A
@samp{a}, or @code{d} register (for 64-bit ints)
@@ -1588,6 +1599,14 @@ Constant in range 0 to 63 (for 64 bit shifts)
@item N
Constant in range 0 to 255 (for @code{out} instruction)
+@item Z
+Constant in range 0 to 0xffffffff or symbolic reference known to fit specified range.
+(for using immediates in zero extending 32bit to 64bit x86-64 instructions)
+
+@item e
+Constant in range -2147483648 to 2147483647 or symbolic reference known to fit specified range.
+(for using immediates in 64bit x86-64 instructions)
+
@item G
Standard 80387 floating point constant
@end table