The function was already nominally in the CLC namespace; this commit just moves it over. This commit also vectorizes the builtin to avoid scalarization.
16 lines
539 B
C
16 lines
539 B
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 __CLC_BODY <clc/math/binary_decl_with_int_second_arg.inc>
|
|
#define __CLC_FUNCTION rootn
|
|
|
|
#include <clc/math/gentype.inc>
|
|
|
|
#undef __CLC_BODY
|
|
#undef __CLC_FUNCTION
|