6 ms·
I strongly suspect the ARM compiler is not optimized for 128b mults and just calls a generic software function to do the computation like this one: https://git
by sligor 8y ago
I strongly suspect the ARM compiler is not optimized for 128b mults and just calls a generic software function to do the computation
like this one: https://github.com/llvm-mirror/compiler-rt/blob/master/lib/builtins/multi3.c https://github.com/llvm-mirror/compiler-rt/blob/master/lib/b...
- mmozeiko 8y agoFor 64-bit ARM there are no function calls when using clang: https://godbolt.org/z/IR2DIj https://godbolt.org/z/IR2DIj
- sligor 8y agoyou're right, and even on old versions of gcc and clang it seems that it is correctly generated as mul + umulh pair
- mmrezaie 8y agoI just wanted to thank you for this website. It is putting end to so many discussions we have about the quality of the code. Extra, it has a support for FORTRAN. Previously we were doing debug and disassembly ourselves.