From: jhierro AT cti DOT csic DOT es (Joaquin Hierro Diaz) Newsgroups: comp.os.msdos.djgpp Subject: Re: PGCC faster? Date: Thu, 22 May 1997 09:59:58 GMT Organization: CTI - CSIC Lines: 39 Message-ID: <338417d5.521443@news.csic.es> References: NNTP-Posting-Host: jhierro.cti.csic.es To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Mon, 19 May 1997 23:23:20 GMT, KaRNaGE wrote: > >i installed PGCC...and there was NO difference in the FPS in my 3d >engine...i was wondering what i'm doing wrong...gcc -v did report the >right version etc...my current batch file is: > >'g.bat': >gcc.exe -O6 -s -funroll-loops -fno-strength-reduce -fomit-frame-pointer >-ffast-math -Wall -o %1.o %1.c -lalleg >djp -s %1.exe > >i use to have '-i486 -m486' but the PGCC gave me allignment errors so i >took them out...i have a pentuim pro..and i'm using allegro...i guess it's >not that bad cuz, atleast it didn't get any slower =)... Well, time ago I compiled Povray 3.01 with gcc 2.7.2.1 and leave this exec in the HD. When I downloaded the pgcc, I edited the makefile so it has only the -O6 switch enabled, and compiled the same sources. Running the old version (-M486 -funroll-loops) with the skyvase.pov scene, it took 10 minutes 40 seconds. Running the pentium compiled version, the same scene with the same povray settings, it took 9 minutes 30 seconds, so it makes a good job. Regards ----8<--------------------------------------------------------------- cortar por la línea de puntos (no el monitor) Joaquín Hierro Díaz Area de Sistemas y Comunicaciones Centro Técnico de Informática Consejo Superior de Investigaciones Científicas c/Pinar 19 28006 MADRID Telef: (91) 564.29.63 ext 205 Fax: (91) 561.61.93