This is the mail archive of the gcc@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: new register allocator and HARD_REGNO_CALL_PART_CLOBBERED


Michael Matz wrote:
> I want to ensure that I understand the problem correctly, so please
> correct me if I'm wrong.
> 
> The problem is, that some hardregs are not allowed for pseudos live
> over calls, i.e. a subset of the caller-saved-regs-problem, _but_:
>  1) this set depends on the mode of the actual pseudo, and

Yes.

>  2) this set can change for each call, i.e. depends on the actual call.

It's not really the call that might be different, but if a different pseudo
is tracked across a different call, you have to consider the mode of that
other pseudo.  This is relevant if you want to merge webs for different
pseudos.
	
-- 
--------------------------
SuperH (UK) Ltd.
2410 Aztec West / Almondsbury / BRISTOL / BS32 4QX
T:+44 1454 465658


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