From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96877] Bioshock Infinite: LLVM triggered Diagnostic Handler: Illegal instruction detected: Operand has incorrect register class. Date: Sun, 10 Jul 2016 09:08:12 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0211648397==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 77EB06E206 for ; Sun, 10 Jul 2016 09:08:12 +0000 (UTC) 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 --===============0211648397== Content-Type: multipart/alternative; boundary="14681416920.fBDAb4b.28581"; charset="UTF-8" --14681416920.fBDAb4b.28581 Date: Sun, 10 Jul 2016 09:08:12 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D96877 Bug ID: 96877 Summary: Bioshock Infinite: LLVM triggered Diagnostic Handler: Illegal instruction detected: Operand has incorrect register class. Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: haagch@frickel.club QA Contact: dri-devel@lists.freedesktop.org This happens on my HD 7970M. "Very Low" graphics settings work fine but trying to start with "Medium" settings throws this error before it even gets to the menu. The files are bit too big for bugzilla I think, so Here is an stderr log with R600_DEBUG=3D"vs,ps,gs,tes,tcs": http://haagch.frickel.club/files/err.txt.gz Here is an apitrace that causes the error: http://haagch.frickel.club/files/bioshock.i386.trace.xz Happened with latest mesa git and llvm 3.9.0svn_r274975 and now with 3.9.0svn_r275008 too. --=20 You are receiving this mail because: You are the assignee for the bug.= --14681416920.fBDAb4b.28581 Date: Sun, 10 Jul 2016 09:08:12 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 96877
Summary Bioshock Infinite: LLVM triggered Diagnostic Handler: Illegal= instruction detected: Operand has incorrect register class.
Product Mesa
Version git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter haagch@frickel.club
QA Contact dri-devel@lists.freedesktop.org

This happens on my HD 7970M.

"Very Low" graphics settings work fine but trying to start with &=
quot;Medium"
settings throws this error before it even gets to the menu.

The files are bit too big for bugzilla I think, so

Here is an stderr log with R600_DEBUG=3D"vs,ps,gs,tes,tcs":
http://haagch.frick=
el.club/files/err.txt.gz

Here is an apitrace that causes the error:
http://=
haagch.frickel.club/files/bioshock.i386.trace.xz

Happened with latest mesa git and llvm 3.9.0svn_r274975 and now with
3.9.0svn_r275008 too.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14681416920.fBDAb4b.28581-- --===============0211648397== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0211648397==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96877] Bioshock Infinite: LLVM triggered Diagnostic Handler: Illegal instruction detected: Operand has incorrect register class. Date: Sun, 10 Jul 2016 11:25:08 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0653914120==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 63B7F6E085 for ; Sun, 10 Jul 2016 11:25:08 +0000 (UTC) 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 --===============0653914120== Content-Type: multipart/alternative; boundary="14681499081.65E57.13951"; charset="UTF-8" --14681499081.65E57.13951 Date: Sun, 10 Jul 2016 11:25:08 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D96877 --- Comment #1 from Nicolai H=C3=A4hnle --- Created attachment 124987 --> https://bugs.freedesktop.org/attachment.cgi?id=3D124987&action=3Dedit Reduced test case, fails with llc -march=3Damdgcn -verify-machineinstrs I can reproduce this, and I obtained the attached reduced testcase which ha= s an error since r274954 "AMDGPU: Improve offset folding for register indexing".= I'm not sure how that change is related to the particular error that I get... --=20 You are receiving this mail because: You are the assignee for the bug.= --14681499081.65E57.13951 Date: Sun, 10 Jul 2016 11:25:08 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 1 on bug 96877<= /a> from Nicolai H=C3=A4hnle
Created attachment 124987 [details]
Reduced test case, fails with llc -march=3Damdgcn -verify-machineinstrs

I can reproduce this, and I obtained the attached reduced testcase which ha=
s an
error since r274954 "AMDGPU: Improve offset folding for register index=
ing". I'm
not sure how that change is related to the particular error that I get...
        


You are receiving this mail because:
  • You are the assignee for the bug.
= --14681499081.65E57.13951-- --===============0653914120== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0653914120==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96877] Bioshock Infinite: LLVM triggered Diagnostic Handler: Illegal instruction detected: Operand has incorrect register class. Date: Sun, 10 Jul 2016 17:24:46 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1247854490==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 1CEB96E0ED for ; Sun, 10 Jul 2016 17:24:46 +0000 (UTC) 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 --===============1247854490== Content-Type: multipart/alternative; boundary="14681714861.bFEB.21013"; charset="UTF-8" --14681714861.bFEB.21013 Date: Sun, 10 Jul 2016 17:24:46 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D96877 --- Comment #2 from Nicolai H=C3=A4hnle --- Created attachment 124989 --> https://bugs.freedesktop.org/attachment.cgi?id=3D124989&action=3Dedit Treat insert and extract equally in selectMOVRELOffsetImpl The attached patch fixes the bug for me. --=20 You are receiving this mail because: You are the assignee for the bug.= --14681714861.bFEB.21013 Date: Sun, 10 Jul 2016 17:24:46 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 2 on bug 96877<= /a> from Nicolai H=C3=A4hnle
Created attachment 124989 [details] [review]
Treat insert and extract equally in selectMOVRELOffsetImpl

The attached patch fixes the bug for me.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14681714861.bFEB.21013-- --===============1247854490== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1247854490==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96877] Bioshock Infinite: LLVM triggered Diagnostic Handler: Illegal instruction detected: Operand has incorrect register class. Date: Mon, 11 Jul 2016 07:49:19 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1425009317==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id A50816E164 for ; Mon, 11 Jul 2016 07:49:18 +0000 (UTC) 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 --===============1425009317== Content-Type: multipart/alternative; boundary="14682233580.Bff15c1.3809"; charset="UTF-8" --14682233580.Bff15c1.3809 Date: Mon, 11 Jul 2016 07:49:18 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D96877 --- Comment #3 from Michel D=C3=A4nzer --- FWIW, Nicolai's patch seems to fix lots of piglit regressions on my Kaveri. --=20 You are receiving this mail because: You are the assignee for the bug.= --14682233580.Bff15c1.3809 Date: Mon, 11 Jul 2016 07:49:18 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 3 on bug 96877<= /a> from Michel D=C3=A4nzer
FWIW, Nicolai's patch seems to fix lots of piglit regressions =
on my Kaveri.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14682233580.Bff15c1.3809-- --===============1425009317== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1425009317==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96877] Bioshock Infinite: LLVM triggered Diagnostic Handler: Illegal instruction detected: Operand has incorrect register class. Date: Mon, 11 Jul 2016 13:09:00 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1375208988==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id AF77A6E3C8 for ; Mon, 11 Jul 2016 13:08:59 +0000 (UTC) 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 --===============1375208988== Content-Type: multipart/alternative; boundary="14682425390.DB2Bed9c.8005"; charset="UTF-8" --14682425390.DB2Bed9c.8005 Date: Mon, 11 Jul 2016 13:08:59 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D96877 --- Comment #4 from Nicolai H=C3=A4hnle --- Another update: there are two separate problems in LLVM which "cooperate" to lead to this bug. http://reviews.llvm.org/D22210 and http://reviews.llvm.org/D22217 fix both problems (and either is sufficient = for this bug here). --=20 You are receiving this mail because: You are the assignee for the bug.= --14682425390.DB2Bed9c.8005 Date: Mon, 11 Jul 2016 13:08:59 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated


You are receiving this mail because:
  • You are the assignee for the bug.
= --14682425390.DB2Bed9c.8005-- --===============1375208988== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1375208988==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96877] Bioshock Infinite: LLVM triggered Diagnostic Handler: Illegal instruction detected: Operand has incorrect register class. Date: Tue, 12 Jul 2016 16:10:59 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1013947119==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 23C476E258 for ; Tue, 12 Jul 2016 16:10:59 +0000 (UTC) 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 --===============1013947119== Content-Type: multipart/alternative; boundary="14683398590.ebb26.25001"; charset="UTF-8" --14683398590.ebb26.25001 Date: Tue, 12 Jul 2016 16:10:59 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D96877 Christoph Haag changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #5 from Christoph Haag --- Both of these are in in llvm svn now. Enabling and disabling anti aliasing works without this error. Thanks for the fix. --=20 You are receiving this mail because: You are the assignee for the bug.= --14683398590.ebb26.25001 Date: Tue, 12 Jul 2016 16:10:59 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
<= span class=3D"fn">Christoph Haag changed bug 96877<= /a>
What Removed Added
Resolution --- FIXED
Status NEW RESOLVED

Comment= # 5 on bug 96877<= /a> from Christoph Haag
Both of these are in in llvm svn now.

Enabling and disabling anti aliasing works without this error.
Thanks for the fix.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14683398590.ebb26.25001-- --===============1013947119== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1013947119==--