projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62d897c
)
target-ppc: add wait instruction
author
Nikunj A Dadhania
<nikunj@linux.vnet.ibm.com>
Thu, 9 Feb 2017 10:34:03 +0000
(16:04 +0530)
committer
David Gibson
<david@gibson.dropbear.id.au>
Wed, 22 Feb 2017 00:28:28 +0000
(11:28 +1100)
Use the available wait instruction implementation.
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/translate.c
patch
|
blob
|
history
diff --git
a/target/ppc/translate.c
b/target/ppc/translate.c
index b1a6aee6fc684c51f40332c5c1ad4f2a445d7373..3ba2616b8acc933f3afca6b3ecc1f3fa19b5703f 100644
(file)
--- a/
target/ppc/translate.c
+++ b/
target/ppc/translate.c
@@
-6391,6
+6391,7
@@
GEN_HANDLER_E(stqcx_, 0x1F, 0x16, 0x05, 0, PPC_NONE, PPC2_LSQ_ISA207),
#endif
GEN_HANDLER(sync, 0x1F, 0x16, 0x12, 0x039FF801, PPC_MEM_SYNC),
GEN_HANDLER(wait, 0x1F, 0x1E, 0x01, 0x03FFF801, PPC_WAIT),
+GEN_HANDLER_E(wait, 0x1F, 0x1E, 0x00, 0x039FF801, PPC_NONE, PPC2_ISA300),
GEN_HANDLER(b, 0x12, 0xFF, 0xFF, 0x00000000, PPC_FLOW),
GEN_HANDLER(bc, 0x10, 0xFF, 0xFF, 0x00000000, PPC_FLOW),
GEN_HANDLER(bcctr, 0x13, 0x10, 0x10, 0x00000000, PPC_FLOW),