Open ghostway0 opened 3 weeks ago
@bjorn3 can you take a look? also, I haven't found umul equivalent (or mul with zext*) in s390x. do you know what are their names?
Hi @ghostway0, a few comments on the s390x part:
smul_overflow
and all the other overflow instructions are defined to have two returns, the low-part result and the overflow bit. I think you'll need to use some form of with_flags
to construct the pair of results (like x86 and aarch64 already do).
currently a draft and only riscv64