mirror of git://gcc.gnu.org/git/gcc.git
tm.texi.in (REGNO_OK_FOR_BASE_P, [...]): Delete non-strict variant.
* doc/tm.texi.in (REGNO_OK_FOR_BASE_P, REGNO_MODE_OK_FOR_BASE_P, REGNO_MODE_OK_FOR_REG_BASE, REGNO_MODE_CODE_OK_FOR_BASE_P, REGNO_OK_FOR_INDEX_P): Delete non-strict variant. (REG_OK_STRICT): Move description. From-SVN: r166077
This commit is contained in:
parent
396acafd0d
commit
6f7b223b71
|
@ -1,3 +1,10 @@
|
||||||
|
2010-10-29 Paul Koning <ni1d@arrl.net>
|
||||||
|
|
||||||
|
* doc/tm.texi.in (REGNO_OK_FOR_BASE_P, REGNO_MODE_OK_FOR_BASE_P,
|
||||||
|
REGNO_MODE_OK_FOR_REG_BASE, REGNO_MODE_CODE_OK_FOR_BASE_P,
|
||||||
|
REGNO_OK_FOR_INDEX_P): Delete non-strict variant.
|
||||||
|
(REG_OK_STRICT): Move description.
|
||||||
|
|
||||||
2010-10-29 Paul Koning <ni1d@arrl.net>
|
2010-10-29 Paul Koning <ni1d@arrl.net>
|
||||||
|
|
||||||
* config/pdp11/pdp11.md (*and<mode>): Rename to *bic<mode>.
|
* config/pdp11/pdp11.md (*and<mode>): Rename to *bic<mode>.
|
||||||
|
|
|
@ -2486,17 +2486,6 @@ added to another register (as well as added to a displacement).
|
||||||
@defmac REGNO_OK_FOR_BASE_P (@var{num})
|
@defmac REGNO_OK_FOR_BASE_P (@var{num})
|
||||||
A C expression which is nonzero if register number @var{num} is
|
A C expression which is nonzero if register number @var{num} is
|
||||||
suitable for use as a base register in operand addresses.
|
suitable for use as a base register in operand addresses.
|
||||||
Like @code{TARGET_LEGITIMATE_ADDRESS_P}, this macro should also
|
|
||||||
define a strict and a non-strict variant. Both variants behave
|
|
||||||
the same for hard register; for pseudos, the strict variant will
|
|
||||||
pass only those that have been allocated to a valid hard registers,
|
|
||||||
while the non-strict variant will pass all pseudos.
|
|
||||||
|
|
||||||
@findex REG_OK_STRICT
|
|
||||||
Compiler source files that want to use the strict variant of this and
|
|
||||||
other macros define the macro @code{REG_OK_STRICT}. You should use an
|
|
||||||
@code{#ifdef REG_OK_STRICT} conditional to define the strict variant in
|
|
||||||
that case and the non-strict variant otherwise.
|
|
||||||
@end defmac
|
@end defmac
|
||||||
|
|
||||||
@defmac REGNO_MODE_OK_FOR_BASE_P (@var{num}, @var{mode})
|
@defmac REGNO_MODE_OK_FOR_BASE_P (@var{num}, @var{mode})
|
||||||
|
@ -2508,8 +2497,6 @@ you define this macro, the compiler will use it instead of
|
||||||
@code{REGNO_OK_FOR_BASE_P}. The mode may be @code{VOIDmode} for
|
@code{REGNO_OK_FOR_BASE_P}. The mode may be @code{VOIDmode} for
|
||||||
addresses that appear outside a @code{MEM}, i.e., as an
|
addresses that appear outside a @code{MEM}, i.e., as an
|
||||||
@code{address_operand}.
|
@code{address_operand}.
|
||||||
|
|
||||||
This macro also has strict and non-strict variants.
|
|
||||||
@end defmac
|
@end defmac
|
||||||
|
|
||||||
@defmac REGNO_MODE_OK_FOR_REG_BASE_P (@var{num}, @var{mode})
|
@defmac REGNO_MODE_OK_FOR_REG_BASE_P (@var{num}, @var{mode})
|
||||||
|
@ -2522,8 +2509,6 @@ than other base register uses.
|
||||||
|
|
||||||
Use of this macro is deprecated; please use the more general
|
Use of this macro is deprecated; please use the more general
|
||||||
@code{REGNO_MODE_CODE_OK_FOR_BASE_P}.
|
@code{REGNO_MODE_CODE_OK_FOR_BASE_P}.
|
||||||
|
|
||||||
This macro also has strict and non-strict variants.
|
|
||||||
@end defmac
|
@end defmac
|
||||||
|
|
||||||
@defmac REGNO_MODE_CODE_OK_FOR_BASE_P (@var{num}, @var{mode}, @var{outer_code}, @var{index_code})
|
@defmac REGNO_MODE_CODE_OK_FOR_BASE_P (@var{num}, @var{mode}, @var{outer_code}, @var{index_code})
|
||||||
|
@ -2536,8 +2521,6 @@ address, @code{ADDRESS} for something that occurs in an
|
||||||
corresponding index expression if @var{outer_code} is @code{PLUS};
|
corresponding index expression if @var{outer_code} is @code{PLUS};
|
||||||
@code{SCRATCH} otherwise. The mode may be @code{VOIDmode} for addresses
|
@code{SCRATCH} otherwise. The mode may be @code{VOIDmode} for addresses
|
||||||
that appear outside a @code{MEM}, i.e., as an @code{address_operand}.
|
that appear outside a @code{MEM}, i.e., as an @code{address_operand}.
|
||||||
|
|
||||||
This macro also has strict and non-strict variants.
|
|
||||||
@end defmac
|
@end defmac
|
||||||
|
|
||||||
@defmac REGNO_OK_FOR_INDEX_P (@var{num})
|
@defmac REGNO_OK_FOR_INDEX_P (@var{num})
|
||||||
|
@ -2554,8 +2537,6 @@ labeling is used must fit the machine's constraints of which registers
|
||||||
may serve in each capacity. The compiler will try both labelings,
|
may serve in each capacity. The compiler will try both labelings,
|
||||||
looking for one that is valid, and will reload one or both registers
|
looking for one that is valid, and will reload one or both registers
|
||||||
only if neither labeling works.
|
only if neither labeling works.
|
||||||
|
|
||||||
This macro also has strict and non-strict variants.
|
|
||||||
@end defmac
|
@end defmac
|
||||||
|
|
||||||
@deftypefn {Target Hook} reg_class_t TARGET_PREFERRED_RELOAD_CLASS (rtx @var{x}, reg_class_t @var{rclass})
|
@deftypefn {Target Hook} reg_class_t TARGET_PREFERRED_RELOAD_CLASS (rtx @var{x}, reg_class_t @var{rclass})
|
||||||
|
@ -5493,8 +5474,13 @@ has this syntax:
|
||||||
@noindent
|
@noindent
|
||||||
and should @code{goto @var{label}} if the address @var{x} is a valid
|
and should @code{goto @var{label}} if the address @var{x} is a valid
|
||||||
address on the target machine for a memory operand of mode @var{mode}.
|
address on the target machine for a memory operand of mode @var{mode}.
|
||||||
Whether the strict or non-strict variants are desired is defined by
|
|
||||||
the @code{REG_OK_STRICT} macro introduced earlier in this section.
|
@findex REG_OK_STRICT
|
||||||
|
Compiler source files that want to use the strict variant of this
|
||||||
|
macro define the macro @code{REG_OK_STRICT}. You should use an
|
||||||
|
@code{#ifdef REG_OK_STRICT} conditional to define the strict variant in
|
||||||
|
that case and the non-strict variant otherwise.
|
||||||
|
|
||||||
Using the hook is usually simpler because it limits the number of
|
Using the hook is usually simpler because it limits the number of
|
||||||
files that are recompiled when changes are made.
|
files that are recompiled when changes are made.
|
||||||
@end deftypefn
|
@end deftypefn
|
||||||
|
|
|
@ -2480,17 +2480,6 @@ added to another register (as well as added to a displacement).
|
||||||
@defmac REGNO_OK_FOR_BASE_P (@var{num})
|
@defmac REGNO_OK_FOR_BASE_P (@var{num})
|
||||||
A C expression which is nonzero if register number @var{num} is
|
A C expression which is nonzero if register number @var{num} is
|
||||||
suitable for use as a base register in operand addresses.
|
suitable for use as a base register in operand addresses.
|
||||||
Like @code{TARGET_LEGITIMATE_ADDRESS_P}, this macro should also
|
|
||||||
define a strict and a non-strict variant. Both variants behave
|
|
||||||
the same for hard register; for pseudos, the strict variant will
|
|
||||||
pass only those that have been allocated to a valid hard registers,
|
|
||||||
while the non-strict variant will pass all pseudos.
|
|
||||||
|
|
||||||
@findex REG_OK_STRICT
|
|
||||||
Compiler source files that want to use the strict variant of this and
|
|
||||||
other macros define the macro @code{REG_OK_STRICT}. You should use an
|
|
||||||
@code{#ifdef REG_OK_STRICT} conditional to define the strict variant in
|
|
||||||
that case and the non-strict variant otherwise.
|
|
||||||
@end defmac
|
@end defmac
|
||||||
|
|
||||||
@defmac REGNO_MODE_OK_FOR_BASE_P (@var{num}, @var{mode})
|
@defmac REGNO_MODE_OK_FOR_BASE_P (@var{num}, @var{mode})
|
||||||
|
@ -2502,8 +2491,6 @@ you define this macro, the compiler will use it instead of
|
||||||
@code{REGNO_OK_FOR_BASE_P}. The mode may be @code{VOIDmode} for
|
@code{REGNO_OK_FOR_BASE_P}. The mode may be @code{VOIDmode} for
|
||||||
addresses that appear outside a @code{MEM}, i.e., as an
|
addresses that appear outside a @code{MEM}, i.e., as an
|
||||||
@code{address_operand}.
|
@code{address_operand}.
|
||||||
|
|
||||||
This macro also has strict and non-strict variants.
|
|
||||||
@end defmac
|
@end defmac
|
||||||
|
|
||||||
@defmac REGNO_MODE_OK_FOR_REG_BASE_P (@var{num}, @var{mode})
|
@defmac REGNO_MODE_OK_FOR_REG_BASE_P (@var{num}, @var{mode})
|
||||||
|
@ -2516,8 +2503,6 @@ than other base register uses.
|
||||||
|
|
||||||
Use of this macro is deprecated; please use the more general
|
Use of this macro is deprecated; please use the more general
|
||||||
@code{REGNO_MODE_CODE_OK_FOR_BASE_P}.
|
@code{REGNO_MODE_CODE_OK_FOR_BASE_P}.
|
||||||
|
|
||||||
This macro also has strict and non-strict variants.
|
|
||||||
@end defmac
|
@end defmac
|
||||||
|
|
||||||
@defmac REGNO_MODE_CODE_OK_FOR_BASE_P (@var{num}, @var{mode}, @var{outer_code}, @var{index_code})
|
@defmac REGNO_MODE_CODE_OK_FOR_BASE_P (@var{num}, @var{mode}, @var{outer_code}, @var{index_code})
|
||||||
|
@ -2530,8 +2515,6 @@ address, @code{ADDRESS} for something that occurs in an
|
||||||
corresponding index expression if @var{outer_code} is @code{PLUS};
|
corresponding index expression if @var{outer_code} is @code{PLUS};
|
||||||
@code{SCRATCH} otherwise. The mode may be @code{VOIDmode} for addresses
|
@code{SCRATCH} otherwise. The mode may be @code{VOIDmode} for addresses
|
||||||
that appear outside a @code{MEM}, i.e., as an @code{address_operand}.
|
that appear outside a @code{MEM}, i.e., as an @code{address_operand}.
|
||||||
|
|
||||||
This macro also has strict and non-strict variants.
|
|
||||||
@end defmac
|
@end defmac
|
||||||
|
|
||||||
@defmac REGNO_OK_FOR_INDEX_P (@var{num})
|
@defmac REGNO_OK_FOR_INDEX_P (@var{num})
|
||||||
|
@ -2548,8 +2531,6 @@ labeling is used must fit the machine's constraints of which registers
|
||||||
may serve in each capacity. The compiler will try both labelings,
|
may serve in each capacity. The compiler will try both labelings,
|
||||||
looking for one that is valid, and will reload one or both registers
|
looking for one that is valid, and will reload one or both registers
|
||||||
only if neither labeling works.
|
only if neither labeling works.
|
||||||
|
|
||||||
This macro also has strict and non-strict variants.
|
|
||||||
@end defmac
|
@end defmac
|
||||||
|
|
||||||
@hook TARGET_PREFERRED_RELOAD_CLASS
|
@hook TARGET_PREFERRED_RELOAD_CLASS
|
||||||
|
@ -5481,8 +5462,13 @@ has this syntax:
|
||||||
@noindent
|
@noindent
|
||||||
and should @code{goto @var{label}} if the address @var{x} is a valid
|
and should @code{goto @var{label}} if the address @var{x} is a valid
|
||||||
address on the target machine for a memory operand of mode @var{mode}.
|
address on the target machine for a memory operand of mode @var{mode}.
|
||||||
Whether the strict or non-strict variants are desired is defined by
|
|
||||||
the @code{REG_OK_STRICT} macro introduced earlier in this section.
|
@findex REG_OK_STRICT
|
||||||
|
Compiler source files that want to use the strict variant of this
|
||||||
|
macro define the macro @code{REG_OK_STRICT}. You should use an
|
||||||
|
@code{#ifdef REG_OK_STRICT} conditional to define the strict variant in
|
||||||
|
that case and the non-strict variant otherwise.
|
||||||
|
|
||||||
Using the hook is usually simpler because it limits the number of
|
Using the hook is usually simpler because it limits the number of
|
||||||
files that are recompiled when changes are made.
|
files that are recompiled when changes are made.
|
||||||
@end deftypefn
|
@end deftypefn
|
||||||
|
|
Loading…
Reference in New Issue