[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Dotgnu-libjit] performance of conditionals
From: |
Paul Brannan |
Subject: |
Re: [Dotgnu-libjit] performance of conditionals |
Date: |
Mon, 10 Nov 2008 12:03:23 -0500 |
User-agent: |
Mutt/1.5.18 (2008-08-26) |
On Mon, Nov 10, 2008 at 04:56:54PM +0100, address@hidden wrote:
> > branch_if_not(cond, L1)
> > <true case>
> > branch(L2)
> > L1: <false case>
> > L2: <remainder of code>
> > ...
> > return
> >
>
> This is usually the fastest way if the code in <true case> is not too short.
How short is too short? My particular case is one or two instructions.
Paul