Re: [PATCH 3 of 3] Add MIPS32R1 MADDU-based *mul_1.asm functions

2019-09-13 Thread info
T> What is MDU? T> It is faster on all tried MIPS32R1/R2/R5 CPUs (see the c/l table) and is T> expected to be fast with any pipelined MDU. So-called Area-Efficient MDU T> (optional on some MCUs) will run it *much* slower (~3x for addmul_1). T> What is 3x slower than what? multiply-divide un

Re: [PATCH 3 of 3] Add MIPS32R1 MADDU-based *mul_1.asm functions

2019-09-13 Thread Torbjörn Granlund
i...@mobile-stream.com writes: The code tries to keep the [accidental] property of MIPS-II counterparts: constant-time operation on 32x16 MDUs as found on e.g. 4KEc and some low- end MCUs. Even if that is unimportant, the performance cost is invisible. What is MDU? It is faster on all tr

[PATCH 3 of 3] Add MIPS32R1 MADDU-based *mul_1.asm functions

2019-09-11 Thread info
Add MIPS32R1 MADDU-based *mul_1.asm functions. The code tries to keep the [accidental] property of MIPS-II counterparts: constant-time operation on 32x16 MDUs as found on e.g. 4KEc and some low- end MCUs. Even if that is unimportant, the performance cost is invisible. It is faster on all tried MI