mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-24 07:58:56 +08:00
dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
* dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter. (abs): Uppercase and paranthesize macro parameter. (MEM_DEPENDENCY): Add whitespace. From-SVN: r44709
This commit is contained in:
parent
e550374314
commit
8e0d15d405
@ -1,3 +1,9 @@
|
|||||||
|
2001-08-08 Graham Stott <grahams@redhat.com>
|
||||||
|
|
||||||
|
* dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
|
||||||
|
(abs): Uppercase and paranthesize macro parameter.
|
||||||
|
(MEM_DEPENDENCY): Add whitespace.
|
||||||
|
|
||||||
2001-08-08 Graham Stott <grahams@redhat.com>
|
2001-08-08 Graham Stott <grahams@redhat.com>
|
||||||
|
|
||||||
* config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
|
* config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
|
||||||
|
@ -474,10 +474,10 @@ find_induction_variable (init_node, cond_node, incr_node, loop_def)
|
|||||||
cond_node = TREE_VALUE (cond_node);
|
cond_node = TREE_VALUE (cond_node);
|
||||||
incr = cond_node;
|
incr = cond_node;
|
||||||
|
|
||||||
#define INDEX_LIMIT_CHECK(node) \
|
#define INDEX_LIMIT_CHECK(NODE) \
|
||||||
(TREE_CODE_CLASS (TREE_CODE (node)) == '<') \
|
(TREE_CODE_CLASS (TREE_CODE (NODE)) == '<') \
|
||||||
&& (TREE_CODE (TREE_OPERAND (node, 0)) == VAR_DECL \
|
&& (TREE_CODE (TREE_OPERAND (NODE, 0)) == VAR_DECL \
|
||||||
&& (IDENTIFIER_POINTER (DECL_NAME (TREE_OPERAND (node, 0))) \
|
&& (IDENTIFIER_POINTER (DECL_NAME (TREE_OPERAND (NODE, 0))) \
|
||||||
== IDENTIFIER_POINTER (DECL_NAME (TREE_OPERAND (incr_node, 0))))) \
|
== IDENTIFIER_POINTER (DECL_NAME (TREE_OPERAND (incr_node, 0))))) \
|
||||||
? 1 : 0
|
? 1 : 0
|
||||||
|
|
||||||
@ -1146,7 +1146,7 @@ check_subscript_induction (icoefficient, ocoefficient, loop_ptr)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define abs(n) (n < 0 ? -n : n)
|
#define abs(N) ((N) < 0 ? -(N) : (N))
|
||||||
|
|
||||||
/* Determine the DIRECTION and DISTANCE dependency for subscript SUB of
|
/* Determine the DIRECTION and DISTANCE dependency for subscript SUB of
|
||||||
inputs ICOEFFICIENTS and outputs OCOEFFICIENTS of loop LOOP_PTR using
|
inputs ICOEFFICIENTS and outputs OCOEFFICIENTS of loop LOOP_PTR using
|
||||||
@ -1418,7 +1418,7 @@ remember_dest_for_dependence (node)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifndef MEM_DEPENDENCY
|
#ifndef MEM_DEPENDENCY
|
||||||
#define MEM_DEPENDENCY(RTX) XCWINT(RTX, 2, MEM)
|
#define MEM_DEPENDENCY(RTX) XCWINT (RTX, 2, MEM)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Return 1 along with the dependence DIRECTION and DISTANCE if there is a
|
/* Return 1 along with the dependence DIRECTION and DISTANCE if there is a
|
||||||
|
Loading…
Reference in New Issue
Block a user