[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaJIT2 performance for number crunching
- From: Mike Pall <mikelu-1102@...>
- Date: Wed, 16 Feb 2011 16:13:47 +0100
Alex Bradbury wrote:
> My hope is this will allow
> LuaJIT to optimise away instances of bit.bor($(imm), 0) and the like,
> which occur pretty frequently. Though I haven't checked to see if it
> does this yet.
It does. It has an extensive set of constant folding rules,
reassociation rules, strength-reduction rules and algebraic
simplifications.
If you notice a missing fold rule, it's quite easy to add it to
src/lj_opt_fold.c.
--Mike
- References:
- Re: LuaJIT2 performance for number crunching, Francesco Abbate
- Re: LuaJIT2 performance for number crunching, Leo Razoumov
- Re: LuaJIT2 performance for number crunching, Francesco Abbate
- Re: LuaJIT2 performance for number crunching, Leo Razoumov
- Re: LuaJIT2 performance for number crunching, Francesco Abbate
- Re: LuaJIT2 performance for number crunching, T T
- Re: LuaJIT2 performance for number crunching, steve donovan
- Re: LuaJIT2 performance for number crunching, Alex Bradbury
- Re: LuaJIT2 performance for number crunching, steve donovan
- Re: LuaJIT2 performance for number crunching, Alex Bradbury