mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 03:56:35 +00:00

These all share the use of a common helper function so are handled in one go. These builtins are also now vectorized.
15 lines
523 B
Common Lisp
15 lines
523 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_exp2.h>
|
|
|
|
#define FUNCTION exp2
|
|
#define __CLC_BODY <clc/shared/unary_def.inc>
|
|
#include <clc/math/gentype.inc>
|