Add program disasm-test to check that s390_disasm generates the same disassembly for a given insn than objdump -d does. This program resides in the new directory none/tests/s390x/disasm-test The patch contains the source code, configury and makefile mods for building it and regression test integration. There is comprehensive documentation in the README file. The regression test will fail because https://bugs.kde.org/show_bug.cgi?id=495817 hasn't been fixed yet.
Created attachment 176962 [details] patch to add disasm-test
Created attachment 177446 [details] patch to add disasm-test v2 Bug fixes. Regression test is made to succeed for now. Add support for D(L,B) und D(V,B). All vector opcodes added and reordered so as to match the order in POP. That makes proof-reading a lot simpler.
Created attachment 179020 [details] fix EXTRA_DIST Rats.. I forgot to add a file to EXTRA_DIST... Now fixed. Note to self: change Makefile.am such that post-regtest-checks run as part of a regular "make". Won't delay the build much.
Fixed in b98855efc89a402357469fbde06912a3bc0b0bfd