[libc-commits] [libc] 039fb3e - Fix typo in FPUtil/aarch64/FMA.h

Guillaume Chatelet via libc-commits libc-commits at lists.llvm.org
Fri Jul 29 03:04:23 PDT 2022


Author: Guillaume Chatelet
Date: 2022-07-29T10:04:11Z
New Revision: 039fb3e5a12fccacd6ee5272e461e7e186397636

URL: https://github.com/llvm/llvm-project/commit/039fb3e5a12fccacd6ee5272e461e7e186397636
DIFF: https://github.com/llvm/llvm-project/commit/039fb3e5a12fccacd6ee5272e461e7e186397636.diff

LOG: Fix typo in FPUtil/aarch64/FMA.h

Added: 
    

Modified: 
    libc/src/__support/FPUtil/aarch64/FMA.h

Removed: 
    


################################################################################
diff  --git a/libc/src/__support/FPUtil/aarch64/FMA.h b/libc/src/__support/FPUtil/aarch64/FMA.h
index 118d312f017f9..f742197e0477f 100644
--- a/libc/src/__support/FPUtil/aarch64/FMA.h
+++ b/libc/src/__support/FPUtil/aarch64/FMA.h
@@ -34,7 +34,7 @@ cpp::enable_if_t<cpp::is_same_v<T, float>, T> fma(T x, T y, T z) {
 }
 
 template <typename T>
-cpp::enable_if_t<cpp::is_same_v<T, double> :, T> fma(T x, T y, T z) {
+cpp::enable_if_t<cpp::is_same_v<T, double>, T> fma(T x, T y, T z) {
   double result;
   __asm__ __volatile__("fmadd %d0, %d1, %d2, %d3\n\t"
                        : "=w"(result)


        


More information about the libc-commits mailing list