target-ppc: Enable ISEL on POWER7
PATCH 1/1 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.
Cc Alexander Graf <[email protected]>
Signed-off-by Aurelien Jarno <[email protected]>
--- target-ppc/translate_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
target-ppc/translate_init.c +1 -1
@@ -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 |
Signature · 1 line
1.7.10.4
Alexander Graf
AppliedQuoted 6 lines · Aurelien Jarno
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.
Cc Alexander Graf <[email protected]>Signed-off-by Aurelien Jarno <[email protected]>
Thanks, applied to ppc-next.
Alex
Quoted 20 lines
---
target-ppc/translate_init.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)target-ppc/translate_init.c +1
-1@@ -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 |Signature · 1 line
1.7.10.4