Browse Source

fixed int to uint and uint to int conversion

cache-refactoring
Aleksey Demakov 19 years ago
parent
commit
5413a1ade9
  1. 5
      ChangeLog
  2. 4
      jit/jit-insn.c

5
ChangeLog

@ -1,3 +1,8 @@
2006-02-27 Aleksey Demakov <ademakov@gmail.com>
* jit/jit-insn.c (jit_insn_convert): fix int->uint and uint->int
conversion.
2006-02-26 Aleksey Demakov <ademakov@gmail.com>
* jit/jit-rules-x86.sel: fix JIT_OP_STORE_RELATIVE_LONG.

4
jit/jit-insn.c

@ -4481,7 +4481,7 @@ jit_value_t jit_insn_convert(jit_function_t func, jit_value_t value,
#ifndef JIT_NATIVE_INT32
{CVT(JIT_OP_TRUNC_INT, int),
#else
{CVT_NONE,
{CVT(JIT_OP_COPY_INT, int),
#endif
CVT_NONE,
CVT_NONE},
@ -4538,7 +4538,7 @@ jit_value_t jit_insn_convert(jit_function_t func, jit_value_t value,
#ifndef JIT_NATIVE_INT32
{CVT(JIT_OP_TRUNC_UINT, uint),
#else
{CVT_NONE,
{CVT(JIT_OP_COPY_INT, uint),
#endif
CVT_NONE,
CVT_NONE},

Loading…
Cancel
Save