From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45387) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ua2Dh-0006Sh-9A for qemu-devel@nongnu.org; Wed, 08 May 2013 07:07:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ua2Dg-000875-1v for qemu-devel@nongnu.org; Wed, 08 May 2013 07:07:37 -0400 From: Alexander Graf Date: Wed, 8 May 2013 13:07:30 +0200 Message-Id: <1368011252-15928-1-git-send-email-agraf@suse.de> Subject: [Qemu-devel] [PATCH 0/2] PPC: Fix cmp on 32bit only targets v2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-ppc@nongnu.org Cc: Richard Henderson , qemu-devel@nongnu.org, Torbjorn Granlund When running 32bit cmp instructions on a TARGET_PPC without 64bit support, we generate incorrect comparisons. This patch set fixes this issue. v1 -> v2: - treat L bit as reserved on 32bit targets Alex Alexander Graf (2): PPC: Add 32bit instruction flag PPC: Introduce 32bit only cmp ops target-ppc/cpu.h | 5 ++- target-ppc/translate.c | 20 ++++++---- target-ppc/translate_init.c | 88 +++++++++++++++++++++--------------------- 3 files changed, 60 insertions(+), 53 deletions(-)