Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Aug 2016 14:36:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 211563] CPUTYPE=skylake build broken
Message-ID:  <bug-211563-8-xdPD3EfAIu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-211563-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-211563-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211563

--- Comment #4 from Dimitry Andric <dim@FreeBSD.org> ---
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211563-8-xdPD3EfAIu>