[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 5/9] s390x/tcg: Implement MULTIPLY HALFWORD (MGH)
From: |
David Hildenbrand |
Subject: |
[PATCH v2 5/9] s390x/tcg: Implement MULTIPLY HALFWORD (MGH) |
Date: |
Mon, 28 Sep 2020 14:27:13 +0200 |
Just like MULTIPLY HALFWORD IMMEDIATE (MGHI), only the second operand
(signed 16 bit) comes from memory.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
---
target/s390x/insn-data.def | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/s390x/insn-data.def b/target/s390x/insn-data.def
index 2b4ad1530d..455efe73da 100644
--- a/target/s390x/insn-data.def
+++ b/target/s390x/insn-data.def
@@ -666,6 +666,7 @@
/* MULTIPLY HALFWORD */
C(0x4c00, MH, RX_a, Z, r1_o, m2_16s, new, r1_32, mul, 0)
C(0xe37c, MHY, RXY_a, GIE, r1_o, m2_16s, new, r1_32, mul, 0)
+ C(0xe33c, MGH, RXY_a, MIE2,r1_o, m2_16s, r1, 0, mul, 0)
/* MULTIPLY HALFWORD IMMEDIATE */
C(0xa70c, MHI, RI_a, Z, r1_o, i2, new, r1_32, mul, 0)
C(0xa70d, MGHI, RI_a, Z, r1_o, i2, r1, 0, mul, 0)
--
2.26.2
- [PATCH v2 0/9] s390x/tcg: Implement some z14 facilities, David Hildenbrand, 2020/09/28
- [PATCH v2 1/9] s390x/cpu_model: S390_FEAT_MISC_INSTRUCTION_EXT -> S390_FEAT_MISC_INSTRUCTION_EXT2, David Hildenbrand, 2020/09/28
- [PATCH v2 2/9] s390x/tcg: Implement ADD HALFWORD (AGH), David Hildenbrand, 2020/09/28
- [PATCH v2 4/9] s390x/tcg: Implement MULTIPLY (MG, MGRK), David Hildenbrand, 2020/09/28
- [PATCH v2 3/9] s390x/tcg: Implement SUBTRACT HALFWORD (SGH), David Hildenbrand, 2020/09/28
- [PATCH v2 5/9] s390x/tcg: Implement MULTIPLY HALFWORD (MGH),
David Hildenbrand <=
- [PATCH v2 6/9] s390x/tcg: Implement BRANCH INDIRECT ON CONDITION (BIC), David Hildenbrand, 2020/09/28
- [PATCH v2 7/9] s390x/tcg: Implement MULTIPLY SINGLE (MSC, MSGC, MSGRKC, MSRKC), David Hildenbrand, 2020/09/28
- [PATCH v2 8/9] s390x/tcg: We support Miscellaneous-Instruction-Extensions Facility 2, David Hildenbrand, 2020/09/28
- [PATCH v2 9/9] s390x/tcg: Implement CIPHER MESSAGE WITH AUTHENTICATION (KMA), David Hildenbrand, 2020/09/28
- Re: [PATCH v2 0/9] s390x/tcg: Implement some z14 facilities, no-reply, 2020/09/28