I added a version using 64-bit C integers [1], and the performance degradation is quite dramatic.
Neither IA16-GCC nor Watcom C seem to be particularly good at emitting code for 64-bit C arithmetic. The GCC code takes at least twice (8088) to ten (486) times as long when using 64-bit C ints. I think this is mainly due to more function calls being made for the 64-bit integer operations. The GCC assembly output for the 32-bit keccack function literally contains no function calls at all. Also explains why the GCC binary is the fastest by a large margin... But then, at least 64-bit arithmetic is supported at all… [1] https://codeberg.org/boeckmann/sha3sum Bernd _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
