delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/01/28/23:05:55

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <003601bf6a0e$ced7d180$22003cd4@theunknown>
From: "s.rekow" <s DOT rekow AT sh-home DOT de>
To: <cygwin AT sourceware DOT cygnus DOT com>,
"Tammie Philpott" <tammie DOT n DOT philpott AT lmco DOT com>
References: <3890D966 DOT 1112CCE6 AT lmco DOT com> <20000127231002 DOT A8258 AT cygnus DOT com>
Subject: Re: Query: Optimization
Date: Sat, 29 Jan 2000 05:10:25 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211

> >I've read over the documentation for Cygwin B20.1 and have not found
> >anything talking about if gcc can be optimized for the Pentium
> >compiler.  I see many things talking about API's and how you can port
> >Unix tools over to NT, but nothing about optimization.  Could someone
> >please tell me if you can optimize for 386/Pentium/etc. PC hardware?
>
> I think you'll probably need to check out the gcc documentation for
> specific compiler questions.  The Cygwin B20.1 documentation gives
> you general information on the cygwin environnment.
>
> Check out http://gcc.gnu.org/ for documentation.

http://www.xraylith.wisc.edu/~khan/software/gnu-win32/
http://gcc.gnu.org/onlinedocs/gcc_2.html#SEC17

"-mcpu=cpu type
Assume the defaults for the machine type cpu type when scheduling
instructions. The choices for cpu type are: `i386'  `i486'  `i586'  `i686'
`pentium'  `pentiumpro'  `k6'
While picking a specific cpu type will schedule things appropriately for
that particular chip, the compiler will not generate any code that does not
run on the i386 without the `-march=cpu type' option being used. `i586' is
equivalent to `pentium' and `i686' is equivalent to `pentiumpro'. `k6' is
the AMD chip as opposed to the Intel ones.
-march=cpu type
Generate instructions for the machine type cpu type. The choices for cpu
type are the same as for `-mcpu'. Moreover, specifying `-march=cpu type'
implies `-mcpu=cpu type'. "


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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