This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: PR target/40470: unabl e to find a register to spill in class ‘SSE_FIRST_REG’


H.J. Lu wrote:
On Wed, Jun 17, 2009 at 11:18 AM, Vladimir Makarov<vmakarov@redhat.com> wrote:
I am agree with Jeff and Richard. There is one more reason to avoid using
hard registers. Usage of hard registers tends to create more spill failures
in reload.

It is not like you have a choice here. The register for those insns is fixed.
Sooner or later you have to allocate xmm0 for them.
And how is that different from any other port that has insns which require specific registers for particular insns. This is nothing new or uncommon.




I will open a bug where gcc generates inefficient code when
hard register isn't used early.
That's fine.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]