mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-06 20:20:20 +02:00
MIPS: Correct use of wrong test register
* lib/jit_mips-cpu.c: Correct typo in the jit_bmsr implementation that was using the wrong test result register.
This commit is contained in:
parent
0d9ac79a12
commit
cf2be67c5a
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2014-08-10 Paulo Andrade <pcpa@gnu.org>
|
||||
|
||||
* lib/jit_mips-cpu.c: Correct typo in the jit_bmsr
|
||||
implementation that was using the wrong test result
|
||||
register.
|
||||
|
||||
2014-07-28 Paulo Andrade <pcpa@gnu.org>
|
||||
|
||||
* lib/jit_memory.c: Do not call free on NULL pointers.
|
||||
|
|
|
@ -1659,7 +1659,7 @@ _htonr(jit_state_t *_jit, jit_int32_t r0, jit_int32_t r1)
|
|||
/* FIXME rewrite in a more sane way, but unlikely to be used
|
||||
* in near time... */
|
||||
# if __WORDSIZE == 64
|
||||
# error htonr only implemented for 32 bit
|
||||
# error htonr only implemented for 64 bit
|
||||
# endif
|
||||
rg0 = jit_get_reg(jit_class_gpr);
|
||||
rg1 = jit_get_reg(jit_class_gpr);
|
||||
|
@ -2754,7 +2754,7 @@ _bmsr(jit_state_t *_jit, jit_word_t i0, jit_int32_t r0, jit_int32_t r1)
|
|||
jit_word_t w;
|
||||
jit_int32_t t0;
|
||||
t0 = jit_get_reg(jit_class_gpr);
|
||||
AND(rn(r0), r0, r1);
|
||||
AND(rn(t0), r0, r1);
|
||||
w = _jit->pc.w;
|
||||
BNE(_ZERO_REGNO, rn(t0), ((i0 - w) >> 2) - 1);
|
||||
NOP(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue