mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-09 13:33:17 +00:00
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37239 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2fa7ce2b87
commit
60c7a136f3
@ -26,6 +26,15 @@ long long test(int X, int Y) { return (long long)X*Y; }
|
||||
|
||||
... which should only be one imul instruction.
|
||||
|
||||
or:
|
||||
|
||||
unsigned long long int t2(unsigned int a, unsigned int b) {
|
||||
return (unsigned long long)a * b;
|
||||
}
|
||||
|
||||
... which should be one mul instruction.
|
||||
|
||||
|
||||
This can be done with a custom expander, but it would be nice to move this to
|
||||
generic code.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user