From owner-freebsd-ports-bugs@freebsd.org Fri May 26 01:34:31 2017 Return-Path: Delivered-To: freebsd-ports-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 3E17BD8222D for ; Fri, 26 May 2017 01:34:31 +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 2DE9F1082 for ; Fri, 26 May 2017 01:34:31 +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 v4Q1YUh4076241 for ; Fri, 26 May 2017 01:34:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 219561] [lang/clover] partially broken Date: Fri, 26 May 2017 01:34:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jmd@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2017 01:34:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219561 Bug ID: 219561 Summary: [lang/clover] partially broken Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: jmd@freebsd.org Flags: maintainer-feedback?(x11@FreeBSD.org) Assignee: x11@FreeBSD.org On FreeBSDDesktop version of HEAD, lang/clover does not do double precision= for at least Carrizo properly: LLVM ERROR: Cannot select: t708: f64 =3D fpow t680, t771 t680: f64 =3D bitcast t119 t119: i64 =3D build_pair t880, t881 t880: i32 =3D extract_vector_elt t842, Constant:i32<0> t842: v4i32,ch =3D load t112, undef:i64 t62: i64 =3D add t38, Constant:i64<64> t38: i64 =3D add t773, t37 t773: i64 =3D bitcast t772 t772: v2i32,ch =3D load t0, t2, undef:i64 t2: i64,ch =3D CopyFromReg t0, Register:i64 %vreg2 t4: i64 =3D undef t37: i64 =3D shl t35, Constant:i32<7> t35: i64 =3D add t29, t769 t29: i64 =3D add t929, t28 t769: i64 =3D zero_extend t768 t101: i32 =3D Constant<7> t61: i64 =3D Constant<64> t4: i64 =3D undef t87: i32 =3D Constant<0> t881: i32 =3D extract_vector_elt t842, Constant:i32<1> t842: v4i32,ch =3D load t112, undef:i64 t62: i64 =3D add t38, Constant:i64<64> t38: i64 =3D add t773, t37 t773: i64 =3D bitcast t772 t772: v2i32,ch =3D load t0, t2, undef:i64 t2: i64,ch =3D CopyFromReg t0, Register:i64 %vreg2 t4: i64 =3D undef t37: i64 =3D shl t35, Constant:i32<7> t35: i64 =3D add t29, t769 t29: i64 =3D add t929, t28 t769: i64 =3D zero_extend t768 t101: i32 =3D Constant<7> t61: i64 =3D Constant<64> t4: i64 =3D undef t89: i32 =3D Constant<1> t771: f64 =3D bitcast t770 t770: v2i32,ch =3D load t0, t8, undef:i64 t8: i64 =3D add t2, Constant:i64<8> t2: i64,ch =3D CopyFromReg t0, Register:i64 %vreg2 t1: i64 =3D Register %vreg2 t7: i64 =3D Constant<8> t4: i64 =3D undef This comes from a trivial OpenCL kernel: __kernel void powGrid(__global KEDFOCLV *data, const double exponent){=20= =20=20=20=20=20=20=20=20=20 const size_t idx =3D get_global_id(0); data[idx] =3D pow(data[idx], exponent); } where KEDFOCLV is defined as double16. Current benchmarks/clpeak hangs (reproduced by others on Polaris cards additionally to my Carrizo). The latest github version of clpeak (see D1091= 7) crashes with an assertion in LLVM 4.0 on, at least, Carrizo and Polaris. $ clpeak Platform: Clover Device: AMD CARRIZO (DRM 3.8.0 / 12.0-CURRENT, LLVM 4.0.1) Driver version : 17.1.0 (FreeBSD) Compute units : 8 Clock frequency : 800 MHz Assertion failed: (DelayedTypos.empty() && "Uncorrected typos!"), function ~Sema, file /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1rc1.src/tools/clang/lib/Sema= /Sema.cpp, line 317. Abort trap (core dumped) --=20 You are receiving this mail because: You are the assignee for the bug.=