This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: PR target/40470: unable to find a registe r to spill in class ‘SSE_FIRST_REG’
On Wed, Jun 17, 2009 at 8:26 AM, H.J. Lu<hjl.tools@gmail.com> wrote:
> On Wed, Jun 17, 2009 at 8:17 AM, Steven Bosscher<stevenb.gcc@gmail.com> wrote:
>
>>
>> Why? Most optimizazions that can be done for this insn can only be
>> done on GIMPLE, right? ?And the insn must have that specific register.
>> So unless I am missing something, I don't see why this patch would do
>> any harm.
>>
>> I'm guessing HJ looked at performance, anyway...?
>>
>
> We have no performance to speak of at the moment since
> gcc 4.4 can't compile the code at all. You can try 2 testcases
> in my patch to see it for yourselves. Gcc 4.4 failed and
> I think the bug may be latent on trunk.
>
Gcc 4.5 can compile pr40470-2.c, but fails pr40470-1.c. The
assembly output of pr40470-2.c is the same without and with
my fix.
--
H.J.