commit | 9e495c518c1443ad88a5f6f1ab0e0185ef1e20ed | [log] [tgz] |
---|---|---|
author | Matt Arsenault <Matthew.Arsenault@amd.com> | Tue Jan 13 19:46:48 2015 +0000 |
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Tue Jan 13 19:46:48 2015 +0000 |
tree | 8ae8839e454d216e26b8898bb813f38b6dab5a84 | |
parent | 88e1d95d4df526352e183b57b2ea6a3d45199619 [diff] |
R600: Make cttz / ctlz cheap to speculate Speculating things is generally good. SI+ has instructions for these for 32-bit values. This is still probably better even with the expansion for 64-bit values, although it is odd that this callback doesn't have the size as a parameter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225822 91177308-0d34-0410-b5e6-96231b3b80d8