Re: [RFC][AArch64] Remove CORE_REGS form reg_class

2014-05-15 Thread Richard Earnshaw
On 15/05/14 00:22, Kugan wrote: Hi All, AAarch64 back-end defines GENERAL_REGS and CORE_REGS with the same set of register. Is there any reason why we need this? target hooks like aarch64_register_move_cost doesn’t handle CORE_REGS. In addition, IRA cost calculation also has logics like make co

[RFC][AArch64] Remove CORE_REGS form reg_class

2014-05-14 Thread Kugan
Hi All, AAarch64 back-end defines GENERAL_REGS and CORE_REGS with the same set of register. Is there any reason why we need this? target hooks like aarch64_register_move_cost doesn’t handle CORE_REGS. In addition, IRA cost calculation also has logics like make common class biggest of best and alt