From c09cec683b713d585b74825a911ee45338cb7778 Mon Sep 17 00:00:00 2001 From: Nikunj A Dadhania Date: Thu, 9 Feb 2017 16:04:03 +0530 Subject: target-ppc: add wait instruction Use the available wait instruction implementation. Signed-off-by: Nikunj A Dadhania Signed-off-by: David Gibson --- target/ppc/translate.c | 1 + 1 file changed, 1 insertion(+) (limited to 'target') diff --git a/target/ppc/translate.c b/target/ppc/translate.c index b1a6aee..3ba2616 100644 --- 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), -- cgit v1.1