Different register sets for local and global register allocation?
Jan Hoogerbrugge
hoogerbrugge@hotmail.com
Mon May 3 13:30:00 GMT 2004
Hi,
Is it possible to specify that part of the registers are available
for local register allocation only and not for global register
allocation?
I am asking this because my target architecture is only interruptible
on taken jumps and does not preserve all registers when an interrupt
occurs (to reduce save/restores in the interrupt handler). Therefore,
some registers can not be used across a jump.
I tried adding clobbers to my patterns for jump instructions but that
did not work. It resulted in aborts and endless loops.
If no hooks are available to help me, what would be the appropriate place
in the compiler to achieve what I want?
Thanks,
Jan
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
More information about the Gcc
mailing list