llvm-capstone/libc
Siva Chandra Reddy 139018265b [libc] Add implementations long double fabsl and truncl functions.
Current implementations of single precision and double precision
floating point operations operate on bits of the integer type of
same size. The code made use of magic masks which were listed as
literal integer values. This is not possible in the case of long
double type as the mantissa of quad-precision long double type used
on non-x86 architectures is wider that the widest integer type for
which we can list literal values. So, in this patch, to avoid
using magic masks specified with literal values, we use packed
bit-field struct types and let the compiler generate the masks.
This new scheme allows us to implement long double flavors of the
various floating point operations. To keep the size of the patch
small, only the implementations of fabs and trunc have been
switched to the new scheme. In following patches, all exisiting
implementations will be switched to the new scheme.

Reviewers: asteinhauser

Differential Revision: https://reviews.llvm.org/D82036
2020-06-18 11:08:26 -07:00
..
AOR_v20.02 [libc] Disable AOR ulp tests for sinf, cosf and sincosf. 2020-04-17 09:01:44 -07:00
benchmarks [libc][benchmarks] Link the memory benchmark exes to functions from LLVM libc. 2020-06-17 11:42:26 -07:00
cmake/modules [libc][NFC] Make cpu feature check tolerate non-x86 architectures. 2020-06-10 11:11:04 -07:00
config [libc] Add implementations long double fabsl and truncl functions. 2020-06-18 11:08:26 -07:00
docs [libc] NFC: Fix trivial typo in comments, documents, and messages 2020-04-06 16:19:34 +09:00
fuzzing [libc] Add fully-qualified target names. 2020-04-10 18:01:52 -07:00
include [libc] Add definitions of double_t and float_t to math.h. 2020-04-30 11:59:11 -07:00
lib [libc] Add implementations of round and roundf. 2020-06-09 23:01:20 -07:00
loader [libc] Skip entrypoints not present in the entrypoints list. 2020-06-09 14:40:28 -07:00
spec [libc] Add implementations long double fabsl and truncl functions. 2020-06-18 11:08:26 -07:00
src [libc] Add implementations long double fabsl and truncl functions. 2020-06-18 11:08:26 -07:00
test [libc] Add implementations long double fabsl and truncl functions. 2020-06-18 11:08:26 -07:00
utils [libc] Add implementations long double fabsl and truncl functions. 2020-06-18 11:08:26 -07:00
CMakeLists.txt [libc][benchmarks] Link the memory benchmark exes to functions from LLVM libc. 2020-06-17 11:42:26 -07:00
LICENSE.txt
README.txt

LLVM libc
=========

This directory and its subdirectories contain source code for llvm-libc,
a retargetable implementation of the C standard library.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.