[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sbcl-devel
Subject:    Re: [Sbcl-devel] RFC: optimizing inline fixnum addition with
From:       Vitaly Mayatskikh <v.mayatskih () gmail ! com>
Date:       2010-10-14 12:45:08
Message-ID: 87iq15ymcr.wl%v.mayatskih () gmail ! com
[Download RAW message or body]

At Tue, 5 Oct 2010 10:42:41 -0400, Nathan Froyd wrote:

> 3) The JO to *ELSEWHERE* is a little bulky.  We could slim the code down to:
> 
>   ADD X, Y
>   JNO L0
>   CALL FIXUP-FIXNUM+OVERFLOW-IN-X
> L0:
> 
> but that does not help the branch predictor.

SBCL can help it manually by placing predicting hint (0x3e - branch is
taken, 0x2e - not taken).

-- 
wbr, Vitaly

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Sbcl-devel mailing list
Sbcl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic