Re: trying to get a registerised alpha build

2006-03-28 Thread Duncan Coutts
On Tue, 2006-03-28 at 19:06 +0100, Duncan Coutts wrote: > register void *_procedure __asm__("$27"); > > #define JMP_(cont) \ > do { _procedure = (void *)(cont); \ > __DISCARD__(); \ > goto *_procedure;

Re: trying to get a registerised alpha build

2006-03-28 Thread Duncan Coutts
On Tue, 2006-03-28 at 19:06 +0100, Duncan Coutts wrote: > On Tue, 2006-03-28 at 14:52 +0100, Simon Marlow wrote: > > > I find the "divmoddi_internal_er" a bit suspicious. Things often go > > wrong when gcc is using its builtin functions - you might try > > -fno-builtin to gcc. > > We tried tha

Re: trying to get a registerised alpha build

2006-03-28 Thread Duncan Coutts
On Tue, 2006-03-28 at 14:52 +0100, Simon Marlow wrote: > I find the "divmoddi_internal_er" a bit suspicious. Things often go > wrong when gcc is using its builtin functions - you might try > -fno-builtin to gcc. We tried that and it made no difference. We did some more investigation and tried

Re: trying to get a registerised alpha build

2006-03-28 Thread Simon Marlow
Duncan Coutts wrote: /tmp/ghc9727.hc: In function `s1BE_ret': /tmp/ghc9727.hc:1688: error: unable to find a register to spill in class `R27_REG' /tmp/ghc9727.hc:1688: error: this is the insn: (insn 24 23 26 1 (parallel [ (set (reg/v:DI 14 $14 [ R1 ]) (div:DI (reg:DI 2

Re: Still some GHC trouble when building Haddock

2006-03-28 Thread Simon Marlow
Sven Panne wrote: Some days ago I reported a regression in GHC: http://www.haskell.org//pipermail/cvs-all/2006-March/046637.html I've fixed Happy to produce correct code, so the 2nd problem mentioned is already solved. Nevertheless, the regression remains even in yesterday's GHC built from