[Bug 89785] GPU Fault 147 and Ring Stalls and Tests Fail in Pillars of Eternity

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 27 17:57:43 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89785

--- Comment #4 from Tom Stellard <tstellar at gmail.com> ---
Here is the bug:

s_mov_b64 vcc, s[6:7]  ; Store pointer for s_load_dword* in vcc

<snip>

v_cmpx_le_f32_e32 vcc, 0, v6 ; Kill instructions
v_cmpx_le_f32_e32 vcc, 0, v6
v_cmpx_le_f32_e32 vcc, 0, v6
v_cmpx_le_f32_e32 vcc, 0, v6

<snip>

s_load_dwordx8 s[8:15], vcc, 0x48 ; vcc no longer contains a pointer.


The lowering of kill instructions needs to save and restore VCC if it is live.

As a work around, you can try this branch:
http://cgit.freedesktop.org/~tstellar/llvm/log/?h=sched-perf-Mar-27-2015
or take the top two commits and apply it to llvm master.  I think this will
avoid the bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150328/456ab806/attachment.html>


More information about the dri-devel mailing list