Re: Using nonexistent registers

2011-02-28 Thread Simon Marlow
On 17/02/2011 22:24, Edward Z. Yang wrote: Thanks for the very informative sleuthing. I know what I need to do now.* :-) Cheers, Edward * Basically, the stg_gc functions assume that incoming arguments go in the virtual registers, but the code generator is noticing x86-32 doesn't have any

Re: Using nonexistent registers

2011-02-17 Thread Edward Z. Yang
Thanks for the very informative sleuthing. I know what I need to do now.* :-) Cheers, Edward * Basically, the stg_gc functions assume that incoming arguments go in the virtual registers, but the code generator is noticing x86-32 doesn't have any real floating point registers and is placing

Re: Using nonexistent registers

2011-02-17 Thread austin seipp
Blast, I always just hit 'reply' instead of 'reply to all'. For the curious, my original email to Edward describing his situation is as follows, uneditied. = Hi Edward, I did some investigation into the STG and NCG machinery to try a

Using nonexistent registers

2011-02-17 Thread Edward Z. Yang
Hello all, I have a question about registerized builds. My understanding of the registers is that, depending on what architecture is being built, we will have varying numbers of registers of different sizes. x86-32, in particular, has zero general purpose float, double or int64 registers. What I