[ODE] SIGSEGV in dSolveLCP() at ode/src/lcp.cpp:1137

John Miles jmiles at pop.net
Fri Feb 13 10:26:10 MST 2004


Well, that's a bit of an oversimplification.  On any modern processor, a
predicted branch is almost free, and I don't think a mispredicted one costs
quite that much.

-- jm

> -----Original Message-----
> From: ode-bounces at q12.org [mailto:ode-bounces at q12.org]On Behalf Of Jon
> Watte
> Sent: Friday, February 13, 2004 10:12 AM
> To: Michael Lacher; ode at q12.org
> Subject: RE: [ODE] SIGSEGV in dSolveLCP() at ode/src/lcp.cpp:1137
>
>
>
> Branches are evil. Think of each branch as costing you 40 arithmetic ops.
>
> Cheers,
>
>



More information about the ODE mailing list