Displaying 1 result from an estimated 1 matches for "01d61bbf".
2020 Apr 26
2
assembly code for array iteration generated by llvm is much slower than gcc
...arch=rv32imf -mabi=ilp32f -fno-builtin -S perf.c -o perf.g++
clang++ -O2 –target=riscv32 -march=rv32img -mabi=ilp32f -nostdlib -fno-builtin -S perf.c -o perf.lang
the gcc version is 7.2.0
the llvm version is 10.0.0
Assembly code of the loop generated by gcc and llvm:
[cid:image002.jpg at 01D61BBF.0A4250B0]
Thank you all for your time and any help you can provide.
Lori
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200426/e8d2c45f/attachment-0001.html>
-------------- next part --------------...