Re: [PATCH] Add force option to find_best_rename_reg in regrename pass

2014-12-05 Thread Eric Botcazou
2014-11-26 Thomas Preud'homme thomas.preudho...@arm.com\ * regrename.c (find_best_rename_reg): Rename to ... (find_rename_reg): This. Also add a parameter to skip tick check. * regrename.h: Likewise. * config/c6x/c6x.c (try_rename_operands): Adapt to above renaming. OK for

RE: [PATCH] Add force option to find_best_rename_reg in regrename pass

2014-12-05 Thread Thomas Preud'homme
From: Eric Botcazou [mailto:ebotca...@adacore.com] Sent: Friday, December 05, 2014 4:40 PM OK for mainline, but investigate whether you can better format the config/c6x/c6x.c line, for example: + best_reg + = find_rename_reg (this_head, super_class, unavailable, old_reg, true);

RE: [PATCH] Add force option to find_best_rename_reg in regrename pass

2014-12-04 Thread Thomas Preud'homme
Hi Eric, Sorry for the delay, for some reasons despite being a recipient the mail didn't hit my inbox but only my gcc-patches box. From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches- ow...@gcc.gnu.org] On Behalf Of Eric Botcazou 2014-11-14 Thomas Preud'homme

Re: [PATCH] Add force option to find_best_rename_reg in regrename pass

2014-11-15 Thread Eric Botcazou
It looks at register that respect the constraints of all the instructions in the set and tries to pick one in the preferred class for all the instructions involved. This is generally useful for any pass that wants to do register renaming. However it also contains some logic to only select the