diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2014-04-29 23:12:46 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2014-04-29 23:12:46 +0000 |
commit | 676f5719994165843261d2d241dbd6ebc507f631 (patch) | |
tree | b7f8b3c31d5639b1629e3731564751d86f8d8d5a /llvm/utils/FileUpdate/FileUpdate.cpp | |
parent | bcd318fc7650b6ea6b85a85f0ee5d0314f4d1fb5 (diff) | |
download | bcm5719-llvm-676f5719994165843261d2d241dbd6ebc507f631.tar.gz bcm5719-llvm-676f5719994165843261d2d241dbd6ebc507f631.zip |
R600: optimize the UDIVREM 64 algorithm
This is a squash of several optimization commits:
- calculate DIV_Lo and DIV_Hi separately
- use BFE_U32 if we are operating on 32bit values
- use precomputed constants instead of shifting in UDVIREM
- skip the first 32 iterations of udivrem
v2: Check whether BFE is supported before using it
Patch by: Jan Vesely
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 207589
Diffstat (limited to 'llvm/utils/FileUpdate/FileUpdate.cpp')
0 files changed, 0 insertions, 0 deletions