From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ua1H2-0003UX-3z for qemu-devel@nongnu.org; Wed, 08 May 2013 06:07:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ua1Gy-0004cJ-Ut for qemu-devel@nongnu.org; Wed, 08 May 2013 06:07:00 -0400 From: Alexander Graf Date: Wed, 8 May 2013 12:06:50 +0200 Message-Id: <1368007612-1873-1-git-send-email-agraf@suse.de> Subject: [Qemu-devel] [PATCH] PPC: Fix cmp on 32bit only targets 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. Alex Alexander Graf (2): PPC: Add 32bit instruction flag PPC: Introduce 32bit only cmp ops target-ppc/cpu.h | 5 ++- target-ppc/translate.c | 48 +++++++++++++++++++---- target-ppc/translate_init.c | 88 +++++++++++++++++++++--------------------- 3 files changed, 88 insertions(+), 53 deletions(-)