<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - clang+llvm from svn crashes when generating opencl code for 64 bit types"
href="https://bugs.freedesktop.org/show_bug.cgi?id=70199#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - clang+llvm from svn crashes when generating opencl code for 64 bit types"
href="https://bugs.freedesktop.org/show_bug.cgi?id=70199">bug 70199</a>
from <span class="vcard"><a class="email" href="mailto:lekensteyn@gmail.com" title="Peter Wu <lekensteyn@gmail.com>"> <span class="fn">Peter Wu</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=87554" name="attach_87554" title="piglit test showing importance of parameter order">attachment 87554</a> <a href="attachment.cgi?id=87554&action=edit" title="piglit test showing importance of parameter order">[details]</a></span>
piglit test showing importance of parameter order
The order of parameters for long seems to matter. Output for the attached
piglit test (failing tests on top):
<span class="quote">> Running kernel test: Arg0 = a + b</span >
Using kernel add0
Setting kernel arguments...
Running the kernel...
Validating results...
Expecting 3 (0x3) with tolerance 0, but got 12884901888 (0x300000000)
Error at long[0]
Argument 0: FAIL
PIGLIT:subtest {'Arg0 = a + b' : 'fail'}
<span class="quote">> Running kernel test: Arg1 = a + b</span >
Using kernel add1
Setting kernel arguments...
Running the kernel...
Validating results...
Expecting 3 (0x3) with tolerance 0, but got 8589934593 (0x200000001)
Error at long[0]
Argument 1: FAIL
PIGLIT:subtest {'Arg1 = a + b' : 'fail'}
<span class="quote">> Running kernel test: set arg0 to arg1</span >
Using kernel set0
Setting kernel arguments...
Running the kernel...
Validating results...
Expecting 4 (0x4) with tolerance 0, but got 17179869184 (0x400000000)
Error at long[0]
Argument 0: FAIL
PIGLIT:subtest {'set arg0 to arg1' : 'fail'}
(Passing tests below:)
<span class="quote">> Running kernel test: set arg1 to arg0</span >
Using kernel set1
Setting kernel arguments...
Running the kernel...
Validating results...
Argument 1: PASS
PIGLIT:subtest {'set arg1 to arg0' : 'pass'}
<span class="quote">> Running kernel test: Arg2 = a + b</span >
Using kernel add2
Setting kernel arguments...
Running the kernel...
Validating results...
Argument 2: PASS
PIGLIT:subtest {'Arg2 = a + b' : 'pass'}
<span class="quote">> Running kernel test: set arg0 to arg1 (indirected)</span >
Using kernel setp0
Setting kernel arguments...
Running the kernel...
Validating results...
Argument 0: PASS
PIGLIT:subtest {'set arg0 to arg1 (indirected)' : 'pass'}
<span class="quote">> Running kernel test: set arg1 to arg0 (indirected)</span >
Using kernel setp1
Setting kernel arguments...
Running the kernel...
Validating results...
Argument 1: PASS
PIGLIT:subtest {'set arg1 to arg0 (indirected)' : 'pass'}
<span class="quote">> Running kernel test: set arg0 to arg2 (with dummy pointer)</span >
Using kernel set0_2
Setting kernel arguments...
Running the kernel...
Validating results...
Argument 0: PASS
PIGLIT:subtest {'set arg0 to arg2 (with dummy pointer)' : 'pass'}
<span class="quote">> Running kernel test: set arg2 to arg0 (with dummy pointer)</span >
Using kernel set2_0
Setting kernel arguments...
Running the kernel...
Validating results...
Argument 2: PASS
PIGLIT:subtest {'set arg2 to arg0 (with dummy pointer)' : 'pass'}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>