From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=43533 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6hJ4-0005Qb-5Y for qemu-devel@nongnu.org; Mon, 04 Apr 2011 06:46:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6hJ0-00008E-Sa for qemu-devel@nongnu.org; Mon, 04 Apr 2011 06:46:47 -0400 Received: from mnementh.archaic.org.uk ([81.2.115.146]:56698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6hJ0-0008Vq-Ku for qemu-devel@nongnu.org; Mon, 04 Apr 2011 06:46:46 -0400 From: Peter Maydell Date: Mon, 4 Apr 2011 11:46:31 +0100 Message-Id: <1301913995-2506-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 0/4] target-arm: Make Neon helpers use correct FP status List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Blue Swirl , Aurelien Jarno This is a patchset which takes the approach discussed in the comments on my earlier patch to fix this bug. We compile *_helper.c with HELPER_CFLAGS, so targets don't need to put all their helper routines in op_helper.c. (This only changes behaviour for target-arm because that's the only target that has files matching that pattern.) Patches two and three are large but fairly mechanical changes to remove explicit CPUState* arguments in favour of just using global 'env' in the two files which can now access it. Finally, patch 4 is a two-liner to use the Neon FP status word... Peter Maydell (4): Makefile.target: Allow target helpers to be in any *_helper.c file target-arm: Use global env in neon_helper.c helpers target-arm: Use global env in iwmmxt_helper.c helpers target-arm: Make Neon helper routines use correct FP status Makefile.target | 2 +- target-arm/helpers.h | 256 ++++++++++++++++++++++---------------------- target-arm/iwmmxt_helper.c | 80 ++++++-------- target-arm/neon_helper.c | 147 ++++++++++++------------- target-arm/translate.c | 248 ++++++++++++++++++++----------------------- 5 files changed, 349 insertions(+), 384 deletions(-)