As with other work in this area, these builtins are now vectorized. A further table has been split into two. There was discrepancy between comments above the table describing the values as "lead" and "tail" and variables taken from the table called "head" and "tail", so these have been unified as head/tail.
27 lines
925 B
Common Lisp
27 lines
925 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_convert.h>
|
|
#include <clc/float/definitions.h>
|
|
#include <clc/internal/clc.h>
|
|
#include <clc/math/clc_copysign.h>
|
|
#include <clc/math/clc_fabs.h>
|
|
#include <clc/math/clc_fma.h>
|
|
#include <clc/math/clc_ldexp.h>
|
|
#include <clc/math/clc_mad.h>
|
|
#include <clc/math/math.h>
|
|
#include <clc/math/tables.h>
|
|
#include <clc/relational/clc_isinf.h>
|
|
#include <clc/relational/clc_isnan.h>
|
|
#include <clc/relational/clc_select.h>
|
|
#include <clc/shared/clc_max.h>
|
|
#include <clc/shared/clc_min.h>
|
|
|
|
#define __CLC_BODY <clc_atan2.inc>
|
|
#include <clc/math/gentype.inc>
|