[all-commits] [llvm/llvm-project] b80f53: [libc][math] Implement full multiplication and qui...
lntue via All-commits
all-commits at lists.llvm.org
Fri Dec 2 14:53:54 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b80f535879a371dde7541a72a6392a67b37da420
https://github.com/llvm/llvm-project/commit/b80f535879a371dde7541a72a6392a67b37da420
Author: Tue Ly <lntue at google.com>
Date: 2022-12-02 (Fri, 02 Dec 2022)
Changed paths:
M libc/src/__support/UInt.h
M libc/test/src/__support/CMakeLists.txt
R libc/test/src/__support/uint128_test.cpp
A libc/test/src/__support/uint_test.cpp
M libc/utils/UnitTest/LibcTest.cpp
Log Message:
-----------
[libc][math] Implement full multiplication and quick_mul_hi for UInt class.
Implement full multiplication `UInt<A> * UInt<B> -> UInt<A + B>` and
`quick_mul_hi` that returns the higher half of the product `UInt<A> * UInt<A>`.
These 2 functions will be used for dyadic floating point class.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D138541
More information about the All-commits
mailing list