[PATCH] Revert "Move popcount and hamdist back from z14 to z13 after needed edits."
Torbjörn Granlund
tg at gmplib.org
Thu Aug 3 16:06:14 CEST 2023
Stefan Liebler <stli at linux.ibm.com> writes:
Unfortunately not only the extended mnemonics are not available with z13,
but also vpopct M3=1-3 is reserved. Thus you'll get an illegal-instruction
if run on z13 as vector enhancement facility 1 (introduced with z14) is
not available.
Ah, darn. This will need to be fixed in a 6.3.1 when the dust settles.
I only have a z15 to run tests on. I don't have a reliable way of
telling what instructions run on a particular implementation. An
instruction table with checkmarks per implementation would avoid this
sort of problems. IBM should be able provide that.
A simple test I have used is to see what instructions the assembler
accepts under various command-line options. That depends on the GNU
binutils developers to have made no mistake.
I also tried to make qemu help by passing -cpu XXX, as that has proven
itself historically for other evolving ISAs. The GMP test setup then
can autotest things for several architectures, quickly triggering any
incorrect instruction availability assumptions. Unfortunately for
qemu-s390x, all I get from passing say "-cpu z13" is an arm long
non-parsable error message. I have had no luck with any -cpu argument
whatsoever.
--
Torbjörn
Please encrypt, key id 0xC8601622
More information about the gmp-devel
mailing list