Received: from [140.186.70.92] (port=43547 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6oWS-0004Rz-CY for qemu-devel@nongnu.org; Mon, 04 Apr 2011 14:29:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6oWR-0004zh-1w for qemu-devel@nongnu.org; Mon, 04 Apr 2011 14:29:08 -0400 Received: from hall.aurel32.net ([88.191.126.93]:41087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6oWQ-0004zX-SW for qemu-devel@nongnu.org; Mon, 04 Apr 2011 14:29:07 -0400 Date: Mon, 4 Apr 2011 20:29:04 +0200 From: Aurelien Jarno Message-ID: <20110404182904.GG28617@hall.aurel32.net> References: <1301913995-2506-1-git-send-email-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1301913995-2506-1-git-send-email-peter.maydell@linaro.org> Sender: Aurelien Jarno Subject: [Qemu-devel] Re: [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: Peter Maydell Cc: Blue Swirl , qemu-devel@nongnu.org On Mon, Apr 04, 2011 at 11:46:31AM +0100, Peter Maydell wrote: > 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(-) > Thanks, all applied. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net