I am writing a code for Leon3 processors. I need to reduce the size of registers pool during compile process. In other words, I need to reserve some registers or force compiler to not use these registers. For example, assume that originally I have 8 registers. I am wondering if there is a way to reduce 8 to 4.
ps: I use Bare-C Cross-compiler system (BCC). Thanks
V.