www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/03/21:36:52

From: myknees AT aol DOT com (Myknees)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ! Optimization in Practice
Date: 3 Apr 1998 23:46:59 GMT
Lines: 21
Message-ID: <1998040323465901.SAA15575@ladder01.news.aol.com>
NNTP-Posting-Host: ladder01.news.aol.com
References: <3524804D DOT 75E1 AT infi DOT net>
Organization: AOL http://www.aol.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <3524804D DOT 75E1 AT infi DOT net>, Joe Wright <conserv3 AT infi DOT net> writes:

>Subject:	! Optimization in Practice
>From:	Joe Wright <conserv3 AT infi DOT net>
>Date:	Fri, 03 Apr 1998 01:23:09 -0500
>
>What are the pros and cons of various optimization levels?  Until now, I
>didn't bother using the -O options at all.  Recently I have been playing
>with various sort algorithms, especially a quicksort of my own design. 
[snip]

Yes, and I've noticed a huge increase in sound quality using -O3 -ffast-math to
compile a program that plays wav files.

There is lots of information on gcc's optimization options.  There are pros and
cons for all of them.  It's also important to have all the options available
for testing and debugging.  Anyway, you can use the info viewer by typing this:
info gcc invok optim
...or just follow your nodes.  (It always nodes.)

--Ed (Myknees)

- Raw text -


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