"吴曦" <[EMAIL PROTECTED]> writes:
> How can I dedicate a register for special purpose, that means,
> the dedicated register only appears in the inserted code of my own,
> but never allocated in the rest of code. I have read some doc(gcc int)
> about the register usage but still have no idea.
This question is not appropriate for this mailing list. It would be
appropriate for [EMAIL PROTECTED] Thanks.
One easy way to do this is to use a global register variable:
http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Global-Reg-Vars.html
Another is to use the -ffixed-REG option. See the documentation.
Ian