From owner-freebsd-bugs@freebsd.org Sat Aug 13 14:36:16 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69119BB8F55 for ; Sat, 13 Aug 2016 14:36:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3F29213CE for ; Sat, 13 Aug 2016 14:36:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7DEaGLm069228 for ; Sat, 13 Aug 2016 14:36:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 211563] CPUTYPE=skylake build broken Date: Sat, 13 Aug 2016 14:36:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Aug 2016 14:36:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211563 --- Comment #4 from Dimitry Andric --- Hm, so after hand merging llvm r263417 [1], which fixes your original test case, I tried a buildworld with CPUTYPE=3Dskylake, and I got another crash: fatal error: error in backend: Cannot select: t24: i32 =3D X86ISD::CMP t48,= t51 t48: i1 =3D truncate t47 t47: i8 =3D and t32, t35 t32: i8 =3D X86ISD::SETCC Constant:i8<4>, t30 t31: i8 =3D Constant<4> t30: i32 =3D X86ISD::CMP t4, Constant:i8<0> t4: i8 =3D AssertZext t2, ValueType:ch:i1 t2: i8,ch =3D CopyFromReg t0, Register:i8 %vreg375 t1: i8 =3D Register %vreg375 t5: i8 =3D Constant<0> t35: i8 =3D X86ISD::SETCC Constant:i8<4>, t34:1 t31: i8 =3D Constant<4> t34: i32,i32 =3D X86ISD::SUB t9, Constant:i32<101> t9: i32,ch =3D CopyFromReg t0, Register:i32 %vreg378 t8: i32 =3D Register %vreg378 t11: i32 =3D Constant<101> t51: i1 =3D truncate t50 t50: i8 =3D or t32, t38 t32: i8 =3D X86ISD::SETCC Constant:i8<4>, t30 t31: i8 =3D Constant<4> t30: i32 =3D X86ISD::CMP t4, Constant:i8<0> t4: i8 =3D AssertZext t2, ValueType:ch:i1 t2: i8,ch =3D CopyFromReg t0, Register:i8 %vreg375 t1: i8 =3D Register %vreg375 t5: i8 =3D Constant<0> t38: i8 =3D X86ISD::SETCC Constant:i8<9>, t37:1 t25: i8 =3D Constant<9> t37: i32,i32 =3D X86ISD::SUB t9, Constant:i32<112> t9: i32,ch =3D CopyFromReg t0, Register:i32 %vreg378 t8: i32 =3D Register %vreg378 t14: i32 =3D Constant<112> In function: __vfwscanf So all is not well yet for -march=3Dskylake. I will investigate further, b= ut maybe complete Skylake support is something that has to wait for clang 3.9.= 0. [1] http://llvm.org/viewvc/llvm-project?view=3Drevision&revision=3D263417 --=20 You are receiving this mail because: You are the assignee for the bug.=