Hi Peter! Here are some patches that add basic support for s390x to RISU. It's still quite limited, e.g. no support for load/store memory operations yet, but the basics with simple 16-bit or 32-bit instructions work already fine.
(In the long run, we'd need to support instructions with 48-bit length on s390x, too, since most newer "interesting" instructions like e.g. vector SIMD instructions are encoded with 48 bit. This will require modifications to the generic code, too, so I limited my initial implementation to 16-bit and 32-bit instruction length support to keep the code self-contained in the s390x architecture specific files) Thomas Huth (4): s390x: Add basic s390x support to the C code s390x: Add simple s390x.risu file s390x: Add basic risugen perl module for s390x s390x: Update the configure script for s390x support configure | 4 +- risu_reginfo_s390x.c | 142 +++++++++++++++++++++++++++++++ risu_reginfo_s390x.h | 23 +++++ risu_s390x.c | 48 +++++++++++ risugen_s390x.pm | 194 +++++++++++++++++++++++++++++++++++++++++++ s390x.risu | 48 +++++++++++ test_s390x.S | 32 +++++++ 7 files changed, 490 insertions(+), 1 deletion(-) create mode 100644 risu_reginfo_s390x.c create mode 100644 risu_reginfo_s390x.h create mode 100644 risu_s390x.c create mode 100644 risugen_s390x.pm create mode 100644 s390x.risu create mode 100644 test_s390x.S -- 2.39.3