From 0c56474ec65531277740452b869bd643ad6424f5 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Wed, 14 Mar 2001 22:40:22 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/md.texi | 21 ++++++++++++++++++++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d4997cb2af5..0f3b969b045 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Wed Mar 14 22:39:12 CET 2001 Jan Hubicka + Vojtech Pavlik + + * md.texi (machine constraints): Document 'Q', 'R', 'e' and 'Z' + constraints. + Wed Mar 14 22:26:10 CET 2001 Jan Hubicka * i386.c (ix86_cmodel_string, ix86_cmodel): Define. diff --git a/gcc/md.texi b/gcc/md.texi index 3a8f8e20c5e..411f67fc754 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 -- 2.30.2