diff options
author | Aaron Watry <awatry@gmail.com> | 2013-08-19 18:31:49 +0000 |
---|---|---|
committer | Aaron Watry <awatry@gmail.com> | 2013-08-19 18:31:49 +0000 |
commit | fbe439f8c075a51825e182b99d8bf3e16be70224 (patch) | |
tree | 570d100c45453e71adafdfe7de464dadef2206dc /llvm/lib/Analysis/ProfileInfoLoaderPass.cpp | |
parent | 804a655dea35ad89bb31de80d0fba6167b18ed49 (diff) | |
download | bcm5719-llvm-fbe439f8c075a51825e182b99d8bf3e16be70224.tar.gz bcm5719-llvm-fbe439f8c075a51825e182b99d8bf3e16be70224.zip |
Add mul_hi implementation [v2]
Everything except long/ulong is handled by just casting to the next larger type,
doing the math and then shifting/casting the result.
For 64-bit types, we break the high/low parts of each operand apart, and do
a FOIL-based multiplication.
v2:
Discard the stack-overflow implementation due to copyright concerns.
- The implementation is still FOIL-based, but discards the previous code.
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 188684
Diffstat (limited to 'llvm/lib/Analysis/ProfileInfoLoaderPass.cpp')
0 files changed, 0 insertions, 0 deletions