From: bugzilla-daemon@freedesktop.org Subject: [Bug 89785] GPU Fault 147 and Ring Stalls and Tests Fail in Pillars of Eternity Date: Sat, 28 Mar 2015 00:57:43 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0839636545==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7C5576E0FD for ; Fri, 27 Mar 2015 17:57:43 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0839636545== Content-Type: multipart/alternative; boundary="1427504263.D817FEe20.25217"; charset="UTF-8" --1427504263.D817FEe20.25217 Date: Sat, 28 Mar 2015 00:57:43 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=89785 --- Comment #4 from Tom Stellard --- Here is the bug: s_mov_b64 vcc, s[6:7] ; Store pointer for s_load_dword* in vcc 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 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. --1427504263.D817FEe20.25217 Date: Sat, 28 Mar 2015 00:57:43 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 4 on bug 89785 from
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.
--1427504263.D817FEe20.25217-- --===============0839636545== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0839636545==--