[all-commits] [llvm/llvm-project] 36b702: [libc][math] Implement fast division / modulus for...

lntue via All-commits all-commits at lists.llvm.org
Fri May 12 18:01:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 36b702901a0bff76c1f22926b7f4744f6b760659
      https://github.com/llvm/llvm-project/commit/36b702901a0bff76c1f22926b7f4744f6b760659
  Author: Tue Ly <lntue at google.com>
  Date:   2023-05-12 (Fri, 12 May 2023)

  Changed paths:
    M libc/src/__support/UInt.h
    M libc/test/src/__support/uint_test.cpp

  Log Message:
  -----------
  [libc][math] Implement fast division / modulus for UInt / (uint32_t * 2^e).

This is to improve a performance bottleneck of printf for long double.

Reviewed By: michaelrj

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




More information about the All-commits mailing list