patch applied (ghc): SPARC NCG: HpLim is now always stored on
the stack, not in a register
Simon Marlow
marlowsd at gmail.com
Wed Apr 1 04:19:20 EDT 2009
Ben Lippmeier wrote:
> Mon Mar 30 22:19:00 PDT 2009 Ben.Lippmeier at anu.edu.au
> * SPARC NCG: HpLim is now always stored on the stack, not in a register
> This fixes the out of memory errors we were getting on sparc
> after the following patch:
>
> Fri Mar 13 03:45:16 PDT 2009 Simon Marlow <marlowsd at gmail.com>
> * Instead of a separate context-switch flag, set HpLim to zero
> Ignore-this: 6c5bbe1ce2c5ef551efe98f288483b0
> This reduces the latency between a context-switch being triggered and
> the thread returning to the scheduler, which in turn should reduce the
> cost of the GC barrier when there are many cores.
>
> M ./compiler/nativeGen/SPARC/Regs.hs -3 +4
> M ./includes/MachRegs.h -1 +5
Sorry about that - I hadn't noticed that the sparc NCG had these
hard-coded. Would it be possible to do it like the other backends where
all the information is taken from MachRegs.h?
Cheers,
Simon
More information about the Cvs-ghc
mailing list