Author: awatry
Date: Tue Sep 12 18:40:25 2017
New Revision: 313107
URL: http://llvm.org/viewvc/llvm-project?rev=313107=rev
Log:
Add native_recip(x) as ((1)/(x))
Signed-off-by: Aaron Watry
Acked-by: Jan Vesely
Added:
Author: awatry
Date: Fri Sep 8 19:23:54 2017
New Revision: 312854
URL: http://llvm.org/viewvc/llvm-project?rev=312854=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.
Passes
Author: awatry
Date: Fri Sep 1 19:23:28 2017
New Revision: 312404
URL: http://llvm.org/viewvc/llvm-project?rev=312404=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:
Author: awatry
Date: Fri Sep 1 19:23:26 2017
New Revision: 312403
URL: http://llvm.org/viewvc/llvm-project?rev=312403=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:
Author: awatry
Date: Fri Sep 1 19:23:16 2017
New Revision: 312402
URL: http://llvm.org/viewvc/llvm-project?rev=312402=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=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=rev
Log:
math: Add logb builtin
Ported from the amd-builtins branch.
Signed-off-by: Aaron Watry
Reviewed-by: Matt Arsenault
CC:
Author: awatry
Date: Tue Jan 17 21:13:37 2017
New Revision: 292334
URL: http://llvm.org/viewvc/llvm-project?rev=292334=rev
Log:
math: Add expm1 builtin function
Ported from the amd-builtins branch.
Signed-off-by: Aaron Watry
Reviewed-by: Matt Arsenault
Author: awatry
Date: Wed Sep 14 19:17:34 2016
New Revision: 281566
URL: http://llvm.org/viewvc/llvm-project?rev=281566=rev
Log:
math: Implement tgamma
Signed-off-by: Aaron Watry
Reviewed-by: Tom Stellard
Added:
Author: awatry
Date: Wed Sep 14 19:17:22 2016
New Revision: 281563
URL: http://llvm.org/viewvc/llvm-project?rev=281563=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:28 2016
New Revision: 281564
URL: http://llvm.org/viewvc/llvm-project?rev=281564=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
Author: awatry
Date: Thu May 5 22:34:45 2016
New Revision: 268708
URL: http://llvm.org/viewvc/llvm-project?rev=268708=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=rev
Log:
math: Fix ilogb(double) return type
Signed-off-by: Aaron Watry
Reviewed-by: Jan Vesely
Modified:
Author: awatry
Date: Tue Feb 23 08:43:09 2016
New Revision: 261639
URL: http://llvm.org/viewvc/llvm-project?rev=261639=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 commit
Author: awatry
Date: Mon Feb 8 11:07:21 2016
New Revision: 260114
URL: http://llvm.org/viewvc/llvm-project?rev=260114=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
Author: awatry
Date: Tue Oct 6 14:12:12 2015
New Revision: 249445
URL: http://llvm.org/viewvc/llvm-project?rev=249445=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 values
16 matches
Mail list logo