This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r181945 - in /branches/cilkplus/gcc: ChangeLog....


Author: hjl
Date: Fri Dec  2 19:58:57 2011
New Revision: 181945

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181945
Log:
Add ZCA support

2011-10-18  Balaji V. Iyer  <balaji.v.iyer@intel.com>

	* builtins.def: Removed duplicate disable_instrumentation call.
	* cilk-spawn.c (cg_hacks): Set the "is_cilk_helper_function" flag.
	* cilk.c: Added new vector called zca_stack.
	(cilk_init_builtins): Removed underscores from zca functions.
	(create_metadata_label): New function.
	(get_zca_entry_count): Likewise.
	(get_zca_string_table_size): Likewise.
	(get_zca_exprs_table_size): Likewise.
	(output_zca_table): Likewise.
	(output_string_table): Likewise.
	(output_expr_table): Likewise.
	(cilk_output_metadata): Likewise.
	(expand_builtin_cilk_metadata): Likewise.
	(cilk_annotated_function_p): Likewise.
	(cilk_remove_annotated_function): Likewise.
	* cilk.h (ZCA_MAJOR_VER_NUMBER): New define.
	(ZCA_MINOR_VER_NUMBER): Likewise.
	(struct zca_data_t): Added new data structure.
	(expand_builtin_cilk_metadata): New function declaration.
	(cilk_output_metadata): Likewise.
	(cilk_remove_annotated_functions): Likewise.
	(cilk_annotated_function_p): Likewise.
	* dwarf2out.c (loc_descriptor): Made this function universal, that is,
	non-static.
	* dwarf2out.h: Added a prototype for loc_descriptor().
	* final.c (final): Added a call to cilk_remove_annotated_functions().
	* function.h (struct function): Added is_cilk_helper_function variable.
	* sched-rgn.c (schedule_insns): Added a check to see if we are inside
	cilk_helper.
	* toplev.c (compile_file): Added a call to cilk_output_metadata().

2011-10-17  Balaji V. Iyer  <balaji.v.iyer@intel.com>

	* builtin.c (expand_builtin): Added case statements for ZCA
	annotation functions support.
	* cilk.c (get_zca_exprs_table_size): New function for ZCA support.
	(output_zca_table): Likewise.
	(output_string_table): Likewise.
	(output_expr_table): Likewise.
	(cilk_output_metadata): Likewise.
	* cilk.h: Added function declarations for the newly added function in
	cilk.c.  Also added zca_data structure and zca_data stack.
	* toplev.c (compile_file): Added a call to cilk_output_metadata.

Modified:
    branches/cilkplus/gcc/ChangeLog.cilk
    branches/cilkplus/gcc/builtins.c
    branches/cilkplus/gcc/builtins.def
    branches/cilkplus/gcc/cilk-spawn.c
    branches/cilkplus/gcc/cilk.c
    branches/cilkplus/gcc/cilk.h
    branches/cilkplus/gcc/dwarf2out.c
    branches/cilkplus/gcc/dwarf2out.h
    branches/cilkplus/gcc/final.c
    branches/cilkplus/gcc/function.h
    branches/cilkplus/gcc/sched-rgn.c
    branches/cilkplus/gcc/toplev.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]