summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2017-06-16 17:15:39 -0700
committerRichard Henderson <rth@twiddle.net>2017-06-23 09:17:44 -0700
commit632c61a9b891affe3fe1037b16231c4a45b87d58 (patch)
tree0d9c016074f61c0b13ed190164b9212d7af6b5fe
parent6a68acd5b7bbf191a74d47ab38e27e5864d326d3 (diff)
downloadqemu-632c61a9b891affe3fe1037b16231c4a45b87d58.zip
target/s390x: Implement processor-assist insn
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Richard Henderson <rth@twiddle.net>
-rw-r--r--target/s390x/insn-data.def3
-rw-r--r--target/s390x/translate.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/target/s390x/insn-data.def b/target/s390x/insn-data.def
index 8e3f7dbd76..5ba7822f27 100644
--- a/target/s390x/insn-data.def
+++ b/target/s390x/insn-data.def
@@ -699,6 +699,9 @@
/* Implemented as nops of course. */
C(0xe336, PFD, RXY_b, GIE, 0, 0, 0, 0, 0, 0)
C(0xc602, PFDRL, RIL_c, GIE, 0, 0, 0, 0, 0, 0)
+/* PERFORM PROCESSOR ASSIST */
+ /* Implemented as nop of course. */
+ C(0xb2e8, PPA, RRF_c, PPA, 0, 0, 0, 0, 0, 0)
/* POPULATION COUNT */
C(0xb9e1, POPCNT, RRE, PC, 0, r2_o, r1, 0, popcnt, nz64)
diff --git a/target/s390x/translate.c b/target/s390x/translate.c
index 06d56000c8..72af76df27 100644
--- a/target/s390x/translate.c
+++ b/target/s390x/translate.c
@@ -5444,6 +5444,7 @@ enum DisasInsnEnum {
#define FAC_DAT_ENH S390_FEAT_DAT_ENH
#define FAC_E2 S390_FEAT_EXTENDED_TRANSLATION_2
#define FAC_EH S390_FEAT_STFLE_49 /* execution-hint */
+#define FAC_PPA S390_FEAT_STFLE_49 /* processor-assist */
#define FAC_LZRB S390_FEAT_STFLE_53 /* load-and-zero-rightmost-byte */
static const DisasInsn insn_info[] = {