Commit e119b68c by Michael Meissner

update doc for CONST_{,DOUBLE_}OK_FOR_LETTER_P, EXTRA_CONTSTRAINT

From-SVN: r16220
parent 42f4929d
...@@ -1978,16 +1978,19 @@ letters. ...@@ -1978,16 +1978,19 @@ letters.
@table @code @table @code
@findex CONST_OK_FOR_LETTER_P @findex CONST_OK_FOR_LETTER_P
@item CONST_OK_FOR_LETTER_P (@var{value}, @var{c}) @item CONST_OK_FOR_LETTER_P (@var{value}, @var{c})
A C expression that defines the machine-dependent operand constraint letters A C expression that defines the machine-dependent operand constraint
that specify particular ranges of integer values. If @var{c} is one letters (@samp{I}, @samp{J}, @samp{K}, @dots{} @samp{P}) that specify
of those letters, the expression should check that @var{value}, an integer, particular ranges of integer values. If @var{c} is one of those
is in the appropriate range and return 1 if so, 0 otherwise. If @var{c} is letters, the expression should check that @var{value}, an integer, is in
not one of those letters, the value should be 0 regardless of @var{value}. the appropriate range and return 1 if so, 0 otherwise. If @var{c} is
not one of those letters, the value should be 0 regardless of
@var{value}.
@findex CONST_DOUBLE_OK_FOR_LETTER_P @findex CONST_DOUBLE_OK_FOR_LETTER_P
@item CONST_DOUBLE_OK_FOR_LETTER_P (@var{value}, @var{c}) @item CONST_DOUBLE_OK_FOR_LETTER_P (@var{value}, @var{c})
A C expression that defines the machine-dependent operand constraint A C expression that defines the machine-dependent operand constraint
letters that specify particular ranges of @code{const_double} values. letters that specify particular ranges of @code{const_double} values
(@samp{G} or @samp{H}).
If @var{c} is one of those letters, the expression should check that If @var{c} is one of those letters, the expression should check that
@var{value}, an RTX of code @code{const_double}, is in the appropriate @var{value}, an RTX of code @code{const_double}, is in the appropriate
...@@ -2002,13 +2005,13 @@ between these kinds. ...@@ -2002,13 +2005,13 @@ between these kinds.
@findex EXTRA_CONSTRAINT @findex EXTRA_CONSTRAINT
@item EXTRA_CONSTRAINT (@var{value}, @var{c}) @item EXTRA_CONSTRAINT (@var{value}, @var{c})
A C expression that defines the optional machine-dependent constraint A C expression that defines the optional machine-dependent constraint
letters that can be used to segregate specific types of operands, letters (@item @samp{Q}, @samp{R}, @samp{S}, @dots{} @samp{U}) that can
usually memory references, for the target machine. Normally this macro be used to segregate specific types of operands, usually memory
will not be defined. If it is required for a particular target machine, references, for the target machine. Normally this macro will not be
it should return 1 if @var{value} corresponds to the operand type defined. If it is required for a particular target machine, it should
represented by the constraint letter @var{c}. If @var{c} is not defined return 1 if @var{value} corresponds to the operand type represented by
as an extra constraint, the value returned should be 0 regardless of the constraint letter @var{c}. If @var{c} is not defined as an extra
@var{value}. constraint, the value returned should be 0 regardless of @var{value}.
For example, on the ROMP, load instructions cannot have their output in r0 if For example, on the ROMP, load instructions cannot have their output in r0 if
the memory reference contains a symbolic address. Constraint letter the memory reference contains a symbolic address. Constraint letter
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment