-O2 vs. -O3

James Richard Tyrer <[email protected]>
Newsgroups gmane.comp.kde.cafe
Message-ID <[email protected]>
I had this odd thought last week: does -O3 optimization really 
make an executable run faster on a system with a L3 cache?

IIUC, -O3 optimization unrolls loops, but caching is based on the 
theory that the same code will be run more than once.

Has anybody ever tried this -- like with the PNG libraries for 
example??

--
JRT


Kde-cafe mailing list - [email protected]
http://ofb.biz/lists/listinfo.cgi/kde-cafe

DISCLAIMER: The views expressed on this mailinglist are the personal
opinions of the author and do not represent OfB.biz: Open for Business, KDE or the author's employer.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.