Re: calculation of pi

2012-11-06 Thread Mischa Baars
On 11/05/2012 12:26 PM, David Brown wrote: On 05/11/2012 11:33, Mischa Baars wrote: On 11/05/2012 05:55 AM, Ian Lance Taylor wrote: On Sun, Nov 4, 2012 at 1:34 AM, Mischa Baars wrote: On 11/04/2012 02:45 AM, Ian Lance Taylor wrote: There is no "original." The 32-bit and 64-bit ABIs are diff

Re: calculation of pi

2012-11-05 Thread Jonathan Wakely
I think this thread belongs on the gcc-help list, not here.

Re: calculation of pi

2012-11-05 Thread David Brown
On 05/11/2012 11:33, Mischa Baars wrote: On 11/05/2012 05:55 AM, Ian Lance Taylor wrote: On Sun, Nov 4, 2012 at 1:34 AM, Mischa Baars wrote: On 11/04/2012 02:45 AM, Ian Lance Taylor wrote: There is no "original." The 32-bit and 64-bit ABIs are different. The 64-bit ABI has always passed argu

Re: calculation of pi

2012-11-05 Thread Mischa Baars
On 11/05/2012 05:55 AM, Ian Lance Taylor wrote: On Sun, Nov 4, 2012 at 1:34 AM, Mischa Baars wrote: On 11/04/2012 02:45 AM, Ian Lance Taylor wrote: There is no "original." The 32-bit and 64-bit ABIs are different. The 64-bit ABI has always passed arguments in registers. There is no option to

Re: calculation of pi

2012-11-04 Thread Ian Lance Taylor
On Sun, Nov 4, 2012 at 1:34 AM, Mischa Baars wrote: > On 11/04/2012 02:45 AM, Ian Lance Taylor wrote: >> >> There is no "original." The 32-bit and 64-bit ABIs are different. >> The 64-bit ABI has always passed arguments in registers. There is no >> option to force the 64-bit compiler to pass arg

Re: calculation of pi

2012-11-04 Thread David Brown
On 04/11/12 10:34, Mischa Baars wrote: On 11/04/2012 02:45 AM, Ian Lance Taylor wrote: On Sat, Nov 3, 2012 at 12:55 AM, Mischa Baars wrote: On 11/02/2012 07:11 PM, Ian Lance Taylor wrote: On Fri, Nov 2, 2012 at 8:13 AM, Mischa Baars wrote: I have been writing this piece of example code, but

Re: calculation of pi

2012-11-04 Thread Mischa Baars
On 11/04/2012 02:45 AM, Ian Lance Taylor wrote: On Sat, Nov 3, 2012 at 12:55 AM, Mischa Baars wrote: On 11/02/2012 07:11 PM, Ian Lance Taylor wrote: On Fri, Nov 2, 2012 at 8:13 AM, Mischa Baars wrote: I have been writing this piece of example code, but it seems that someone has been modifyin

Re: calculation of pi

2012-11-03 Thread Ian Lance Taylor
On Sat, Nov 3, 2012 at 12:55 AM, Mischa Baars wrote: > On 11/02/2012 07:11 PM, Ian Lance Taylor wrote: >> >> On Fri, Nov 2, 2012 at 8:13 AM, Mischa Baars >> wrote: >>> >>> I have been writing this piece of example code, but it seems that someone >>> has been modifying the compiler in the meantime

Re: calculation of pi

2012-11-03 Thread Mischa Baars
On 11/03/2012 12:41 PM, Tim Prince wrote: On 11/3/2012 3:32 AM, Mischa Baars wrote: /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory which also prevents me from compiling the compiler under Fedora 17. This means that I am both not able to compile progra

Re: calculation of pi

2012-11-03 Thread Tim Prince
On 11/3/2012 3:32 AM, Mischa Baars wrote: /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory which also prevents me from compiling the compiler under Fedora 17. This means that I am both not able to compile programs in 32-bit mode and help you with the co

Re: calculation of pi

2012-11-03 Thread Mischa Baars
On 11/02/2012 07:11 PM, Ian Lance Taylor wrote: On Fri, Nov 2, 2012 at 8:13 AM, Mischa Baars wrote: I have been writing this piece of example code, but it seems that someone has been modifying the compiler in the meantime such that arguments are now passed in xmm registers instead of over the s

Re: calculation of pi

2012-11-03 Thread Mischa Baars
On 11/02/2012 07:11 PM, Ian Lance Taylor wrote: On Fri, Nov 2, 2012 at 8:13 AM, Mischa Baars wrote: I have been writing this piece of example code, but it seems that someone has been modifying the compiler in the meantime such that arguments are now passed in xmm registers instead of over the s

Re: calculation of pi

2012-11-02 Thread Ian Lance Taylor
On Fri, Nov 2, 2012 at 8:13 AM, Mischa Baars wrote: > > I have been writing this piece of example code, but it seems that someone > has been modifying the compiler in the meantime such that arguments are now > passed in xmm registers instead of over the stack. Also the npx top of stack > pointer i