For compiling experts

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

For compiling experts

Postby Tony Thomas » 13 Feb 2007, 10:32

Now is competing in CCT, and as one of its testers one of my suggestions was to get it compiled by one of the compiling experts. Talking about JA, BH, and DC of course. Now is written in pascal, any of you think that you can get a decent speed up for it if Marc Lefler send you the source code?

Thanks in advance

Tony
Tony Thomas
 
Posts: 232
Joined: 14 May 2006, 19:13
Location: Atlanta, Ga

Re: For compiling experts

Postby Bryan Hofmann » 15 Feb 2007, 02:06

Tony Thomas wrote:Now is competing in CCT, and as one of its testers one of my suggestions was to get it compiled by one of the compiling experts. Talking about JA, BH, and DC of course. Now is written in pascal, any of you think that you can get a decent speed up for it if Marc Lefler send you the source code?

Thanks in advance

Tony


I don't even have a pascal compiler and for the most part I really don't think I could add any speed up.

Bryan
Bryan Hofmann
 
Posts: 98
Joined: 02 Oct 2004, 20:26
Location: USA

Re: For compiling experts

Postby Tony Thomas » 15 Feb 2007, 04:53

Thanks for the Reply Bryan...
What more can I say?
Tony Thomas
 
Posts: 232
Joined: 14 May 2006, 19:13
Location: Atlanta, Ga

Re: For compiling experts

Postby mjlef » 16 Feb 2007, 14:49

That was great fo you to ask Tony! Thanks!

Maybe I should break down and buy Delphi. I am so cheap!
mjlef
 
Posts: 64
Joined: 29 Mar 2006, 22:04

Re: For compiling experts

Postby Jim Ablett » 16 Feb 2007, 18:01

Hello Mark,

I don't know what Pascal compiler you use, but 'GPC - Gnu Pascal compiler' supports all command-line options that GCC knows.

You could try these for a possible speed up >

O3 -march="CPUTYPE" -fomit-frame-pointer -fexpensive-optimizations -ffast-math -finline-function -funroll-loops


And possibly for the fastest exes compile also with PGO switch
-fprofile-generate

Run some testsuites with the exe, then recompile instead with
-fprofile-use


Jim.
___________________________
http://jimablett.net63.net/
Jim Ablett
 
Posts: 721
Joined: 27 Sep 2004, 10:39
Location: Essex, England

Re: For compiling experts

Postby Tony Thomas » 18 Feb 2007, 04:33

mjlef wrote:That was great fo you to ask Tony! Thanks!

Maybe I should break down and buy Delphi. I am so cheap!


Haha, being cheap is good when you are in a business that doesnt help you make any money. :mrgreen:
What more can I say?
Tony Thomas
 
Posts: 232
Joined: 14 May 2006, 19:13
Location: Atlanta, Ga

Re: For compiling experts

Postby Steve Maughan » 18 Feb 2007, 21:12

mjlef wrote:Maybe I should break down and buy Delphi. I am so cheap!


Mark,

I thought I'd mentioned this before but the only version of Delphi you need is the free version!! Go to:

http://www.turboexplorer.com

and download Turbo Delphi. There is no advantage in buying the Professional version for the purpose that you require. The free version has all of the optimization enabled.

Best regards,

Steve
Steve Maughan
 
Posts: 48
Joined: 06 Oct 2004, 17:40
Location: Florida USA


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 6 guests

cron