https://bugs.freedesktop.org/show_bug.cgi?id=101952
--- Comment #4 from Janpieter Sollie <[email protected]> ---
yes, a simpler kernel works perfectly. Though I think it only makes the search
more difficult:
the combination of these functions does not work (no 255 is visible):
in external_function_call:
while (left > 0) {
count++;
extern2(2048, count, digest);
plen = left > SHA1_MAC_LEN ? SHA1_MAC_LEN : left;
// result = get_global_id(0) | get_global_id(1) |
get_global_id(2);
result += os_memcmp(digest, pos, plen);
pos += plen;
left -= plen;
}
return result;
in startTest:
if(result == 2) {
output[3] = 255;
output[0] = get_global_id(0);
output[1] = get_global_id(1);
output[2] = get_global_id(2);
}
----------------------------------------
while
result = get_global_id(0) | get_global_id(1) | get_global_id(2);
// result += os_memcmp(digest, pos, plen);
and
if(result == 0) {
does work! (255 int included) :s
I suspect an overflow happens somewhere, but is it possible oclgrind does not
detect it?
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug._______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev