]> Cypherpunks repositories - gostls13.git/commit
cmd/internal: allow ADDE to work with memory location on s390x
authorRuixin(Peter) Bao <ruixin.bao@ibm.com>
Tue, 21 Apr 2020 20:56:22 +0000 (16:56 -0400)
committerMichael Munday <mike.munday@ibm.com>
Wed, 22 Apr 2020 11:37:03 +0000 (11:37 +0000)
commita45ea55da732198dca2457ecb7cabe4ab4a7a162
tree645a7861b8322baec79f5752b7256a87d4a63ca3
parent79395c55e27618c1d48218274498d8390705979c
cmd/internal: allow ADDE to work with memory location on s390x

Originally on s390x, ADDE does not work when adding numbers from a memory location.
For example: ADDE (R3), R4 will result in a failure.

Since ADDC, ADD and ADDW already supports adding from memory location,
let's support that for ADDE as well.

Change-Id: I7cbe112ea154733a621b948c6a21bbee63fb0c62
Reviewed-on: https://go-review.googlesource.com/c/go/+/229304
Reviewed-by: Michael Munday <mike.munday@ibm.com>
Run-TryBot: Michael Munday <mike.munday@ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/asm/internal/asm/testdata/s390x.s
src/cmd/internal/obj/s390x/asmz.go