Basic 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


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

in Table To:


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 Sun Apr 11 1999