From: Michael Walle <michael@walle.cc>
To: Alexander Graf <agraf@suse.de>,
qemu-ppc@nongnu.org, qemu-devel@nongnu.org
Cc: David Gibson <david@gibson.dropbear.id.au>,
Michael Walle <michael@walle.cc>
Subject: [Qemu-devel] [PATCH] target-ppc: add PPC_MFTB flag to e5500 core
Date: Fri, 22 Jul 2016 18:29:37 +0200 [thread overview]
Message-ID: <1469204977-23590-1-git-send-email-michael@walle.cc> (raw)
According to the e5500 core reference manual it has support for the mftb
instruction.
Signed-off-by: Michael Walle <michael@walle.cc>
---
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
next reply other threads:[~2016-07-22 16:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-22 16:29 Michael Walle [this message]
2016-07-22 16:36 ` [Qemu-devel] [PATCH] target-ppc: add PPC_MFTB flag to e5500 core Alexander Graf
2016-07-22 16:53 ` [Qemu-devel] [PATCH v2] target-ppc: add PPC_MFTB flag to e500mc and e5500 Michael Walle
2016-07-25 1:19 ` David Gibson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1469204977-23590-1-git-send-email-michael@walle.cc \
--to=michael@walle.cc \
--cc=agraf@suse.de \
--cc=david@gibson.dropbear.id.au \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).