Fix IRA issue, PR79728

2017-03-03 Thread Bernd Schmidt
This is an ICE where setup_pressure_classes fails if xmm0 is a global reg. Instead of GENERAL/FLOAT/SSE/MMX_REGS, it computes only SSE_FIRST_REG as the third register class. The problem is that the costs for moving between SSE_FIRST_REG and SSE_REGS are inflated because we think we have no avai

Fix IRA issue, PR79728

2017-03-07 Thread Uros Bizjak
Hello! > This is an ICE where setup_pressure_classes fails if xmm0 is a global reg. > Instead of > GENERAL/FLOAT/SSE/MMX_REGS, it computes only SSE_FIRST_REG as the third > register > class. The problem is that the costs for moving between SSE_FIRST_REG and > SSE_REGS are > inflated because we

Re: Fix IRA issue, PR79728

2017-03-10 Thread Bernd Schmidt
Ping (minus the require-effective-target line, as Uros pointed out). Bernd On 03/03/2017 02:51 PM, Bernd Schmidt wrote: This is an ICE where setup_pressure_classes fails if xmm0 is a global reg. Instead of GENERAL/FLOAT/SSE/MMX_REGS, it computes only SSE_FIRST_REG as the third register class.

Re: Fix IRA issue, PR79728

2017-03-14 Thread Jeff Law
On 03/03/2017 06:51 AM, Bernd Schmidt wrote: This is an ICE where setup_pressure_classes fails if xmm0 is a global reg. Instead of GENERAL/FLOAT/SSE/MMX_REGS, it computes only SSE_FIRST_REG as the third register class. The problem is that the costs for moving between SSE_FIRST_REG and SSE_REGS ar

Re: Fix IRA issue, PR79728

2017-03-14 Thread Jeff Law
On 03/03/2017 06:51 AM, Bernd Schmidt wrote: This is an ICE where setup_pressure_classes fails if xmm0 is a global reg. Instead of GENERAL/FLOAT/SSE/MMX_REGS, it computes only SSE_FIRST_REG as the third register class. The problem is that the costs for moving between SSE_FIRST_REG and SSE_REGS ar