diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2004-08-29 22:10:44 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@gcc.gnu.org> | 2004-08-29 22:10:44 +0000 |
commit | 15dce8121ca2dd2fab01f249c714ea3726cecc41 (patch) | |
tree | a4ec15aceec0b091ed501e69eca717c1e7b43626 /gcc/doc/tm.texi | |
parent | 6903ecd4918625b0d1117747d1500079f4fb9a12 (diff) | |
download | gcc-15dce8121ca2dd2fab01f249c714ea3726cecc41.zip gcc-15dce8121ca2dd2fab01f249c714ea3726cecc41.tar.gz gcc-15dce8121ca2dd2fab01f249c714ea3726cecc41.tar.bz2 |
flow.c (REVERSE_CONDEXEC_PREDICATES_P): Use the whole comparison, not just the codes, call reversed_comparison_code ().
* flow.c (REVERSE_CONDEXEC_PREDICATES_P): Use the whole comparison, not
just the codes, call reversed_comparison_code ().
(ior_reg_cond): Update arguments to REVERSE_CONDEXEC_PREDICATES_P.
(not_reg_cond): Use reversed_comparison_code.
(and_reg_cond): Likewise.
* ifcvt.c (cond_exec_process_if_block): Likewise.
* doc/tm.texi (REVERSE_CONDEXEC_PREDICATES_P): Update documentation.
From-SVN: r86737
Diffstat (limited to 'gcc/doc/tm.texi')
-rw-r--r-- | gcc/doc/tm.texi | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index b15cb53..2a87398 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -5240,16 +5240,17 @@ like: @end smallexample @end defmac -@defmac REVERSE_CONDEXEC_PREDICATES_P (@var{code1}, @var{code2}) +@defmac REVERSE_CONDEXEC_PREDICATES_P (@var{op1}, @var{op2}) A C expression that returns true if the conditional execution predicate -@var{code1} is the inverse of @var{code2} and vice versa. Define this to -return 0 if the target has conditional execution predicates that cannot be -reversed safely. If no expansion is specified, this macro is defined as -follows: +@var{op1}, a comparison operation, is the inverse of @var{op2} and vice +versa. Define this to return 0 if the target has conditional execution +predicates that cannot be reversed safely. There is no need to validate +that the arguments of op1 and op2 are the same, this is done separately. +If no expansion is specified, this macro is defined as follows: @smallexample #define REVERSE_CONDEXEC_PREDICATES_P (x, y) \ - ((x) == reverse_condition (y)) + (GET_CODE ((x)) == reversed_comparison_code ((y), NULL)) @end smallexample @end defmac |