This is the mail archive of the
mailing list for the GCC project.
Re: PATCH: PR target/40470: unabl e to find a register to spill in class ‘SSE_FIRST_REG’
Richard Henderson wrote:
H.J. Lu wrote:
When I add SSE_FIRST_REG/xmm0 to CLASS_LIKELY_SPILLED_P,
all testcases compile. However, xmm0 is used for FP return for
x86-64, I don't know the performance impact of this change.
xmm0 is a fixed register only for a handful SSE4 insns, which
can only be generated from intrinsics. Should we really go down
Yes, that is the correct fix. As for being a return register,
it should be no worse than for eax, which is also likely-spilled.