[PATCH] D14845: [Support] Fix SaturatingMultiply<T>() to be correct (and fast), Re-enable Unit Tests

David Li via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 20 11:17:50 PST 2015


davidxl added a comment.

neat - count leading zeros  instructions is very fast on intel platforms. The implementation completely removed the need for idiv.


http://reviews.llvm.org/D14845





More information about the llvm-commits mailing list