Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 2002 19:57:46 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Bruce Evans <bde@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/sys/boot/i386/boot2 Makefile
Message-ID:  <XFMail.20020514195746.jhb@FreeBSD.org>
In-Reply-To: <200205121545.g4CFjTT12885@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 12-May-2002 Bruce Evans wrote:
> bde         2002/05/12 08:45:28 PDT
> 
>   Modified files:
>     sys/boot/i386/boot2  Makefile 
>   Log:
>   Saved 176 bytes by compiling with -fno-guess-branch-probability.  The
>   default of -fguess-branch-probablility causes time optimizations (?)
>   like rewriting `if (foo) x++;' as
>   `if (!foo) goto forth; back: ; ...; forth: x++; goto back;".  This is
>   pessimizes space especially well on i386's because one short branch
>   gets converted to 2 long ones.

Ah.  Nice find.  Thanks.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020514195746.jhb>