From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 34690 invoked by alias); 7 Mar 2018 11:12:54 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 34675 invoked by uid 89); 7 Mar 2018 11:12:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,KAM_NUMSUBJECT,SPF_PASS autolearn=no version=3.3.2 spammy=059, 011, 021, 090 X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 07 Mar 2018 11:12:52 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 1882FAD4C; Wed, 7 Mar 2018 11:12:50 +0000 (UTC) Subject: Re: Size and speed comparison of GCC 7 & 8 From: =?UTF-8?Q?Martin_Li=c5=a1ka?= To: GCC Development Cc: Jan Hubicka , Richard Biener , Michael Matz , Martin Jambor References: <6f547f38-1751-c003-b5ae-52dae776d39a@suse.cz> <5bc3dcb7-ce60-dd33-9514-38a8e8d60740@suse.cz> <297741e3-84ce-74b1-71e1-031e03ee03e1@suse.cz> Message-ID: <4188e826-c1a9-0d24-c9ca-ed6f8146150e@suse.cz> Date: Wed, 07 Mar 2018 11:12:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <297741e3-84ce-74b1-71e1-031e03ee03e1@suse.cz> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2018-03/txt/msg00094.txt.bz2 On 03/07/2018 11:13 AM, Martin Liška wrote: > V2: fixed headers in the last table of the PDF. > > Martin > About the i386.ii -O2 -g, there's perf diff in between GCC 7 (base) and GCC 8: # Baseline Delta Abs Shared Object Symbol # ........ ......... .................... .............................................................................................................................................................................................................................. # +0.65% cc1plus [.] hash_table, ipa_call_summary*, simple_hashmap_traits >, ipa_call_summary*> >::hash_entry, xcallocator>::find_slot_with_hash 0.18% +0.43% cc1plus [.] sreal::operator* +0.41% cc1plus [.] hash_table, ipa_fn_summary*, simple_hashmap_traits >, ipa_fn_summary*> >::hash_entry, xcallocator>::find_slot_with_hash 0.07% +0.35% cc1plus [.] cgraph_node::find_replacement +0.33% cc1plus [.] profile_count::to_sreal_scale +0.33% cc1plus [.] predicate::probability +0.27% cc1plus [.] call_summary::get 0.04% +0.25% cc1plus [.] sreal::operator/ +0.24% cc1plus [.] sreal::normalize 0.70% -0.23% [kernel] [.] 0xffffffff9c80019f +0.23% cc1plus [.] wide_int_to_tree_1 0.09% +0.22% cc1plus [.] sreal::operator+ +0.21% cc1plus [.] analyze_function_body 0.04% +0.19% cc1plus [.] dwarf2out_var_location 0.19% -0.19% cc1plus [.] compute_inlined_call_time +0.19% cc1plus [.] function_summary::get 0.30% -0.18% cc1plus [.] can_inline_edge_p 1.91% -0.16% cc1plus [.] bitmap_set_bit 0.74% -0.15% cc1plus [.] pre_and_rev_post_order_compute_fn 0.80% +0.15% [unknown] [.] 0xffffffff9c80019f +0.14% cc1plus [.] cleanup_control_flow_pre 0.81% -0.14% cc1plus [.] ggc_set_mark 0.13% +0.13% cc1plus [.] variably_modified_type_p 0.81% -0.13% cc1plus [.] et_splay 0.17% -0.13% cc1plus [.] curr_insn_transform +0.12% cc1plus [.] profile_count::from_gcov_type +0.12% cc1plus [.] process_alt_operands +0.12% cc1plus [.] can_inline_edge_by_limits_p 0.60% -0.11% cc1plus [.] estimate_calls_size_and_time 1.36% -0.11% libc-2.26.so [.] _int_malloc 0.27% +0.11% cc1plus [.] constrain_operands +0.11% cc1plus [.] bitmap_alloc 0.60% +0.11% cc1plus [.] hash_table::find_slot_with_hash +0.11% cc1plus [.] predicate::evaluate +0.10% cc1plus [.] vr_values::get_value_range 0.22% -0.10% cc1plus [.] nonzero_bits1 0.24% +0.10% cc1plus [.] big_speedup_p +0.09% cc1plus [.] get_class_binding_direct +0.09% cc1plus [.] maybe_hot_count_p 0.58% -0.09% cc1plus [.] walk_tree_1 0.06% +0.09% cc1plus [.] estimate_size_after_inlining +0.09% cc1plus [.] mark_use +0.09% cc1plus [.] ix86_hard_regno_call_part_clobbered 0.59% -0.09% cc1plus [.] bitmap_bit_p 0.23% -0.09% cc1plus [.] delete_trivially_dead_insns 0.41% -0.09% cc1plus [.] cse_insn 0.47% -0.09% cc1plus [.] (anonymous namespace)::dom_info::calc_idoms +0.08% cc1plus [.] hash_table::find_slot_with_hash +0.08% cc1plus [.] profile_count::to_frequency 0.28% -0.08% libc-2.26.so [.] msort_with_tmp.part.0 0.90% -0.08% libc-2.26.so [.] _int_free +0.08% cc1plus [.] substitute_and_fold_engine::replace_uses_in 0.20% -0.08% cc1plus [.] rtx_equal_for_memref_p +0.08% cc1plus [.] predicate::add_clause 0.18% -0.07% cc1plus [.] update_callee_keys 0.67% -0.07% cc1plus [.] gt_ggc_mx_lang_tree_node Martin