Re: [mpir-devel] Re: TCC compiler on Windows

2009-11-29 Thread Bill Hart
Sorry that's a 1.9GHz mobile K8 with Windows 32 bits. So the comparison is even better. Bill. 2009/11/30 Bill Hart : > I can't time anything in the FFT region until I fix the FFT. But here > is a single point of reference for timing. > > Computing the factorial of 10 is approximately 3 times

Re: [mpir-devel] Re: TCC compiler on Windows

2009-11-29 Thread Bill Hart
I can't time anything in the FFT region until I fix the FFT. But here is a single point of reference for timing. Computing the factorial of 10 is approximately 3 times slower on my 32 bit 2.4GHz K8 Windows machine than on my 64 bit 2.4GHz Opteron Linux server. That seems like fairly good perf

Re: [mpir-devel] Re: TCC compiler on Windows

2009-11-29 Thread Bill Hart
I now have TCC producing an mpir.dll and associated definition file. The only problems I had in the end was that it gave warnings about all the duplicate loop labels in the assembly files and it didn't like the assembly code for add_ss and sub_ddmmss in longlong.h (which I just commented out s

Re: [mpir-devel] Re: TCC compiler on Windows

2009-11-29 Thread Bill Hart
That's amazing. All the files necessary to build the MPIR library now build. It takes 23s in total on a single core! Bill. 2009/11/29 Bill Hart : > I've got a very basic configure and makefile working for MPIR using > tcc on 32 bit Windows which assembles all the k8 assembly files and > all the g

Re: [mpir-devel] Re: TCC compiler on Windows

2009-11-29 Thread Bill Hart
I've got a very basic configure and makefile working for MPIR using tcc on 32 bit Windows which assembles all the k8 assembly files and all the generic C mpn files. If you want to clone the project: git clone http://selmer.warwick.ac.uk/MPIR-tcc.git MPIR-tcc Instructions on how to build the proj

[mpir-devel] Re: Change to the Windows Build

2009-11-29 Thread Cactus
On Nov 29, 3:02 pm, Jeff Gilchrist wrote: > On Sun, Nov 29, 2009 at 8:24 AM, Jeff Gilchrist > > wrote: > > If I choose Build Solution again, those 7 projects build properly and > > everything compiles.  Are those being compiled before the test-lib.lib > > file is created perhaps? > > As long as

Re: [mpir-devel] Change to the Windows Build

2009-11-29 Thread Jeff Gilchrist
On Sun, Nov 29, 2009 at 8:24 AM, Jeff Gilchrist wrote: > If I choose Build Solution again, those 7 projects build properly and > everything compiles.  Are those being compiled before the test-lib.lib > file is created perhaps? As long as I build the add-test-lib project first manually and then B

Re: [mpir-devel] Re: TCC compiler on Windows

2009-11-29 Thread Bill Hart
2009/11/29 Cactus : > > > On Nov 29, 2:49 am, Bill Hart wrote: >> I've just been looking at the TCC compiler. >> >> http://bellard.org/tcc/ >> >> Advantages: >> = >> >> - Cross platform - works on Windows and Linux >> - Almost C99 compliant >> - Supports GNU inline asm >> - Compiles GNU .a

Re: [mpir-devel] Change to the Windows Build

2009-11-29 Thread Jeff Gilchrist
On Sat, Nov 28, 2009 at 4:21 PM, Cactus wrote: > I have tested this faairly extensively and I believe it is all OK but > it is a big configuration change so I would be grateful if anyone who > is able to build MPIR and the MPIR tests on a Windows system could > check out and test the revised Windo

Re: [mpir-devel] Change to the Windows Build

2009-11-29 Thread Jeff Gilchrist
On Sat, Nov 28, 2009 at 4:21 PM, Cactus wrote: > I have tested this faairly extensively and I believe it is all OK but > it is a big configuration change so I would be grateful if anyone who > is able to build MPIR and the MPIR tests on a Windows system could > check out and test the revised Wind

[mpir-devel] Re: TCC compiler on Windows

2009-11-29 Thread Cactus
On Nov 29, 2:49 am, Bill Hart wrote: > I've just been looking at the TCC compiler. > > http://bellard.org/tcc/ > > Advantages: > = > > - Cross platform - works on Windows and Linux > - Almost C99 compliant > - Supports GNU inline asm > - Compiles GNU .asm files > - Compiles and links unb