dotgnu-libjit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dotgnu-libjit] Libjit bug: reuses of variables


From: Gopal V
Subject: Re: [Dotgnu-libjit] Libjit bug: reuses of variables
Date: Wed, 7 Oct 2009 04:20:40 -0700 (PDT)

> So it's just that the jit gets confused about the first
> if() and just re-uses the temporary to do the jump, then
> does not store it.
...
> Yup. I'm looking at this problem now, but don't expect any
> miracles from me ... I'm more of a cheerleader than a programmer 
> now :)

While I was struggling to fix this particular bug, Klaus managed
to hunt it down to a premature optimization built into the 
branch instruction which overwrites the _lt operation if the
operand is temporary.

jist/jit-insn.c:3806

is where the bug is. Now if only I could figure out how to use this
new fangled git thing to actually make a commit :)

Cheers,
Gopal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]