aboutsummaryrefslogtreecommitdiff
path: root/gcc/target.h
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-03-03 23:55:52 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-03-03 23:55:52 +0000
commit67dfe1108e268fa9db986f628ee7b42b4901b8b6 (patch)
tree8bbdd20f2db68edcbad7b5407da0d4c5ce549749 /gcc/target.h
parentdd0a905f24c159bc583a40aadedaf40a01c747bd (diff)
downloadgcc-67dfe1108e268fa9db986f628ee7b42b4901b8b6.zip
gcc-67dfe1108e268fa9db986f628ee7b42b4901b8b6.tar.gz
gcc-67dfe1108e268fa9db986f628ee7b42b4901b8b6.tar.bz2
hooks.c (hook_tree_tree_identity): New.
* hooks.c (hook_tree_tree_identity): New. * hooks.h: Add a prototype for hook_tree_tree_identity. * stmt.c (expand_asm_operands): Use targetm.md_asm_clobbers instead of MD_ASM_CLOBBERS. * system.h (MD_ASM_CLOBBERS): Poison. * target-def.h (TARGET_MD_ASM_CLOBBERS): New. (TARGET_INITIALIZER): Add TARGET_MD_ASM_CLOBBERS. * target.h (gcc_target): Add md_asm_clobbers. * config/i386/i386.c (TARGET_MD_ASM_CLOBBERS): New. (ix86_md_asm_clobbers): New. * config/i386/i386.h (MD_ASM_CLOBBERS): Remove. * doc/tm.texi (MD_ASM_CLOBBERS): Change to TARGET_MD_ASM_CLOBBERS. From-SVN: r78868
Diffstat (limited to 'gcc/target.h')
-rw-r--r--gcc/target.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/target.h b/gcc/target.h
index 7366215..2387e4d 100644
--- a/gcc/target.h
+++ b/gcc/target.h
@@ -425,6 +425,10 @@ struct gcc_target
of the current frame into the built-in setjmp buffer. */
rtx (* builtin_setjmp_frame_value) (void);
+ /* This target hook should add STRING_CST trees for any hard regs
+ the port wishes to automatically clobber for all asms. */
+ tree (* md_asm_clobbers) (tree);
+
/* Leave the boolean fields at the end. */
/* True if arbitrary sections are supported. */