HELP! * GREY=local LOCAL HTML version of Foils prepared Jan 12 1997

Foil 6 Register and Stack Allocation

From Optimizing Java Java for CSE Meeting -- Dec 16 1996. by Zoran Budimlic * See also color IMAGE

Java doesn't have registers
local variables are not the same:
  • first 4 (R0-R3) have shorter manipulating instructions
  • first 64 can fit into the register set on UltraJavaTM
operand stack should be used to shorten the bytecode sequence
  • solved in code generation for p-code



Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Wed Feb 19 1997