
- _Float16 is now accepted by Clang. - The half IR type is fully handled by the backend. - These values are passed in FP registers and converted to/from float around each operation. - Compiler-rt conversion functions are now built for s390x including the missing extendhfdf2 which was added. Fixes #50374
16 lines
524 B
C
16 lines
524 B
C
//===-- lib/extendhfdf2.c - half -> single 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
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#define SRC_HALF
|
|
#define DST_DOUBLE
|
|
#include "fp_extend_impl.inc"
|
|
|
|
COMPILER_RT_ABI NOINLINE dst_t __extendhfdf2(src_t a) {
|
|
return __extendXfYf2__(a);
|
|
}
|