From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 125946 invoked by alias); 21 Jun 2017 07:40:33 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 125930 invoked by uid 89); 21 Jun 2017 07:40:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=quality X-HELO: mx1.suse.de Received: from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 21 Jun 2017 07:40:31 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 25B04AC15; Wed, 21 Jun 2017 07:40:29 +0000 (UTC) From: Andreas Schwab To: Jan Hubicka Cc: gcc-patches@gcc.gnu.org Subject: Re: Add quality tracking for profile counter References: <20170619094949.GA49407@kam.mff.cuni.cz> X-Yow: What UNIVERSE is this, please?? Date: Wed, 21 Jun 2017 07:40:00 -0000 In-Reply-To: <20170619094949.GA49407@kam.mff.cuni.cz> (Jan Hubicka's message of "Mon, 19 Jun 2017 11:49:49 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2017-06/txt/msg01538.txt.bz2 On Jun 19 2017, Jan Hubicka wrote: > this patch makes us to track quality of the profile. This is useful > to disable some agressive optimizations when counts are known to be > unreliable. This breaks bootstrap on ia64 with a comparison failure in value-prof.o. The only difference is in gimple_value_profile_transformations: @@ -8962,14 +8962,14 @@ Disassembly of section .text: ad06: 10 00 a0 01 42 80 mov r1=r104 ad0c: 0d e0 02 84 mov r108=r92;; ad10: 09 00 cc 1c 90 11 [MMI] st4 [r14]=r51 - ad16: e0 00 20 30 20 60 ld8 r14=[r8] + ad16: 00 00 00 02 00 60 nop.m 0x0 ad1c: 0d 08 01 84 mov r107=r33;; - ad20: 0b 70 d8 1c 0c 20 [MMI] and r14=r54,r14;; - ad26: e0 38 39 1c 40 00 or r14=r39,r14 + ad20: 0b 70 00 10 18 10 [MMI] ld8 r14=[r8];; + ad26: e0 b0 39 18 40 00 and r14=r54,r14 ad2c: 00 00 04 00 nop.i 0x0;; - ad30: 01 00 00 00 01 00 [MII] nop.m 0x0 - ad36: e0 90 39 22 20 00 dep r14=r50,r14,62,2 - ad3c: 00 00 04 00 nop.i 0x0;; + ad30: 0b 70 9c 1c 0e 20 [MMI] or r14=r39,r14;; + ad36: 00 00 00 02 00 c0 nop.m 0x0 + ad3c: 21 73 44 40 dep r14=r50,r14,62,2;; ad40: 09 00 38 10 98 11 [MMI] st8 [r8]=r14 ad46: 00 98 41 20 23 00 st4 [r16]=r51 ad4c: 00 00 04 00 nop.i 0x0;; Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."