Received: from eggs.gnu.org ([2001:4830:134:3::10]:38758) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VF9Bu-0002Xl-Ob for qemu-devel@nongnu.org; Thu, 29 Aug 2013 16:51:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VF9Bq-0004AL-HR for qemu-devel@nongnu.org; Thu, 29 Aug 2013 16:51:42 -0400 Received: from hall.aurel32.net ([2001:470:1f0b:4a8::1]:40405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VF9Bq-0004A1-9a for qemu-devel@nongnu.org; Thu, 29 Aug 2013 16:51:38 -0400 From: Aurelien Jarno Date: Thu, 29 Aug 2013 22:51:22 +0200 Message-Id: <1377809485-24004-1-git-send-email-aurelien@aurel32.net> Subject: [Qemu-devel] [PATCH v3 0/3] tcg/mips: host detection List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Aurelien Jarno This patch series improve the MIPS TCG backend by detecting the available instructions at runtime, and by enabling the corresponding ops. v1 -> v2: - Detect MIPS32 detection by using MUL instead of MULT v2 -> v3 - Only try to detect for MIPS32R2 instructions if MIPS32 instructions have been detected - Inline bswap16/bswap32/ext8s/ext16s ops to avoid checking again if MIPS32R2 instructions are available. Aurelien Jarno (3): tcg/mips: detect available host instructions at runtime tcg/mips: inline bswap16/bswap32 ops tcg/mips: only enable ext8s/ext16s ops on MIPS32R2 tcg/mips/tcg-target.c | 224 ++++++++++++++++++++++++++++++++----------------- tcg/mips/tcg-target.h | 54 +++++++----- 2 files changed, 178 insertions(+), 100 deletions(-) -- 1.7.10.4