pushl %ebp prologue junk from PrimOps.cmm
Donald Bruce Stewart
dons at cse.unsw.edu.au
Thu Sep 2 22:26:30 EDT 2004
simonmar:
> On 02 September 2004 04:48, Donald Bruce Stewart wrote:
>
> > Hey,
> >
> > More on getting the head to build. PrimOps.cmm dies with:
> >
> > ../../ghc/compiler/ghc-inplace -H16m -O -O2 -static
> > -#include Prelude.h -#include Rts.h -#include RtsFlags.h
> > -#include RtsUtils.h -#include StgRun.h -#include
> > Schedule.h -#include Printer.h -#include Sanity.h -#include
> > Storage.h -#include SchedAPI.h -#include Timer.h
> > -#include Itimer.h -#include ProfHeap.h -#include LdvProfile.h
> > -#include Profiling.h -#include Apply.h -fvia-C -dcmm-lint -c
> > PrimOps.cmm -o PrimOps.o Prologue junk?: .globl int64ToIntegerzh_fast
> > .type int64ToIntegerzh_fast , @function int64ToIntegerzh_fast:
> > pushl %ebp
> >
> >
> > The prologue looks like:
> > .globl int64ToIntegerzh_fast
> > .type int64ToIntegerzh_fast , @function
> > int64ToIntegerzh_fast:
> > subl $28,%esp
> > pushl %ebp
> > pushl %edi
> > pushl %esi
> > pushl %ebx
> > #APP
> > --- BEGIN ---
> > #NO_APP
>
> Looks like this might be a symptom of your earlier fix that disabled the
> register variables. Does it go away if you use my patch to Stg.h?
Yep. That was it. Surprising how many testsuite tests still passed even
when I'd munged the registers ;)
-- Don
More information about the Cvs-ghc
mailing list