Received: from eggs.gnu.org ([2001:4830:134:3::10]:42860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vui3E-0001BG-2l for qemu-devel@nongnu.org; Sun, 22 Dec 2013 07:22:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vui33-0005ga-EO for qemu-devel@nongnu.org; Sun, 22 Dec 2013 07:22:32 -0500 Received: from hall.aurel32.net ([2001:bc8:30d7:101::1]:50551) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vui33-0005fZ-7z for qemu-devel@nongnu.org; Sun, 22 Dec 2013 07:22:21 -0500 From: Aurelien Jarno Date: Sun, 22 Dec 2013 12:50:30 +0100 Message-Id: <1387713039-9584-1-git-send-email-aurelien@aurel32.net> Subject: [Qemu-devel] [PATCH v2 0/9] target-sh4: optimizations and cleanups List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Aurelien Jarno This patchset improves the SH4 emulation by using the lately added TCG instructions, namely add2, sub2 and movcond. For that the T, Q and M bits are split out from the SR register. The last three patches are doing cleanup in the code. Changes v1 -> v2: - rebased - added last patch Aurelien Jarno (9): target-sh4: use bit number for SR constants target-sh4: Split out T from SR target-sh4: optimize addc using add2 target-sh4: optimize subc using sub2 target-sh4: optimize negc using add2 and sub2 target-sh4: split out Q and M from of SR and optimize div1 target-sh4: factorize fmov implementation target-sh4: remove dead code target-sh4: simplify tas instruction target-sh4/cpu.c | 3 +- target-sh4/cpu.h | 51 +++++--- target-sh4/gdbstub.c | 8 +- target-sh4/helper.c | 29 ++--- target-sh4/helper.h | 1 - target-sh4/op_helper.c | 148 +---------------------- target-sh4/translate.c | 313 ++++++++++++++++++++++++------------------------ 7 files changed, 221 insertions(+), 332 deletions(-) -- 1.7.10.4