[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 27/54] s390x/tcg: Implement VECTOR NOT EXCLUSIVE OR
From: |
Cornelia Huck |
Subject: |
[Qemu-devel] [PULL 27/54] s390x/tcg: Implement VECTOR NOT EXCLUSIVE OR |
Date: |
Mon, 20 May 2019 19:02:35 +0200 |
From: David Hildenbrand <address@hidden>
Again, part of vector enhancement facility 1. The operation corresponds
to an bitwise equality check.
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: David Hildenbrand <address@hidden>
---
target/s390x/insn-data.def | 2 ++
target/s390x/translate_vx.inc.c | 7 +++++++
2 files changed, 9 insertions(+)
diff --git a/target/s390x/insn-data.def b/target/s390x/insn-data.def
index 4983867a441b..b549b76b9698 100644
--- a/target/s390x/insn-data.def
+++ b/target/s390x/insn-data.def
@@ -1138,6 +1138,8 @@
F(0xe76e, VNN, VRR_c, VE, 0, 0, 0, 0, vnn, 0, IF_VEC)
/* VECTOR NOR */
F(0xe76b, VNO, VRR_c, V, 0, 0, 0, 0, vno, 0, IF_VEC)
+/* VECTOR NOT EXCLUSIVE OR */
+ F(0xe76c, VNX, VRR_c, VE, 0, 0, 0, 0, vnx, 0, IF_VEC)
#ifndef CONFIG_USER_ONLY
/* COMPARE AND SWAP AND PURGE */
diff --git a/target/s390x/translate_vx.inc.c b/target/s390x/translate_vx.inc.c
index 0578ff599948..eb4e00751b69 100644
--- a/target/s390x/translate_vx.inc.c
+++ b/target/s390x/translate_vx.inc.c
@@ -1805,3 +1805,10 @@ static DisasJumpType op_vno(DisasContext *s, DisasOps *o)
get_field(s->fields, v3));
return DISAS_NEXT;
}
+
+static DisasJumpType op_vnx(DisasContext *s, DisasOps *o)
+{
+ gen_gvec_fn_3(eqv, ES_8, get_field(s->fields, v1), get_field(s->fields,
v2),
+ get_field(s->fields, v3));
+ return DISAS_NEXT;
+}
--
2.20.1
- [Qemu-devel] [PULL 17/54] s390x/tcg: Implement VECTOR COUNT TRAILING ZEROS, (continued)
- [Qemu-devel] [PULL 17/54] s390x/tcg: Implement VECTOR COUNT TRAILING ZEROS, Cornelia Huck, 2019/05/20
- [Qemu-devel] [PULL 18/54] s390x/tcg: Implement VECTOR EXCLUSIVE OR, Cornelia Huck, 2019/05/20
- [Qemu-devel] [PULL 19/54] s390x/tcg: Implement VECTOR GALOIS FIELD MULTIPLY SUM (AND ACCUMULATE), Cornelia Huck, 2019/05/20
- [Qemu-devel] [PULL 20/54] s390x/tcg: Implement VECTOR LOAD COMPLEMENT, Cornelia Huck, 2019/05/20
- [Qemu-devel] [PULL 21/54] s390x/tcg: Implement VECTOR LOAD POSITIVE, Cornelia Huck, 2019/05/20
- [Qemu-devel] [PULL 22/54] s390x/tcg: Implement VECTOR (MAXIMUM|MINIMUM) (LOGICAL), Cornelia Huck, 2019/05/20
- [Qemu-devel] [PULL 23/54] s390x/tcg: Implement VECTOR MULTIPLY AND ADD *, Cornelia Huck, 2019/05/20
- [Qemu-devel] [PULL 24/54] s390x/tcg: Implement VECTOR MULTIPLY *, Cornelia Huck, 2019/05/20
- [Qemu-devel] [PULL 25/54] s390x/tcg: Implement VECTOR NAND, Cornelia Huck, 2019/05/20
- [Qemu-devel] [PULL 26/54] s390x/tcg: Implement VECTOR NOR, Cornelia Huck, 2019/05/20
- [Qemu-devel] [PULL 27/54] s390x/tcg: Implement VECTOR NOT EXCLUSIVE OR,
Cornelia Huck <=
- [Qemu-devel] [PULL 28/54] s390x/tcg: Implement VECTOR OR, Cornelia Huck, 2019/05/20
- [Qemu-devel] [PULL 29/54] s390x/tcg: Implement VECTOR OR WITH COMPLEMENT, Cornelia Huck, 2019/05/20
- [Qemu-devel] [PULL 30/54] s390x/tcg: Implement VECTOR POPULATION COUNT, Cornelia Huck, 2019/05/20
- [Qemu-devel] [PULL 31/54] s390x/tcg: Implement VECTOR ELEMENT ROTATE LEFT LOGICAL, Cornelia Huck, 2019/05/20
- [Qemu-devel] [PULL 32/54] s390x/tcg: Implement VECTOR ELEMENT ROTATE AND INSERT UNDER MASK, Cornelia Huck, 2019/05/20
- [Qemu-devel] [PULL 33/54] s390x/tcg: Implement VECTOR ELEMENT SHIFT, Cornelia Huck, 2019/05/20
- [Qemu-devel] [PULL 34/54] s390x/tcg: Implement VECTOR SHIFT LEFT (BY BYTE), Cornelia Huck, 2019/05/20
- [Qemu-devel] [PULL 35/54] s390x/tcg: Implement VECTOR SHIFT LEFT DOUBLE BY BYTE, Cornelia Huck, 2019/05/20
- [Qemu-devel] [PULL 36/54] s390x/tcg: Implement VECTOR SHIFT RIGHT ARITHMETIC, Cornelia Huck, 2019/05/20
- [Qemu-devel] [PULL 37/54] s390x/tcg: Implement VECTOR SHIFT RIGHT LOGICAL *, Cornelia Huck, 2019/05/20