mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-23 20:15:35 +00:00
add a note
llvm-svn: 37239
This commit is contained in:
parent
91cc43a237
commit
a7834d79a0
@ -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…
Reference in New Issue
Block a user