[Qemu-devel] [PATCH 5/7] tcg-i386: Implement deposit operation.

2011-01-07 Thread Richard Henderson
Special case deposits that are implementable with byte and word stores. Otherwise implement with double-word shift plus rotates. Expose tcg_reg_alloc to the backend for allocation of scratch registers. There's an edge condition that cannot actually happen at the moment due to a bug elsewhere in th

Re: [Qemu-devel] [PATCH 0/7] Define "deposit" tcg operation

2011-01-07 Thread Peter Maydell
On 7 January 2011 22:42, Richard Henderson wrote: > Emulating i386 -- particularly in 16-bit mode -- requires quite a few > bitfield insert operations, to handle byte and word stores into the > dword registers.  On several hosts, this can be done natively, without > resorting to a sequence of and

[Qemu-devel] Re: [PATCH 26/35] kvm: Eliminate KVMState arguments

2011-01-07 Thread Anthony Liguori
On 01/07/2011 03:03 AM, Jan Kiszka wrote: Am 06.01.2011 20:24, Anthony Liguori wrote: On 01/06/2011 11:56 AM, Marcelo Tosatti wrote: From: Jan Kiszka QEMU supports only one VM, so there is only one kvm_state per process, and we gain nothing passing a reference to it around. Eliminate

[Qemu-devel] Re: [PATCH 2/7] tcg-ppc: Implement deposit operation.

2011-01-07 Thread malc
On Fri, 7 Jan 2011, Richard Henderson wrote: > Signed-off-by: Richard Henderson > --- > tcg/ppc/tcg-target.c | 17 - > tcg/ppc/tcg-target.h |1 + > 2 files changed, 17 insertions(+), 1 deletions(-) > PPC bits look fine to me. [..snip..] -- mailto:av1...@comtv.ru

Re: [Qemu-devel] [PATCH 3/7] tcg-hppa: Implement deposit operation.

2011-01-07 Thread Stuart Brady
On Fri, Jan 07, 2011 at 02:42:59PM -0800, Richard Henderson wrote: > Signed-off-by: Richard Henderson > --- > tcg/hppa/tcg-target.c | 58 +++- > tcg/hppa/tcg-target.h |1 + > 2 files changed, 53 insertions(+), 6 deletions(-) > > diff --git a/tcg/

Re: [Qemu-devel] [PATCH 0/7] Define "deposit" tcg operation

2011-01-07 Thread Richard Henderson
On 01/07/2011 03:10 PM, Peter Maydell wrote: > Unless I've missed something, deposit_i32 is basically the same > as the ARM BFI instruction, so for ARM we could use deposit_i32 in > the implementation of BFI (and conversely implement deposit_i32 > using BFI when we're generating for an ARMv6T2 or b

Re: [Qemu-devel] [PATCH 3/7] tcg-hppa: Implement deposit operation.

2011-01-07 Thread Richard Henderson
On 01/07/2011 03:35 PM, Stuart Brady wrote: >> +static inline void tcg_out_depi(TCGContext *s, int ret, int arg, >^^^ >> +unsigned ofs, unsigned len) >> +{ >> +assert(ofs < 32 && len <= 32 - ofs); >>

Re: [Qemu-devel] [PATCH 1/7] tcg: Define "deposit" as an optional operation.

2011-01-07 Thread Stuart Brady
On Fri, Jan 07, 2011 at 02:42:57PM -0800, Richard Henderson wrote: > Signed-off-by: Richard Henderson > --- > tcg/README| 14 ++ > tcg/tcg-op.h | 40 > tcg/tcg-opc.h |6 ++ > tcg/tcg.c | 13 + > 4 files change

[Qemu-devel] Dynamically linked file using qemu

2011-01-07 Thread Ehsan Ul haq
Hi, How to run dynamically linked file using qemu for x86 64 bit?I have used -L option but it is not working. Thanks,

<    1   2