From: Viper Arrakyd Newsgroups: comp.os.msdos.djgpp Subject: Pentium II optimizations Date: Thu, 21 Jan 1999 20:53:37 +0100 Organization: Club-Internet (France) Lines: 21 Message-ID: <36A785C1.24F8BFD@club-internet.fr> NNTP-Posting-Host: montlucon2-165.club-internet.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: front6.grolier.fr 916948344 26824 195.36.176.165 (21 Jan 1999 19:52:24 GMT) NNTP-Posting-Date: 21 Jan 1999 19:52:24 GMT X-Mailer: Mozilla 4.5 [fr] (Win98; I) X-Accept-Language: fr To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi everybody I would like to know what are the best compiler/switches to compile code for a pentium II ? Compiled with GCC 2.8.1 my program runs at 25 fps. With PGCC and the same switches (-mpentium -O6) it drops at 15 !!! Does GCC 2.8.1 produce more "Pentium II friendly" code ? Can Egcs help ? I hope my english isn't too difficult to understand. I use Allegro for my program. The library is compiled with the same compiler with pentium optimizations on. Can anyone help ?