| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
Also change the order of the functions to be consistent with
the order in the header files.
llvm-svn: 211496
|
|
|
|
|
|
|
| |
While we are here introduce the proper headers for the error code.
Reviewed-by: Tom Stellard <tom@stellard.net>
llvm-svn: 211432
|
|
|
|
|
| |
Reviewed-by: Tom Stellard <tom@stellard.net>
llvm-svn: 211211
|
|
|
|
|
| |
Reviewed-by: Tom Stellard <tom@stellard.net>
llvm-svn: 211210
|
|
|
|
|
|
|
|
|
|
|
|
| |
v3: change __builtin_nanf() to __builtin_nanf("")
This doesn't work yet, but it was agreed to commit as-is with the logic
that "broken" is better than "completely missing" and this should be
fixed in clang.
v2: use __builtin_inff() and also add nan/huge_val definitions
Signed-off-by: Aaron Watry <awatry@gmail.com>
llvm-svn: 211065
|
|
|
|
|
| |
Reviewed-by: Aaron Watry <awatry@gmail.com>
llvm-svn: 211062
|
|
|
|
|
|
| |
This reverts commit 4cf021ae67b6ea8cfd42aa76ce6f5e1c329e145a.
llvm-svn: 211049
|
|
|
|
|
|
| |
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Tom Stellard <tom@stellard.net>
llvm-svn: 211047
|
|
|
|
|
|
| |
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Tom Stellard <tom@stellard.net>
llvm-svn: 211046
|
|
|
|
|
|
| |
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Tom Stellard <tom@stellard.net>
llvm-svn: 211045
|
|
|
|
| |
llvm-svn: 211044
|
|
|
|
|
|
|
|
| |
Based on clang's stdint.h
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Tom Stellard <tom@stellard.net>
llvm-svn: 210933
|
|
|
|
| |
llvm-svn: 210896
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use separate implementations instead of a macro
to ensure the constant multiplied with is of
higher precision.
v2: Use the correct formula, spotted by Dan Liew <daniel.liew@imperial.ac.uk>
Reviewed-by: Aaron Warty <awatry@gmail.com>
Reviewed-by: Tom Stellard <tom@stellard.net>
llvm-svn: 210891
|
|
|
|
|
|
| |
This fixes the build with with newer LLVM.
llvm-svn: 210867
|
|
|
|
|
|
| |
Tested with llvm 3.4 and trunk.
llvm-svn: 210825
|
|
|
|
|
| |
Reviewed-by: Aaron Watry <awatry@gmail.com>
llvm-svn: 210111
|
|
|
|
| |
llvm-svn: 209850
|
|
|
|
|
|
|
|
|
| |
The 'f' was missing and, hence, the values were
considered to be doubles instead of floats.
Reviewed by: Tom Stellard
llvm-svn: 209849
|
|
|
|
|
|
| |
Reviewed by: Tom Stellard
llvm-svn: 209848
|
|
|
|
| |
llvm-svn: 207685
|
|
|
|
|
|
|
|
|
| |
This file duplicates clc/math/gentype.inc and is not
actually being used.
Patch by: Jeroen Ketema
llvm-svn: 207684
|
|
|
|
|
|
| |
Patch by: Jeroen Ketema
llvm-svn: 205055
|
|
|
|
|
|
| |
Patch by: Jeroen Ketema
llvm-svn: 205054
|
|
|
|
|
|
|
|
|
|
| |
v2:
- Use a hexadecimal constant.
v3:
- Use a hexadecimal constant in floating-point notation.
llvm-svn: 204666
|
|
|
|
|
|
|
| |
Patch by: Jeroen Ketema
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 204478
|
|
|
|
|
|
|
| |
Patch by: Jeroen Ketema
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 204477
|
|
|
|
|
|
| |
sys::fs_F_Binary has been replaced with sys::fs_F_Text
llvm-svn: 202081
|
|
|
|
|
|
|
|
| |
These do not import the code specific to nvidiacl
Patch by: Jeroen Ketema
llvm-svn: 201431
|
|
|
|
|
|
|
|
|
| |
This reverts commit r200413.
This was breaking the build on systems where the python 2.x executable
was called python.
llvm-svn: 201239
|
|
|
|
|
|
| |
Patch by: Dan Liew
llvm-svn: 200416
|
|
|
|
|
|
|
|
|
| |
This is necessary for building with Ninja because it does not allow
duplicate rule names.
Patch by: Dan Liew
llvm-svn: 200415
|
|
|
|
|
|
|
|
|
|
| |
We use ${DESTDIR} syntax now instead of $(DESTDIR) because that syntax
works both is the shell (at least it does for bash) and for make (at
least it does for GNU Make)
Patch By: Dan Liew
llvm-svn: 200414
|
|
|
|
|
|
| |
Patch by: Dan Liew
llvm-svn: 200413
|
|
|
|
|
|
|
|
|
| |
Patch by: Udo van den Heuvel
Tom Stellard:
- Added ifdef and error handling
llvm-svn: 199687
|
|
|
|
|
| |
FIXME: Dragonegg may be updated at non-trivial changes.
llvm-svn: 198274
|
|
|
|
|
| |
Reviewed-by: Aaron Watry <awatry@gmail.com>
llvm-svn: 198168
|
|
|
|
|
| |
Reviewed-by: Aaron Watry <awatry@gmail.com>
llvm-svn: 198167
|
|
|
|
|
|
|
|
| |
v2:
- Fix typo.
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 197784
|
|
|
|
|
|
|
|
|
|
|
|
| |
OpenCL C lang says that trunc rounds towards zero.
llvm.trunc.* intrinsic rounds to integer not larger in magnitude.
These definitions are equivalent.
Patch by: Jan Vesely
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 197769
|
|
|
|
|
|
|
| |
Patch by: Kai Wasserbäch
Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
llvm-svn: 195898
|
|
|
|
| |
llvm-svn: 195023
|
|
|
|
| |
llvm-svn: 195022
|
|
|
|
| |
llvm-svn: 195021
|
|
|
|
|
|
|
|
|
| |
Some function definitions were using _CLC_DECL, which meant that they
weren't being marked as always_inline.
Reviewed-by and Tested-by: Aaron Watry <awatry@gmail.com>
llvm-svn: 193754
|
|
|
|
|
|
|
|
| |
This will prevent LLVM optimization passes from creating illegal uses
of the barrier() intrinsic (e.g. calling barrier() from a conditional
that is not executed by all threads).
llvm-svn: 193753
|
|
|
|
|
|
| |
Patch by: Jeroen Ketema
llvm-svn: 193221
|
|
|
|
|
|
|
|
|
|
|
|
| |
The C++ compiler used to build prepare-builtins
may differ from the llvm/clang for which we are
building libclc.
Use 'clang++' as the default compiler.
Patch by: Jeroen Ketema
llvm-svn: 193220
|
|
|
|
|
|
|
| |
This script generates implementations for the entire set of convert_*
functions,
llvm-svn: 192385
|
|
|
|
| |
llvm-svn: 192384
|