The function was already nominally in the CLC namespace; this commit just moves it over. This commit also vectorizes the builtin to avoid scalarization.
15 lines
544 B
Common Lisp
15 lines
544 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/clc.h>
|
|
#include <clc/math/clc_rootn.h>
|
|
|
|
#define FUNCTION rootn
|
|
#define __CLC_BODY <clc/math/binary_def_with_int_second_arg.inc>
|
|
#include <clc/math/gentype.inc>
|