This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Optimizing away "ReadFile" calls when Make calls stat()
- To: Jonathan Kamens <jik at curl dot com>
- Subject: Re: Optimizing away "ReadFile" calls when Make calls stat()
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Tue, 13 Feb 2001 14:09:48 -0500
- CC: cygwin at cygwin dot com
- References: <20010213183634.1435.qmail@lizard.curl.com>
- Reply-To: Earnie Boyd <cygwin at cygwin dot com>
Jonathan Kamens wrote:
>
> I realize that this is a bit gross. However, (a) surely it isn't much
> more gross than storing symbolic links inside files and reading files
> to determine whether they should look executable :-), and (b) it
> really does give a drastic performance improvement for the small price
> of not using symbolic links in your source or build tree.
>
> Please comment.
>
This sounds very interesting but I believe work to eliminate TWO
ReadFiles would be best; but, I don't know if this is possible. I have
found the following set of GCC flags to have great impact with the speed
with wish Cygwin flies. Set both the CFLAGS variable and the CXXFLAGS
variable before configuring Cygwin.
-O3 -s -fnative-struct -foptimize-register-move -fgnu-linker -ffast-math
-fnew-exceptions -frerun-loop-opt -frerun-cse-after-loop -fgcse
-fpeephole -fstrength-reduce -fthread-jumps -fexpensive-optimizations
-fvolatile -mpreferred-stack-boundary=8 -march=i686
Earnie.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple