Author: awatry
Date: Tue Sep 12 18:40:25 2017
New Revision: 313107
URL: http://llvm.org/viewvc/llvm-project?rev=313107&view=rev
Log:
Add native_recip(x) as ((1)/(x))
Signed-off-by: Aaron Watry
Acked-by: Jan Vesely
Added:
libclc/trunk/generic/include/clc/math/native_recip.h
Modified:
li
Author: awatry
Date: Fri Sep 8 19:23:54 2017
New Revision: 312854
URL: http://llvm.org/viewvc/llvm-project?rev=312854&view=rev
Log:
integer: Add popcount implementation using ctpop intrinsic
Also copy/modify the unary_intrin.inc from math/ to make the
intrinsic declaration somewhat reusable.
Pa
Author: awatry
Date: Fri Sep 1 19:23:28 2017
New Revision: 312404
URL: http://llvm.org/viewvc/llvm-project?rev=312404&view=rev
Log:
relational: Implement shuffle2 builtin
This was added in CL 1.1
Tested with a Radeon HD 7850 (Pitcairn) using the CL CTS via:
test_conformance/relationals/test_rel
Author: awatry
Date: Fri Sep 1 19:23:26 2017
New Revision: 312403
URL: http://llvm.org/viewvc/llvm-project?rev=312403&view=rev
Log:
relational: Implement shuffle builtin
This was added in CL 1.1
Tested with a Radeon HD 7850 (Pitcairn) using the CL CTS via:
test_conformance/relationals/test_rela
Author: awatry
Date: Fri Sep 1 19:23:16 2017
New Revision: 312402
URL: http://llvm.org/viewvc/llvm-project?rev=312402&view=rev
Log:
Add halfN types and enable fp16 when generating builtin declarations
Uses the same mechanism to enable fp16 as we use for fp64 when
processing clc.h
Signed-off-by:
Author: awatry
Date: Wed Feb 22 19:46:57 2017
New Revision: 295920
URL: http://llvm.org/viewvc/llvm-project?rev=295920&view=rev
Log:
math: Add native_tan as wrapper to tan
Trivially define native_tan as a redirect to tan.
If there are any targets with a native implementation, we can deal with it
Author: awatry
Date: Tue Jan 17 21:14:10 2017
New Revision: 292335
URL: http://llvm.org/viewvc/llvm-project?rev=292335&view=rev
Log:
math: Add logb builtin
Ported from the amd-builtins branch.
Signed-off-by: Aaron Watry
Reviewed-by: Matt Arsenault
CC: Tom Stellard
Added:
libclc/trunk/gen
Author: awatry
Date: Tue Jan 17 21:13:37 2017
New Revision: 292334
URL: http://llvm.org/viewvc/llvm-project?rev=292334&view=rev
Log:
math: Add expm1 builtin function
Ported from the amd-builtins branch.
Signed-off-by: Aaron Watry
Reviewed-by: Matt Arsenault
CC: Tom Stellard
Added:
libclc
Author: awatry
Date: Wed Sep 14 19:17:34 2016
New Revision: 281566
URL: http://llvm.org/viewvc/llvm-project?rev=281566&view=rev
Log:
math: Implement tgamma
Signed-off-by: Aaron Watry
Reviewed-by: Tom Stellard
Added:
libclc/trunk/generic/include/clc/math/tgamma.h
libclc/trunk/generic/in
Author: awatry
Date: Wed Sep 14 19:17:22 2016
New Revision: 281563
URL: http://llvm.org/viewvc/llvm-project?rev=281563&view=rev
Log:
Add ADDR_SPACE parameter to _CLC_V_V_VP_VECTORIZE
This macro is currently unused, but I plan to use it shortly.
The previous form did casts of pointers without an
Author: awatry
Date: Wed Sep 14 19:17:31 2016
New Revision: 281565
URL: http://llvm.org/viewvc/llvm-project?rev=281565&view=rev
Log:
math: Implement lgamma
Just use lgamma_r and ignore the value returned in the second argument
Signed-off-by: Aaron Watry
Reviewed-by: Tom Stellard
Added:
li
Author: awatry
Date: Wed Sep 14 19:17:28 2016
New Revision: 281564
URL: http://llvm.org/viewvc/llvm-project?rev=281564&view=rev
Log:
math: Implement lgamma_r
Ported from the amd-builtins branch, which is itself based on the
Sun Microsystems implementation.
Signed-off-by: Aaron Watry
Reviewed-by
Author: awatry
Date: Thu May 5 22:34:45 2016
New Revision: 268708
URL: http://llvm.org/viewvc/llvm-project?rev=268708&view=rev
Log:
math: Add fdim implementation
Based on the amd-builtin, but explicitly vectorized for all sizes (not just
float4), and includes a vectorized double implementation.
Author: awatry
Date: Tue Feb 23 18:52:15 2016
New Revision: 261714
URL: http://llvm.org/viewvc/llvm-project?rev=261714&view=rev
Log:
math: Fix ilogb(double) return type
Signed-off-by: Aaron Watry
Reviewed-by: Jan Vesely
Modified:
libclc/trunk/generic/lib/math/ilogb.cl
Modified: libclc/tru
Author: awatry
Date: Tue Feb 23 08:43:09 2016
New Revision: 261639
URL: http://llvm.org/viewvc/llvm-project?rev=261639&view=rev
Log:
math: Add ilogb ported from amd-builtins
The scalar float/double function bodies are a direct copy/paste
with usage of the CLC wrappers to vectorize them.
This com
Author: awatry
Date: Mon Feb 8 11:07:21 2016
New Revision: 260114
URL: http://llvm.org/viewvc/llvm-project?rev=260114&view=rev
Log:
math: Add frexp ported from amd-builtins
The float implementation is almost a direct port from the amd-builtins,
but instead of just having a scalar and float4 impl
Author: awatry
Date: Tue Oct 6 14:12:12 2015
New Revision: 249445
URL: http://llvm.org/viewvc/llvm-project?rev=249445&view=rev
Log:
integer: remove explicit casts from _MIN definitions
The spec says (section 6.12.3, CL version 1.2):
The macro names given in the following list must use the valu
Author: awatry
Date: Mon Sep 14 22:56:21 2015
New Revision: 247661
URL: http://llvm.org/viewvc/llvm-project?rev=247661&view=rev
Log:
integer: Update integer limits to comply with spec
The values for the char/short/integer/long minimums were declared with
their actual values, not the definitions f
18 matches
Mail list logo