[compiler-rt] Add extendhfxf2 into compiler rt (PR #113897)
Alexander Richardson via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 7 22:54:32 PST 2024
================
@@ -0,0 +1,16 @@
+//===-- lib/extendhfxf2.c - half -> long double conversion --------*- 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
+//
+//===----------------------------------------------------------------------===//
+#include "int_lib.h"
+#define SRC_HALF
+#define DST_DOUBLE
+#include "fp_extend_impl.inc"
+
+// Long double are expected to be as precise as double.
----------------
arichardson wrote:
Sounds good to me
https://github.com/llvm/llvm-project/pull/113897
More information about the llvm-commits
mailing list