[Haskell-cafe] ANNOUNCE: Sun Microsystems and Haskell.org joint project on OpenSPARC

Richard A. O'Keefe ok at cs.otago.ac.nz
Thu Jul 24 23:47:25 EDT 2008


On 25 Jul 2008, at 10:55 am, Duncan Coutts wrote:
> The problem of course is recursion and deeply nested call stacks which
> don't make good use of register windows because they keep having to
> interrupt to spill them to the save area.

A fair bit of thought was put into SPARC V9 to making saving and  
restoring
register windows a lot cheaper than it used to be.  (And the Sun C  
compiler
learned how to do TRO.)

It's nice to have 3 windows:
  <C world>        startup
  <Haskell world>  normal Haskell code
  <millicode>      special support code
so that normal code doesn't have to leave registers spare for millicode
routines.




More information about the Haskell-Cafe mailing list