From: bugzilla-daemon@freedesktop.org
Subject: [Bug 92214] Flightgear crashes during splashboot with R600 driver,
LLVM 3.7.0 and mesa 11.0.2
Date: Wed, 14 Oct 2015 06:36:08 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1012517677=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id D44F56E6B1
for ; Tue, 13 Oct 2015 23:36:08 -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
--===============1012517677==
Content-Type: multipart/alternative; boundary="1444804568.b11f60.7744"; charset="UTF-8"
--1444804568.b11f60.7744
Date: Wed, 14 Oct 2015 06:36:08 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=92214
--- Comment #30 from Barto ---
I found the cause of this bug,
it's llvm 3.7.0, the llvm git commit who has introduced this bug is :
cd83d5b5071f072882ad06cc4b904b2d27d1e54a
https://github.com/llvm-mirror/llvm/commit/cd83d5b5071f072882ad06cc4b904b2d27d1e54a
the problem is that llvm 3.7.0 treats my pentium dual core as a "penryn",
penryn supports SSE4, but not the pentium dual core series ( CPU family 6 model
23 ),
the faulty commit has deleted a test about SSE4 :
return HasSSE41 ? "penryn" : "core2";
the solution is simply to add this test for CPU family 6 model 23, I created a
patch who solves this bug :
--- a/lib/Support/Host.cpp 2015-10-14 07:13:52.381374679 +0200
+++ b/lib/Support/Host.cpp 2015-10-14 07:13:28.224708323 +0200
@@ -332,6 +332,8 @@
// 17h. All processors are manufactured using the 45 nm
process.
//
// 45nm: Penryn , Wolfdale, Yorkfield (XE)
+ // Not all Penryn processors support SSE 4.1 (such as the Pentium
brand)
+ return HasSSE41 ? "penryn" : "core2";
case 29: // Intel Xeon processor MP. All processors are manufactured
using
// the 45 nm process.
return "penryn";
this patch has been sent to llvm's bugzilla, I hope they will accept it
--
You are receiving this mail because:
You are the assignee for the bug.
--1444804568.b11f60.7744
Date: Wed, 14 Oct 2015 06:36:08 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 30
on bug 92214
from Barto
I found the cause of this bug,
it's llvm 3.7.0, the llvm git commit who has introduced this bug is :
cd83d5b5071f072882ad06cc4b904b2d27d1e54a
https://github.com/llvm-mirror/llvm/commit/cd83d5b5071f072882ad06cc4b904b2d27d1e54a
the problem is that llvm 3.7.0 treats my pentium dual core as a "penryn",
penryn supports SSE4, but not the pentium dual core series ( CPU family 6 model
23 ),
the faulty commit has deleted a test about SSE4 :
return HasSSE41 ? "penryn" : "core2";
the solution is simply to add this test for CPU family 6 model 23, I created a
patch who solves this bug :
--- a/lib/Support/Host.cpp 2015-10-14 07:13:52.381374679 +0200
+++ b/lib/Support/Host.cpp 2015-10-14 07:13:28.224708323 +0200
@@ -332,6 +332,8 @@
// 17h. All processors are manufactured using the 45 nm
process.
//
// 45nm: Penryn , Wolfdale, Yorkfield (XE)
+ // Not all Penryn processors support SSE 4.1 (such as the Pentium
brand)
+ return HasSSE41 ? "penryn" : "core2";
case 29: // Intel Xeon processor MP. All processors are manufactured
using
// the 45 nm process.
return "penryn";
this patch has been sent to llvm's bugzilla, I hope they will accept it
You are receiving this mail because:
- You are the assignee for the bug.
--1444804568.b11f60.7744--
--===============1012517677==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0
cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK
--===============1012517677==--