diff options
author | Aaron Watry <awatry@gmail.com> | 2013-03-23 12:04:06 -0500 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-04-08 07:12:55 -0700 |
commit | e2f2f9498455eb3130b6f4b4732574771553b7e1 (patch) | |
tree | 849ffb13d719112681b3791566c42b10527b7fb6 /generic/lib/SOURCES | |
parent | 2ae3fd1f635b3a23d5bb49ac3551fd0bc848bac0 (diff) |
libclc: implement rotate builtin
This implementation does a lot of bit shifting and masking. Suffice to say,
this is somewhat suboptimal... but it does look to produce correct results
(after the piglit tests were corrected for sign extension issues).
Someone who knows LLVM better than I could re-write this more efficiently.
Diffstat (limited to 'generic/lib/SOURCES')
-rw-r--r-- | generic/lib/SOURCES | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/lib/SOURCES b/generic/lib/SOURCES index f639c83..495b3e7 100644 --- a/generic/lib/SOURCES +++ b/generic/lib/SOURCES @@ -8,6 +8,7 @@ integer/abs_diff.cl integer/add_sat.cl integer/add_sat.ll integer/add_sat_impl.ll +integer/rotate.cl integer/sub_sat.cl integer/sub_sat.ll integer/sub_sat_impl.ll |