diff options
| author | Cherry Zhang <cherryyz@google.com> | 2019-10-29 21:02:35 -0400 |
|---|---|---|
| committer | Cherry Zhang <cherryyz@google.com> | 2019-11-04 17:19:36 +0000 |
| commit | 1da575a7bc501e95cbf301e372b6eaf38e41eb30 (patch) | |
| tree | 420f2e5164b0f9e7eea27197ffc4637257d211fa /src/cmd/asm | |
| parent | 7dcd343ed641d3b70c09153d3b041ca3fe83b25e (diff) | |
| download | go-1da575a7bc501e95cbf301e372b6eaf38e41eb30.tar.xz | |
cmd/internal/obj/s390x: add support of SPM instruction
For restoring condition code (we already support IPM instruction
for saving condition code).
Change-Id: I56d376df44a5f831134a130d052521cec6b5b781
Reviewed-on: https://go-review.googlesource.com/c/go/+/204104
Reviewed-by: Michael Munday <mike.munday@ibm.com>
Diffstat (limited to 'src/cmd/asm')
| -rw-r--r-- | src/cmd/asm/internal/asm/testdata/s390x.s | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/asm/internal/asm/testdata/s390x.s b/src/cmd/asm/internal/asm/testdata/s390x.s index ad5241f926..85adb476b7 100644 --- a/src/cmd/asm/internal/asm/testdata/s390x.s +++ b/src/cmd/asm/internal/asm/testdata/s390x.s @@ -284,6 +284,9 @@ TEXT main·foo(SB),DUPOK|NOSPLIT,$16-0 // TEXT main.foo(SB), DUPOK|NOSPLIT, $16- IPM R3 // b2220030 IPM R12 // b22200c0 + SPM R1 // 0410 + SPM R10 // 04a0 + BRC $7, 0(PC) // a7740000 BNE 0(PC) // a7740000 BEQ 0(PC) // a7840000 |
