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: Fri, 23 Oct 2015 10:37:53 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1376368607==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A30504A03F for ; Fri, 23 Oct 2015 03:37:53 -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 --===============1376368607== Content-Type: multipart/alternative; boundary="1445596673.ea40C1.26038"; charset="UTF-8" --1445596673.ea40C1.26038 Date: Fri, 23 Oct 2015 10:37:53 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92214 --- Comment #37 from Jose Fonseca --- (In reply to Roland Scheidegger from comment #36) > I don't think llvm's behavior makes sense. We got the cpu name from llvm, > that we have to manually list cpu features which it CAN'T use when just > using that name then is imho crazy. I've updated the llvm bug accordingly. The fact is that the cpu name is ambigous, so whether LLVM takes the "usually" support features, vs the "minimally" supported features is really a matter of convention. We should set negative flags where appropriate. My concern is whether passing "-sse4_1" to a non-Intel CPU will cause problems. A quick check with altivec shows that's the case: '-altivec' is not a recognized feature for this target (ignoring feature) I'll attach a patch that should fix this. -- You are receiving this mail because: You are the assignee for the bug. --1445596673.ea40C1.26038 Date: Fri, 23 Oct 2015 10:37:53 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 37 on bug 92214 from
(In reply to Roland Scheidegger from comment #36)
> I don't think llvm's behavior makes sense. We got the cpu name from llvm,
> that we have to manually list cpu features which it CAN'T use when just
> using that name then is imho crazy. I've updated the llvm bug accordingly.

The fact is that the cpu name is ambigous, so whether LLVM takes the "usually"
support features, vs the "minimally" supported features is really a matter of
convention.


We should set negative flags where appropriate.

My concern is whether passing "-sse4_1" to a non-Intel CPU will cause problems.


A quick check with altivec shows that's the case:

  '-altivec' is not a recognized feature for this target (ignoring feature)


I'll attach a patch that should fix this.


You are receiving this mail because:
  • You are the assignee for the bug.
--1445596673.ea40C1.26038-- --===============1376368607== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1376368607==--