Re: [Qemu-devel] [PATCH 10/12] target-arm: replace tcg_gen_rori_i32 by tcg_gen_rotri_i32

2009-10-24 Thread Juha.Riihimaki
On Oct 23, 2009, at 18:25, ext Aurelien Jarno wrote: On Wed, Oct 21, 2009 at 12:18:08PM +0200, juha.riihim...@nokia.com wrote: Use native rotation if possible instead of a simulated one. I have another patch in my local tree that handle more cases: Great, I'll drop it from my patch

[Qemu-devel] Re: [PATCH v2 3/3] char: emit the OPENED event only when a new char connection is opened

2009-10-24 Thread Jan Kiszka
Amit Shah wrote: The OPENED event gets sent also when qemu resets its state initially. The consumers of the event aren't interested in receiving this event on reset. The monitor was. Now its initial prompt on activation is broken. Does this patch fix/improve something for a different user? If

[Qemu-devel] [PATCH v2 01/10] target-arm: fix neon vshrn/vrshrn ops

2009-10-24 Thread juha . riihimaki
From: Juha Riihimäki juha.riihim...@nokia.com In the existing code shift value is clobbered during the pass loop. This patch changes the code so that it stores the intermediate result in the target neon register directly and eliminates the need to use a temporary to hold the intermediate value

[Qemu-devel] [PATCH v2 00/10] target-arm: miscellaneous fixes

2009-10-24 Thread juha . riihimaki
From: Juha Riihimäki juha.riihim...@nokia.com This is the revised set of patches for the ARM translator and it includes a number of smaller fixes and improvements. The series should be applied in sequence as the modifications are mostly related to the same file, target-arm/translate.c. The

[Qemu-devel] [PATCH v2 03/10] target-arm: allow modifying vfp fpexc en bit only

2009-10-24 Thread juha . riihimaki
From: Juha Riihimäki juha.riihim...@nokia.com All other bits except for the EN in the VFP FPEXC register are defined as subarchitecture specific and real functionality for any of the other bits has not been implemented in QEMU. However, current code allows modifying all bits in the VFP FPEXC

[Qemu-devel] [PATCH v2 02/10] target-arm: add support for neon vld1.64/vst1.64 instructions

2009-10-24 Thread juha . riihimaki
From: Juha Riihimäki juha.riihim...@nokia.com Add support for NEON vld1.64 and vst1.64 instructions. This patch is revised to follow more closely the specification and raises undefined exception if 64bit element size is used for vld2/vst2 or vld4/vst4 instructions. Signed-off-by: Juha Riihimäki

[Qemu-devel] [PATCH v2 05/10] target-arm: optimize arm load/store multiple ops

2009-10-24 Thread juha . riihimaki
From: Juha Riihimäki juha.riihim...@nokia.com RM load/store multiple instructions can be slightly optimized by loading the register offset constant into a variable outside the register loop and using the preloaded variable inside the loop instead of reloading the offset value to a temporary

[Qemu-devel] [PATCH v2 07/10] target-arm: optimize thumb2 load/store multiple ops

2009-10-24 Thread juha . riihimaki
From: Juha Riihimäki juha.riihim...@nokia.com Thumb2 load/store multiple instructions can be slightly optimized by loading the register offset constant into a variable outside the register loop and using the preloaded variable inside the loop instead of reloading the offset value to a temporary

[Qemu-devel] [PATCH v2 06/10] target-arm: fix neon vsri, vshl and vsli ops

2009-10-24 Thread juha . riihimaki
From: Juha Riihimäki juha.riihim...@nokia.com Shift by immediate value is incorrectly overwritten by a temporary variable in the processing of NEON vsri, vshl and vsli instructions. This patch has been revised to also include a fix for the special case where the code would previously try to shift

[Qemu-devel] [PATCH v2 09/10] target-arm: optimize neon vld/vst ops

2009-10-24 Thread juha . riihimaki
From: Juha Riihimäki juha.riihim...@nokia.com Reduce the amount of TCG ops generated from NEON vld/vst instructions by simplifying the code generation. Signed-off-by: Juha Riihimäki juha.riihim...@nokia.com --- target-arm/translate.c | 67 --- 1

[Qemu-devel] [PATCH v2 10/10] target-arm: fix neon shift helper functions

2009-10-24 Thread juha . riihimaki
From: Juha Riihimäki juha.riihim...@nokia.com Current code is broken at least on gcc 4.2, the result of a comparison -1 = sizeof(type) * 8 results true and causes wrong code path to be taken. The fix has been revised to use a type cast instead of abs() function and extra checks. Signed-off-by:

[Qemu-devel] [PATCH v2 04/10] target-arm: optimize vfp load/store multiple ops

2009-10-24 Thread juha . riihimaki
From: Juha Riihimäki juha.riihim...@nokia.com VFP load/store multiple instructions can be slightly optimized by loading the register offset constant into a variable outside the register loop and using the preloaded variable inside the loop instead of reloading the offset value to a temporary

[Qemu-devel] [PATCH v2 08/10] target-arm: optimize thumb push/pop ops

2009-10-24 Thread juha . riihimaki
From: Juha Riihimäki juha.riihim...@nokia.com Thumb push/pop instructions can be slightly optimized by loading the register offset constant into a variable outside the register loop and using the preloaded variable inside the loop instead of reloading the offset value to a temporary variable on

[Qemu-devel] [PATCH] target-arm: ARM7TDMI emulation

2009-10-24 Thread Filip Navara
While most of the ARMv5 instructions are backward compatible with ARMv4, there are few important differences. Most notably the stack pop and load instructions ignore the lowest bit, which is used by ARMv5 to switch to Thumb mode. A base-updated data-abort model is used on ARM7TDMI, CP15

[Qemu-devel] [PATCH] Add support for multiple simultaneously used keyboard devices.

2009-10-24 Thread Filip Navara
The support for multiple keyboard devices is essential for emulating embedded boards where multiple input devices are present (eg. keypad and rotary encoder) which are implemented using separate QEMU devices. Signed-off-by: Filip Navara filip.nav...@gmail.com --- console.h | 11 ++-

[Qemu-devel] [PATCH] Add *CFLAGS to LINK in rules.mak

2009-10-24 Thread Peter Hjalmarsson
Sometimes when linking with gcc to get a predictable result you are suggested to also apply the compiler flags to the linker command. For reference, please read: http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Link-Options.html --- rules.mak |2 +- 1 files changed, 1 insertions(+), 1

Re: [Qemu-devel] [PATCH v2 07/10] target-arm: optimize thumb2 load/store multiple ops

2009-10-24 Thread Laurent Desnogues
On Sat, Oct 24, 2009 at 2:19 PM, juha.riihim...@nokia.com wrote: From: Juha Riihimäki juha.riihim...@nokia.com Thumb2 load/store multiple instructions can be slightly optimized by loading the register offset constant into a variable outside the register loop and using the preloaded variable

Re: [Qemu-devel] [PATCH v2 08/10] target-arm: optimize thumb push/pop ops

2009-10-24 Thread Laurent Desnogues
On Sat, Oct 24, 2009 at 2:19 PM, juha.riihim...@nokia.com wrote: From: Juha Riihimäki juha.riihim...@nokia.com Thumb push/pop instructions can be slightly optimized by loading the register offset constant into a variable outside the register loop and using the preloaded variable inside the

Re: [Qemu-devel] [PATCH v2 04/10] target-arm: optimize vfp load/store multiple ops

2009-10-24 Thread Laurent Desnogues
On Sat, Oct 24, 2009 at 2:19 PM, juha.riihim...@nokia.com wrote: From: Juha Riihimäki juha.riihim...@nokia.com VFP load/store multiple instructions can be slightly optimized by loading the register offset constant into a variable outside the register loop and using the preloaded variable

Re: [Qemu-devel] [PATCH v2 06/10] target-arm: fix neon vsri, vshl and vsli ops

2009-10-24 Thread Laurent Desnogues
On Sat, Oct 24, 2009 at 2:19 PM, juha.riihim...@nokia.com wrote: From: Juha Riihimäki juha.riihim...@nokia.com Shift by immediate value is incorrectly overwritten by a temporary variable in the processing of NEON vsri, vshl and vsli instructions. This patch has been revised to also include a

[Qemu-devel] qemu: async sending in tap causes NFS not responding error

2009-10-24 Thread Scott Tsai
Dear all, I recently found that this chageset: http://git.savannah.gnu.org/cgit/qemu.git/commit/?id=e19eb22486f258a421108ac22b8380a4e2f16b97 net: make use of async packet sending API in tap client causes NFS root Linux guest setups using TAP networking to fail with error messages like: nfs:

[Qemu-devel] Re: [ANNOUNCE] Sheepdog: Distributed Storage System for KVM

2009-10-24 Thread Avi Kivity
On 10/23/2009 05:40 PM, FUJITA Tomonori wrote: On Fri, 23 Oct 2009 09:14:29 -0500 Javier Guerrajav...@guerrag.com wrote: I think that the major difference between sheepdog and cluster file systems such as Google File system, pNFS, etc is the interface between clients and a storage system.