
Also delete unused _CLC_DEFINE_BINARY_BUILTIN_WITH_SCALAR_SECOND_ARG, _CLC_DEFINE_UNARY_BUILTIN_FP16 and _CLC_DEFINE_BINARY_BUILTIN_FP16. llvm-diff shows no change to nvptx64--nvidiacl.bc and amdgcn--amdhsa.bc
18 lines
603 B
Common Lisp
18 lines
603 B
Common Lisp
//===----------------------------------------------------------------------===//
|
|
//
|
|
// 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 <clc/internal/math/clc_sw_fma.h>
|
|
#include <clc/opencl/clc.h>
|
|
|
|
#define __FLOAT_ONLY
|
|
#define FUNCTION fma
|
|
#define __CLC_FUNCTION(x) __clc_sw_fma
|
|
#define __CLC_BODY <clc/shared/ternary_def.inc>
|
|
|
|
#include <clc/math/gentype.inc>
|