Am 09.09.24 um 09:19 schrieb Richard Biener:
Is the library implementation in any way different from the signed one? Iff only multiplication and addition/subtraction are involved the unsigned implementation could implement both variants (the signed one would eventually cause undefinedness with respect to overflow unless built with -fwrapv). That would save code size in libgfortran and eventually icache if mixing uses of both.
The versions for signed and unsigned matmul are generated from the same source, so that should work. But it will require some ugly m4 hackery... I'll take a look if I can make it work. Best regards Thomas