Message ID | 20171207165355.7559-3-david@redhat.com |
---|---|
State | New |
Headers | show |
Series | s390x/tcg: facilitites and instructions | expand |
On 12/07/2017 08:53 AM, David Hildenbrand wrote: > We can simply reuse our ASI implementation. Only the way CC is > calculated differs. > > Signed-off-by: David Hildenbrand <david@redhat.com> > --- > target/s390x/insn-data.def | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Squash with previous? r~
On 08.12.2017 00:43, Richard Henderson wrote: > On 12/07/2017 08:53 AM, David Hildenbrand wrote: >> We can simply reuse our ASI implementation. Only the way CC is >> calculated differs. >> >> Signed-off-by: David Hildenbrand <david@redhat.com> >> --- >> target/s390x/insn-data.def | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) > > Squash with previous? Yes, can do that! > > > r~ >
diff --git a/target/s390x/insn-data.def b/target/s390x/insn-data.def index 57f2e5133f..166ee7c80b 100644 --- a/target/s390x/insn-data.def +++ b/target/s390x/insn-data.def @@ -70,9 +70,9 @@ C(0xc20b, ALFI, RIL_a, EI, r1, i2_32u, new, r1_32, add, addu32) C(0xc20a, ALGFI, RIL_a, EI, r1, i2_32u, r1, 0, add, addu64) /* ADD LOGICAL WITH SIGNED IMMEDIATE */ - C(0xeb6e, ALSI, SIY, GIE, m1_32u, i2, new, m1_32, add, addu32) + D(0xeb6e, ALSI, SIY, GIE, la1, i2, new, 0, asi, addu32, MO_TEUL) C(0xecda, ALHSIK, RIE_d, DO, r3, i2, new, r1_32, add, addu32) - C(0xeb7e, ALGSI, SIY, GIE, m1_64, i2, new, m1_64, add, addu64) + D(0xeb7e, ALGSI, SIY, GIE, la1, i2, new, 0, asi, addu64, MO_TEQ) C(0xecdb, ALGHSIK, RIE_d, DO, r3, i2, r1, 0, add, addu64) /* ADD LOGICAL WITH SIGNED IMMEDIATE HIGH */ C(0xcc0a, ALSIH, RIL_a, HW, r1_sr32, i2, new, r1_32h, add, addu32)
We can simply reuse our ASI implementation. Only the way CC is calculated differs. Signed-off-by: David Hildenbrand <david@redhat.com> --- target/s390x/insn-data.def | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)