From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQdKl-0002eH-PK for qemu-devel@nongnu.org; Fri, 22 Jul 2016 12:29:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQdKg-0001BC-JX for qemu-devel@nongnu.org; Fri, 22 Jul 2016 12:29:54 -0400 From: Michael Walle Date: Fri, 22 Jul 2016 18:29:37 +0200 Message-Id: <1469204977-23590-1-git-send-email-michael@walle.cc> Subject: [Qemu-devel] [PATCH] target-ppc: add PPC_MFTB flag to e5500 core List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf , qemu-ppc@nongnu.org, qemu-devel@nongnu.org Cc: David Gibson , Michael Walle According to the e5500 core reference manual it has support for the mftb instruction. Signed-off-by: Michael Walle --- 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 5ecafc7..f1261af 100644 --- a/target-ppc/translate_init.c +++ b/target-ppc/translate_init.c @@ -5179,7 +5179,7 @@ POWERPC_FAMILY(e5500)(ObjectClass *oc, void *data) dc->desc = "e5500 core"; pcc->init_proc = init_proc_e5500; pcc->check_pow = check_pow_none; - pcc->insns_flags = PPC_INSNS_BASE | PPC_ISEL | + pcc->insns_flags = PPC_INSNS_BASE | PPC_ISEL | PPC_MFTB | PPC_WRTEE | PPC_RFDI | PPC_RFMCI | PPC_CACHE | PPC_CACHE_LOCK | PPC_CACHE_ICBI | PPC_CACHE_DCBZ | PPC_CACHE_DCBA | -- 2.1.4