Aaron Watry
415a60f303
integer: Add popcount implementation using ctpop intrinsic
...
Also copy/modify the unary_intrin.inc from math/ to make the
intrinsic declaration somewhat reusable.
Passes CL CTS integer_ops/test_integer_ops popcount tests for CL 1.2
Tested-by on GCN 1.0 (Pitcairn)
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 312854
2017-09-09 02:23:54 +00:00
..
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2015-10-06 19:12:12 +00:00
2013-07-08 17:27:02 +00:00
2013-08-15 19:21:07 +00:00
2013-08-15 19:21:07 +00:00
2014-08-23 14:04:36 +00:00
2013-07-08 17:27:13 +00:00
2013-07-08 17:27:13 +00:00
2013-09-09 14:36:21 +00:00
2014-09-02 17:55:02 +00:00
2014-09-02 17:55:02 +00:00
2013-07-08 17:27:13 +00:00
2013-07-08 17:27:13 +00:00
2013-08-19 18:31:49 +00:00
2013-08-19 18:31:49 +00:00
2017-09-09 02:23:54 +00:00
2013-08-15 19:21:10 +00:00
2013-08-15 19:21:10 +00:00
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2017-09-09 02:23:54 +00:00
2013-09-05 16:04:07 +00:00