]> xenbits.xensource.com Git - qemu-upstream-4.5-testing.git/commitdiff
target-ppc: Enable ISEL on POWER7
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 1 Apr 2013 05:06:23 +0000 (05:06 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 26 Apr 2013 21:02:39 +0000 (23:02 +0200)
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 <aurelien@aurel32.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/translate_init.c

index 781170fb05f5044c4d0744607ef265b303c2853d..aea7d2753e3f57ad8afbafbb3486eae2afdfb654 100644 (file)
@@ -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 |