summaryrefslogtreecommitdiff
path: root/gcc/libfuncs.h
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-06-26 21:28:30 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-06-26 21:28:30 +0000
commit047a7e404bfa33d0c438208c29d8a2a974ead4d4 (patch)
treeb243da2903826b74d9af4b244282d7635346588d /gcc/libfuncs.h
parent9ef25fc1003ee050c1bfe24af6575cb72b157ce2 (diff)
downloadgcc-047a7e404bfa33d0c438208c29d8a2a974ead4d4.tar.gz
gcc/
* libfuncs.h (LTI_synchronize): New libfunc_index. (synchronize_libfunc): Declare. * builtins.c (expand_builtin_synchronize): Consider using synchronize_libfunc before falling back on an asm blockage. * config/mips/mips.c: Include libfuncs.h (mips_init_libfuncs): Initialize synchronize_libfunc for TARGET_MIPS16. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137162 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/libfuncs.h')
-rw-r--r--gcc/libfuncs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/libfuncs.h b/gcc/libfuncs.h
index f7f6a6299c4..ef636da36bb 100644
--- a/gcc/libfuncs.h
+++ b/gcc/libfuncs.h
@@ -40,6 +40,8 @@ enum libfunc_index
LTI_profile_function_entry,
LTI_profile_function_exit,
+ LTI_synchronize,
+
LTI_gcov_flush,
LTI_MAX
@@ -69,6 +71,8 @@ extern GTY(()) rtx libfunc_table[LTI_MAX];
#define profile_function_entry_libfunc (libfunc_table[LTI_profile_function_entry])
#define profile_function_exit_libfunc (libfunc_table[LTI_profile_function_exit])
+#define synchronize_libfunc (libfunc_table[LTI_synchronize])
+
#define gcov_flush_libfunc (libfunc_table[LTI_gcov_flush])
#endif /* GCC_LIBFUNCS_H */