Received: from eggs.gnu.org ([208.118.235.92]:38895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKZ8D-0004tj-14 for qemu-devel@nongnu.org; Tue, 26 Mar 2013 15:02:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKZ8A-0005rp-J4 for qemu-devel@nongnu.org; Tue, 26 Mar 2013 15:02:00 -0400 Received: from hall.aurel32.net ([2001:470:1f15:c4f::1]:49209) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKZ8A-0005o0-AT for qemu-devel@nongnu.org; Tue, 26 Mar 2013 15:01:58 -0400 From: Aurelien Jarno Date: Tue, 26 Mar 2013 20:01:32 +0100 Message-Id: <1364324502-9124-1-git-send-email-aurelien@aurel32.net> Subject: [Qemu-devel] [PATCH 00/10] target-i386: fix and enable SSE4.1 and SSE4.2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Aurelien Jarno SSE4.1 and SSE4.2 instruction sets are partly broken, at least enough to render a recent glibc with ifunc enabled unusable. This patch series fixes the issues, it has been tested with the valgrind testsuite in user mode and by booting x86 and x86-64 guests with a recent glibc in system mode. Aurelien Jarno (10): target-i386: SSE4.1: fix pinsrb instruction target-i386: SSE4.2: fix pcmpgtq instruction target-i386: SSE4.2: fix pcmpXstri instructions target-i386: SSE4.2: fix pcmpXstrm instructions target-i386: SSE4.2: fix pcmpXstrX instructions in "Ranges" mode target-i386: SSE4.2: fix pcmpXstrX instructions in "Equal each" mode target-i386: SSE4.2: fix pcmpXstrX instructions in "Equal ordered" mode target-i386: SSE4.2: fix pcmpXstrX instructions with "Masked(-)" polarity target-i386: enable SSE4.1 and SSE4.2 in TCG mode target-i386: SSE4.2: use clz32/ctz32 instead of reinventing the wheel target-i386/cpu.c | 13 +++++----- target-i386/fpu_helper.c | 1 + target-i386/ops_sse.h | 64 +++++++++++++--------------------------------- target-i386/translate.c | 4 +-- 4 files changed, 28 insertions(+), 54 deletions(-) -- 1.7.10.4