Mail Archives: djgpp/1995/06/22/16:06:46
Xref: | news-dnh.mv.net comp.os.msdos.djgpp:514
|
Path: | news-dnh.mv.net!mv!news.sprintlink.net!howland.reston.ans.net!plug.news.pipex.net!pipex!edi.news.pipex.net!pipex!cegelecproj.co.uk!wraith!tom
|
From: | tom AT wraith DOT limbo DOT cegelecproj DOT co DOT uk (Tom_King)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Optimization
|
Date: | 20 Jun 1995 14:46:31 GMT
|
Organization: | Cegelec Projects Ltd
|
Lines: | 27
|
Sender: | tom AT wraith (Tom_King)
|
Nntp-Posting-Host: | wraith.limbo.cegelecproj.co.uk
|
To: | djgpp AT sun DOT soe DOT clarkson DOT edu
|
Dj-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hi all,
I have written a small (<64K) program which I want to execute as
quickly as possible.
So far, the best performance I've got in the djgpp environment is
from the following:
gcc -m486 -O2 wibble.c
i.e. compile the program "wibble.c", using 486 specific instructions,
and level 2 optimization.
I imagine that there are other optimization options to gcc that can
improve performance considerably.
Any guidelines?
Thanks in advance,
Tom King
--
***********************************************************************
* Tom King (Tom_King AT cegelecproj DOT co DOT uk) *
* ...all opinions expressed are my own and not those of my employer...*
***********************************************************************
- Raw text -