From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 82572 invoked by alias); 21 Feb 2017 14:45:18 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 82461 invoked by uid 89); 21 Feb 2017 14:45:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*M:namprd02, 5x, Hauthentication-results:gmail.com, mingw64*gcc5402 X-HELO: SNT004-OMC2S30.hotmail.com Received: from snt004-omc2s30.hotmail.com (HELO SNT004-OMC2S30.hotmail.com) (65.55.90.105) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 21 Feb 2017 14:45:03 +0000 Received: from NAM04-SN1-obe.outbound.protection.outlook.com ([65.55.90.73]) by SNT004-OMC2S30.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Tue, 21 Feb 2017 06:45:02 -0800 Received: from CO1NAM04FT044.eop-NAM04.prod.protection.outlook.com (10.152.90.55) by CO1NAM04HT067.eop-NAM04.prod.protection.outlook.com (10.152.91.126) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.919.10; Tue, 21 Feb 2017 14:45:01 +0000 Received: from DM2PR0201MB0799.namprd02.prod.outlook.com (10.152.90.58) by CO1NAM04FT044.mail.protection.outlook.com (10.152.91.95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.919.10 via Frontend Transport; Tue, 21 Feb 2017 14:45:00 +0000 Received: from DM2PR0201MB0799.namprd02.prod.outlook.com ([10.160.95.145]) by DM2PR0201MB0799.namprd02.prod.outlook.com ([10.160.95.145]) with mapi id 15.01.0919.018; Tue, 21 Feb 2017 14:45:01 +0000 From: Tony Kelman To: JonY <10walls@gmail.com>, "cygwin@cygwin.com" Subject: Re: [ANNOUNCEMENT] Updated: mingw64-*-gcc-5.4.0-2 (x86/x86_64) Date: Tue, 21 Feb 2017 14:45:00 -0000 Message-ID: References: <57B4EF9D.9030903@users.sourceforge.net> <57B57F47.3030100@gmail.com> <57B5C44B.4000108@gmail.com> <57B7A5BD.6000600@gmail.com> ,<39ba2d3e-b16e-8d69-d2f0-e6a6e65472ca@gmail.com> In-Reply-To: <39ba2d3e-b16e-8d69-d2f0-e6a6e65472ca@gmail.com> authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=kelman.net; x-incomingtopheadermarker: OriginalChecksum:05AB02B20FECBBFB99CEA71410C295074F8F4298B722BB17C6AE5DEFD4112B82;UpperCasedChecksum:FB54623B1FD3ABC969802659888807F987F66E5B87B04BD6985223F33EC94975;SizeAsReceived:8660;Count:39 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [PQZ0Dhn8VQvydTv0kKtTNTOaIugRqrbK] x-incomingheadercount: 39 x-eopattributedmessage: 0 x-microsoft-exchange-diagnostics: 1;CO1NAM04HT067;7:w9Q4b2LiUQTFgpwsUElWnOuHwRtTqdGK5mvwR4yEmF0CQYtyPm5g4G+3tGOQoYJ41lR2OnlZ0PiRhr0BxsutKXjm2kVqQWLPWMX7tGUwZanRh/b7MjRFxBf2mWNFpubZ9XxBVLJCv67tzbdRuQ+YegaNY3UucZ0CY9+TsiRq6YN8nSgbyQlz/RW9kov1SdUgSMh7zazxiSgJ0v9MxHIOMP3T7ff1CeQQLunXQ+fTDNGxk7uCLvKbEiNNQR2/Had6BQKO907vDJnAoNWLtsWFhVEr7nNCVex3JDg5nh09uCBmDi3vOlDTNn5q6flHn4cgQLijSweqbtdaJffx1eTRcw== x-forefront-antispam-report: EFV:NLI;SFV:NSPM;SFS:(10019020)(98900012);DIR:OUT;SFP:1102;SCL:1;SRVR:CO1NAM04HT067;H:DM2PR0201MB0799.namprd02.prod.outlook.com;FPR:;SPF:None;LANG:en; x-ms-office365-filtering-correlation-id: 39d7af4a-a909-4006-2931-08d45a683711 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201702061074)(5061506556)(5061507331)(1603103135)(1601125237)(1603101373)(1701031045);SRVR:CO1NAM04HT067; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(432015087)(444000031);SRVR:CO1NAM04HT067;BCL:0;PCL:0;RULEID:;SRVR:CO1NAM04HT067; x-forefront-prvs: 0225B0D5BC spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Feb 2017 14:45:01.2031 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1NAM04HT067 X-IsSubscribed: yes X-SW-Source: 2017-02/txt/msg00262.txt.bz2 > Do you have a small test case for this instead of running the entire > test suite? I'm not sure how much time the full test suite takes. Don't have a small test case, but I do have a big one. I've been verifying that the patch helps in cross-compiles from opensuse where it's a lot faster to build a patched gcc (and the test case) than in cygwin. Large test case (takes about 15 minutes on my year-old laptop): curl -L http://llvm.org/releases/3.7.1/llvm-3.7.1.src.tar.xz | tar -xJf - mkdir -p llvmbuild/bin cd llvmbuild echo 'set(CMAKE_C_COMPILER gcc)' > NATIVE.cmake echo 'set(CMAKE_CXX_COMPILER g++)' >> NATIVE.cmake cp /usr/i686-w64-mingw32/sys-root/mingw/bin/*.dll bin cmake ../llvm-3.7.1.src -DCMAKE_SYSTEM_NAME=3DWindows \ -DCMAKE_BUILD_TYPE=3DRelease -DLLVM_TARGETS_TO_BUILD=3Dhost \ -DCMAKE_C_COMPILER=3Di686-w64-mingw32-gcc \ -DCMAKE_CXX_COMPILER=3Di686-w64-mingw32-g++ \ -DCROSS_TOOLCHAIN_FLAGS_NATIVE=3D-DCMAKE_TOOLCHAIN_FILE=3D$PWD/NATIVE.cma= ke make -j`nproc` opt bin/opt.exe -slp-vectorizer \ -S ../llvm-3.7.1.src/test/Transforms/SLPVectorizer/X86/vector.ll That'll give the following sane LLVM IR output on gcc 4.9, or crash on unpatched 5+. ; ModuleID =3D '../llvm-3.7.1.src/test/Transforms/SLPVectorizer/X86/vector.= ll' target datalayout =3D "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:6= 4:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:12= 8-n8:16:32:64-S128" target triple =3D "x86_64-apple-macosx10.8.0" define void @test(<4 x i32> %in, <4 x i32> %in2) { %k =3D icmp eq <4 x i32> %in, %in2 ret void } > I'll to include the update in the next 5.x release. Thanks! We're mainly trying to double-check that the patch doesn't introduce any regressions, cause more problems than it solves. -Tony -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple