Re: [Qemu-devel] [PATCH, MIPS64] 64-bit addressing fixes

2007-05-26 Thread Aurelien Jarno
On Mon, May 21, 2007 at 04:52:05PM +0300, Blue Swirl wrote: > I don't know MIPS, but perhaps you could try this trick used in Sparc: > static inline void gen_jmp_im(target_ulong pc) > { > #ifdef TARGET_SPARC64 >if (pc == (uint32_t)pc) { >gen_op_jmp_im(pc); >} else { >gen_op_

Re: [Qemu-devel] [PATCH, MIPS64] 64-bit addressing fixes

2007-05-21 Thread Blue Swirl
On 5/21/07, Aurelien Jarno <[EMAIL PROTECTED]> wrote: dyngen currently does not support passing 64-bit values to PARAM1 and PARAM2, they are limited to 32-bit. This patch creates a new op_set64 function to set a register with a 64-bit value, by passing high and low word in PARAM1 and PARAM2. The

[Qemu-devel] [PATCH, MIPS64] 64-bit addressing fixes

2007-05-20 Thread Aurelien Jarno
Hi, The patch below fixes 64-bit addresses when manipulating the program counter, the branch target or the branch link register. dyngen currently does not support passing 64-bit values to PARAM1 and PARAM2, they are limited to 32-bit. This patch creates a new op_set64 function to set a register w