From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10516 Path: news.gmane.org!.POSTED!not-for-mail From: Brad Conroy Newsgroups: gmane.linux.lib.musl.general Subject: Clang-3.9 regression Date: Mon, 26 Sep 2016 07:12:00 +0000 (UTC) Message-ID: <888923693.4612496.1474873920782@mail.yahoo.com> References: <888923693.4612496.1474873920782.ref@mail.yahoo.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4612495_1765940082.1474873920780" X-Trace: blaine.gmane.org 1474873953 14406 195.159.176.226 (26 Sep 2016 07:12:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 26 Sep 2016 07:12:33 +0000 (UTC) To: Musl Original-X-From: musl-return-10529-gllmg-musl=m.gmane.org@lists.openwall.com Mon Sep 26 09:12:29 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1boQ5M-0001zE-HU for gllmg-musl@m.gmane.org; Mon, 26 Sep 2016 09:12:20 +0200 Original-Received: (qmail 17578 invoked by uid 550); 26 Sep 2016 07:12:18 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 17537 invoked from network); 26 Sep 2016 07:12:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1474873923; bh=//gzBYf6ETGkAFsGPAo0FaKtChZU/uTUc3XSopl4eB8=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=AkcU561DXWyYLRzd8/JHRdijqXyV6KSqKjXhJNoj7/jfFg2KDnbQLmWBnJQ073mMr8gB4X7eNMxT8IP2VO40L6CIXcYwcHvu0dPZvvxiOX03EX2le/8pnoE3WP1CoHYWSDDk7BcpS9C8T4/8GVJM7CGppFCsPLfb4XX3gu/WDz843xMZ4Akh65KIXUlA4CgplWCp9jujwdZ1ommzEXPRV6QeWC/8b9nVwjldYmKgYZtGw4GUEEChdLO4KP5eZ99BivsWF7nov72+zj0b7eQWaXdw6rsjYgi/nYAxteeTaVcXaFbMIDLybycF/9QkRj7soSYXrlFHajH4ABUB8tPnWw== X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 936163.40583.bm@omp1055.mail.bf1.yahoo.com X-YMail-OSG: RtluIUAVM1kfcXtAxKCD8biBeCSaEydiTU2C7qaijj2UT2S3fp7WEwv0Fsdv8bd ANbsIqLtvAXyXj39J22pqyZJvae1nzxrmYfM_lomU91hNtbU9sVKBLe1abWq2uPorjGLR3s8NV26 8mFYf2xyAfLbKsUyj6h.AUIhIuqtT6AHeDNSItsnbUgLW8xj3343_qmMu7H5kY6C_6lzgrOGqzUQ fqC8DBduS.rUF7ClSqTrzKpWaPSFj8TiE8EQaih1uJIIDwGNc3N5V.Ao4F9o4SO5Ot9ya.pJlTNg LrBAKhC3QdTI.rQUPHSn.OZiJ7838WbKszcv7cW967pQn_VYrucVcsdtqRcU4l6p8sg_UEQekeN6 Jz1wJV.twZ0NTBXMGHlns2ptpwYJ.cT6yQZk0_wRlBkJRfT.at_UuIeBJiSbmKoYeVOSR5DsIhpk k6bZ_rZGbLWvSYy1AJkAq6oLc8jeDUa16e5NdHm7HftpWs2NewV3ychJT7MeKUmtWGztv_9V11.8 KqKTkQHjxBKaWQOrHbKZdqH5r7vedgsC4zj2cSFh3l5UJAZzlE_oz2plO Xref: news.gmane.org gmane.linux.lib.musl.general:10516 Archived-At: ------=_Part_4612495_1765940082.1474873920780 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit It seems the latest versions of Clang default to unrolling loops.Even when -Os or -Oz is enabled (musl's default configuration)This significantly increases code size on many functions.I didn't do any bench-marking to determine how it affects speed.It can be prevented by adding: -fno-unroll-loops -R,Brad Conroy ------=_Part_4612495_1765940082.1474873920780 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
It seems the latest versions of Clang default to unrolling loops.
Even when -Os or -Oz is enabled (musl's default configuration)
This significantly increases code size on many functions.
I didn't do any bench-marking to determine how it affects speed.
It can be prevented by adding: -fno-unroll-loops

-R,
Brad Conroy
------=_Part_4612495_1765940082.1474873920780--