On Tue, Dec 4, 2012 at 7:43 PM, Richard Henderson <r...@twiddle.net> wrote: > On 2012-12-04 13:00, Blue Swirl wrote: >>> > + if (rs5_0 == 0) >>> > + return; >> The check should be moved to translation time so that the call to this >> helper is not generated at all. > > No, we'd do that only if this value were an immediate. > Branch over helper is not an optimization for an edge case runtime value.
Right, for some reason I thought rs was a register number, sorry. > > > r~