diff options
author | J"orn Rennecke <joern.rennecke@st.com> | 2005-07-07 11:48:15 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2005-07-07 12:48:15 +0100 |
commit | 8ddf681af74e5404974fb47b0b9874de49a3b07d (patch) | |
tree | e7a18c9a6876b4eaa648b82269a93800d9c41279 /gcc/target-def.h | |
parent | 6d057022743cd9dd0e46c494f0d9449cb7e5aad0 (diff) | |
download | gcc-8ddf681af74e5404974fb47b0b9874de49a3b07d.zip gcc-8ddf681af74e5404974fb47b0b9874de49a3b07d.tar.gz gcc-8ddf681af74e5404974fb47b0b9874de49a3b07d.tar.bz2 |
hooks.c (hook_bool_rtx_int_false): New function.
* hooks.c (hook_bool_rtx_int_false): New function.
* hooks.h (hook_bool_rtx_int_false): Declare.
* target-def.h (TARGET_COMMUTATIVE_P): Define.
(TARGET_INITIALIZER): Add TARGET_COMMUTATIVE_P.
* target.h (struct gcc_target): Add commutative_p member.
* targhooks.c (hook_bool_rtx_commutative_p): New function.
* targhooks.h (hook_bool_rtx_commutative_p): Declare.
* pa.c (TARGET_COMMUTATIVE_P): Redefine.
(pa_commutative_p): New function.
* jump.c (target.h): Include.
(rtx_renumbered_equal_p): Use targetm.commutative_p.
* doc/tm.texi: Document TARGET_COMMUTATIVE_P.
From-SVN: r101706
Diffstat (limited to 'gcc/target-def.h')
-rw-r--r-- | gcc/target-def.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/target-def.h b/gcc/target-def.h index 18e3040..6f8470e 100644 --- a/gcc/target-def.h +++ b/gcc/target-def.h @@ -352,6 +352,7 @@ Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #define TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED hook_bool_bool_false #define TARGET_CANNOT_FORCE_CONST_MEM hook_bool_rtx_false #define TARGET_CANNOT_COPY_INSN_P NULL +#define TARGET_COMMUTATIVE_P hook_bool_rtx_commutative_p #define TARGET_DELEGITIMIZE_ADDRESS hook_rtx_rtx_identity #define TARGET_FUNCTION_OK_FOR_SIBCALL hook_bool_tree_tree_false #define TARGET_COMP_TYPE_ATTRIBUTES hook_int_tree_tree_1 @@ -554,6 +555,7 @@ Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED, \ TARGET_CANNOT_FORCE_CONST_MEM, \ TARGET_CANNOT_COPY_INSN_P, \ + TARGET_COMMUTATIVE_P, \ TARGET_DELEGITIMIZE_ADDRESS, \ TARGET_FUNCTION_OK_FOR_SIBCALL, \ TARGET_IN_SMALL_DATA_P, \ |