www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/12/24/23:29:45

Date: Fri, 24 Dec 1999 19:19:32 -0400 (AST)
From: Peter Cordes <peter AT Cordes DOT Phys DOT Dal DOT Ca>
To: mike AT algoritm DOT yaroslavl DOT su
cc: pgcc AT delorie DOT com
Subject: Re: Some questions
In-Reply-To: <XFMail.19991224102741.mike@algoritm.yaroslavl.su>
Message-ID: <Pine.LNX.4.10.9912241851050.6953-100000@Cordes.Phys.Dal.Ca>
MIME-Version: 1.0
Reply-To: pgcc AT delorie DOT com
X-Mailing-List: pgcc AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Fri, 24 Dec 1999 mike AT algoritm DOT yaroslavl DOT su wrote:

> I DON'T KNOW HOW ENABLING MMX, PII, K6-2 OPTIMIZATION A-A-aA-A-A-AaAh!!
> :-) Please help me!

 Well, since you asked nicely :)

I use CFLAGS='-Wall -pipe -O6 -mpentium -march=pentium' for my P200MMX.
-funroll-loops or -funroll-all-loops (which also turns on -funroll-loops)
sometimes helps for floating-point heavy code.  Try it and see if it helps
or not.  There's also -malign-double, also for floating point.  (and only
sometimes helps.)

BTW, -mpentiumpro makes pgcc optimize for a ppro (or PII, PIII).
-march=pentiumpro makes pgcc actually use ppro-specific instructions
(AFAIK).

> Information from your site not enough to understand how make it.

 try the FAQ: http://goof.com/pcg/pgcc-faq.html#SEC04

It says what I said above, but in more detail.

 happy hacking,

#define X(x,y) x##y
DUPS Secretary ; http://is2.dal.ca/~dups/
Peter Cordes ;  e-mail: X(peter AT cordes DOT phys. , dal.ca)

"The gods confound the man who first found out how to distinguish the hours!
 Confound him, too, who in this place set up a sundial, to cut and hack
 my day so wretchedly into small pieces!" -- Plautus, 200 BCE

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019