From: Aurelien Jarno Date: Mon, 1 Apr 2013 05:06:23 +0000 (+0000) Subject: target-ppc: Enable ISEL on POWER7 X-Git-Tag: v1.5.0-rc0~115^2~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e71ec2e93dad4446d245031382e30b377640d9ca;p=thirdparty%2Fqemu.git target-ppc: Enable ISEL on POWER7 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. Signed-off-by: Aurelien Jarno Signed-off-by: Alexander Graf --- diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index 781170fb05f..aea7d2753e3 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 |