From patchwork Mon Apr 1 15:06:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aurelien Jarno X-Patchwork-Id: 232768 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 5C1072C011D for ; Tue, 2 Apr 2013 02:50:43 +1100 (EST) Received: from localhost ([::1]:36848 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMh0L-0007A5-LY for incoming@patchwork.ozlabs.org; Mon, 01 Apr 2013 11:50:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMh07-00079z-HG for qemu-devel@nongnu.org; Mon, 01 Apr 2013 11:50:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UMh06-0007Gk-8P for qemu-devel@nongnu.org; Mon, 01 Apr 2013 11:50:27 -0400 Received: from hall.aurel32.net ([2001:470:1f15:c4f::1]:52694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMgbm-0008Lz-0a for qemu-devel@nongnu.org; Mon, 01 Apr 2013 11:25:18 -0400 Received: from [2001:470:d4ed:0:ea11:32ff:fea1:831a] (helo=ohm.aurel32.net) by hall.aurel32.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UMgJZ-0006Sr-7E; Mon, 01 Apr 2013 17:06:29 +0200 Received: from aurel32 by ohm.aurel32.net with local (Exim 4.80) (envelope-from ) id 1UMgJY-0005zf-1o; Mon, 01 Apr 2013 17:06:28 +0200 From: Aurelien Jarno To: qemu-devel@nongnu.org Date: Mon, 1 Apr 2013 17:06:23 +0200 Message-Id: <1364828783-23001-1-git-send-email-aurelien@aurel32.net> X-Mailer: git-send-email 1.7.10.4 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:470:1f15:c4f::1 Cc: Alexander Graf , Aurelien Jarno Subject: [Qemu-devel] [PATCH] target-ppc: Enable ISEL on POWER7 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org ISEL is a Power ISA 2.06 instruction and thus is available on POWER7. Given this is trapped and emulated by the Linux kernel, I guess it went unnoticed. Cc: Alexander Graf Signed-off-by: Aurelien Jarno --- target-ppc/translate_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index 781170f..aea7d27 100644 --- a/target-ppc/translate_init.c +++ b/target-ppc/translate_init.c @@ -7004,7 +7004,7 @@ POWERPC_FAMILY(POWER7)(ObjectClass *oc, void *data) dc->desc = "POWER7"; pcc->init_proc = init_proc_POWER7; pcc->check_pow = check_pow_nocheck; - pcc->insns_flags = PPC_INSNS_BASE | PPC_STRING | PPC_MFTB | + pcc->insns_flags = PPC_INSNS_BASE | PPC_ISEL | PPC_STRING | PPC_MFTB | PPC_FLOAT | PPC_FLOAT_FSEL | PPC_FLOAT_FRES | PPC_FLOAT_FSQRT | PPC_FLOAT_FRSQRTE | PPC_FLOAT_STFIWX |