ppc: POWER7 has lq/stq instructions and stq need to check ISA
commitdfdd3e43620a6cd4f2be31da5a257c84a16fc000
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 7 Jun 2016 02:50:24 +0000 (7 12:50 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 7 Jun 2016 03:10:44 +0000 (7 13:10 +1000)
tree8821f337b7cb5626cf83598cc7f238075a8b745b
parent8eb0f5637219820bfda8082296e1d3e39132d8de
ppc: POWER7 has lq/stq instructions and stq need to check ISA

The PPC_64BX instruction flag is used for a couple of newer
instructions currently on POWER8 but our implementation for
them works for POWER7 too (and already does the proper checking
of what is permitted) with one exception: stq needs to check
the ISA version.

This fixes the latter and add the instructions to POWER7

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target-ppc/translate.c
target-ppc/translate_init.c