[all-commits] [llvm/llvm-project] 926dd3: [libc][math] Improve the performance of subtractio...

lntue via All-commits all-commits at lists.llvm.org
Wed Nov 30 07:51:38 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 926dd32aab1d79dbd85639e5eaf7b4d3cd086af6
      https://github.com/llvm/llvm-project/commit/926dd32aab1d79dbd85639e5eaf7b4d3cd086af6
  Author: Tue Ly <lntue at google.com>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  Changed paths:
    M libc/src/__support/UInt.h

  Log Message:
  -----------
  [libc][math] Improve the performance of subtraction for UInt<>.

Use built-in sub_with_borrow to improve the performance of subtraction
for UInt<>.

Microbenchmark: https://quick-bench.com/q/UEg6Z6VK4PP2yLBtTi9C0cL9xpY

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D138506




More information about the All-commits mailing list