[libc-commits] [libc] [llvm] [libc][math] Refactor f16fmaf128 to Header Only (PR #177850)
Muhammad Bassiouni via libc-commits
libc-commits at lists.llvm.org
Mon Jan 26 09:33:20 PST 2026
================
@@ -1,29 +1,30 @@
-//===-- Shared dfmaf128 function --------------------------------*- C++ -*-===//
+//===-- Shared f16fmaf128 function -------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
-#ifndef LLVM_LIBC_SHARED_MATH_DFMAF128_H
-#define LLVM_LIBC_SHARED_MATH_DFMAF128_H
+#ifndef LLVM_LIBC_SHARED_MATH_F16FMAF128_H
+#define LLVM_LIBC_SHARED_MATH_F16FMAF128_H
#include "include/llvm-libc-types/float128.h"
+#include "shared/libc_common.h"
#ifdef LIBC_TYPES_HAS_FLOAT128
-#include "shared/libc_common.h"
-#include "src/__support/math/dfmaf128.h"
+
+#include "src/__support/math/f16fmaf128.h"
----------------
bassiounix wrote:
Also please add the same macro for `float16`
https://github.com/llvm/llvm-project/pull/177850
More information about the libc-commits
mailing list