Skip to content

Commit 153a480

Browse files
srinivas-pokalacherrymui
authored andcommitted
s390x: add s390x disassembler support for the plan9
Change-Id: I0eb9a10535175bb70dbab5737c4e02e68fd44c94 Reviewed-on: https://go-review.googlesource.com/c/arch/+/620475 Reviewed-by: Cherry Mui <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Michael Pratt <[email protected]> Reviewed-by: Vishwanatha HD <[email protected]>
1 parent 76fb3b0 commit 153a480

File tree

3 files changed

+1446
-0
lines changed

3 files changed

+1446
-0
lines changed

s390x/s390xasm/decode_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ func decode(data []byte, t *testing.T, filename string) {
7575
switch syntax {
7676
case "gnu":
7777
out = GNUSyntax(inst, pc)
78+
case "plan9":
79+
out = GoSyntax(inst, pc, nil)
7880
default:
7981
t.Errorf("unknown syntax %q", syntax)
8082
continue

0 commit comments

Comments
 (0)