This is the mail archive of the 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]

Re: speedup TER (28071 again)

Andrew MacLeod wrote:

2006-08-24 Andrew MacLeod <>

* tree-outof-ssa.c (struct value_expr_d): Remove.
(struct temp_expr_table_d): Change value_expr_p's to bitmap. Delete
(new_temp_expr_table, free_temp_expr_table): Update.
(new_value_expr, free_value_expr, find_value_in_list, add_value_to_list,
add_info_to_list, remove_value_from_list): Delete.
(add_value_to_version_list): New. Set bit in version list, allocating a bitmap if need be.
(add_value_to_partition_list): New. Set bit in the partition list, allocating a bitmap if need be.
(remove_value_from_partition_list): New. Remove a bit from the
partition list, free the bitmap if it is empty.
(add_dependence, check_replaceable, finish_expr, mark_replaceable,
kill_expr, find_replaceable_in_bb, find_replaceable_exprs): Use bitmap routines and new functions.

These do seem like big patches for Stage 3, and I would have to spend a lot of time to review them carefully -- so I'm not going to do so. However, I would encourage others to comment. If there's consensus that everyone's comfortable with the patches, the performance improvements are certainly very impressive.

Mark Mitchell
(650) 331-3385 x713

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