[Qemu-devel] target-ppc specification question

2007-05-15 Thread Sorav Bansal
Dear qemu-devs, Two questions about what seems to be a deviation in the qemu-implementation from PowerPC specification: 1. In comparison operations (eg. PPC_OP(cmp)), why does qemu not set the SO bit (which will be the fourth bit) of T0? The spec says that the xer_so bit is copied into the fourt

Re: [Qemu-devel] [PATCH, MIPS64] dmult & dmultu emulation

2007-05-15 Thread C . W . Betts
Would this patch work with other 64-bit processors, or is it x86-64-only? I'm mainly thinking about 64-bit PowerPCs, but I don't know if PowerPCs uses the same method. PGP.sig Description: This is a digitally signed message part

Re: [Qemu-devel] [PATCH, MIPS64] dmult & dmultu emulation

2007-05-15 Thread Aurelien Jarno
On Tue, May 15, 2007 at 10:07:00PM +0100, Paul Brook wrote: > > The patch below fixes the emulation of dmult and dmultu by doing a real > > 64x64 -> 128 multiplication. > > Can we share the implementation between targets please. We already have an > implementation of mul64 in target-i386/helper.c

Re: [Qemu-devel] [PATCH, MIPS64] dmult & dmultu emulation

2007-05-15 Thread Paul Brook
> The patch below fixes the emulation of dmult and dmultu by doing a real > 64x64 -> 128 multiplication. Can we share the implementation between targets please. We already have an implementation of mul64 in target-i386/helper.c. I've no real preference which implementation we use, I just don't w

[Qemu-devel] [PATCH, MIPS64] dmult & dmultu emulation

2007-05-15 Thread Aurelien Jarno
Hi, The patch below fixes the emulation of dmult and dmultu by doing a real 64x64 -> 128 multiplication. On x86_64, it uses the mul/imul instruction, an equivalent C code (but much slower) is provided for other architectures. Cheers, Aurelien Index: target-mips/op_helper.c

Re: [Qemu-devel] vdq and qemu

2007-05-15 Thread Mattia Gentilini
[EMAIL PROTECTED] ha scritto: My question is if I can also use the wirefilter feature of vde in this context without changing vdeq? Does anybody have experience with this ? As far as I know wirefilter is to be placed into a VDE cable, i.e. in a dpipe. So, if you use something like dpipe =

[Qemu-devel] Instrumenting softmmu_header.h

2007-05-15 Thread divya arora
Hi, I want to print out all memory accesses to a log file. Fo this I instrumented the ld and st macros in softmmu_header.h which results in the error "error can't find a register in class 'GENERAL_REGS' while reloading 'asm'" I tried calling an extern function from the macro which actually fprint