Telling gcc to assume a register value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm building patches for a GameCube game, which sets r2 and r13 at
startup and never changes them. Is there any way to tell gcc to assume
these registers have specific values, so that it can optimize code
that references memory in the areas they point to?

-- 
Sent from my Game Boy.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux