Issue | 137023 |
---|---|
Summary | inefficient rv32i multiply by 10 ? |
Labels | new issue |
Assignees | |
Reporter | alex-s168 |
https://godbolt.org/z/Y4MzcY33n the code generates a call to `__mulsi3`, which is definitely slower than `(x << 3) + (x << 1)`.
is there any specific reason for this?
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs