Steven Bosscher - Re: [dataflow] [RFC] Remove many almost useless DCE passes (original) (raw)
This is the mail archive of the gcc-patches@gcc.gnu.orgmailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
- From: "Steven Bosscher"
- To: "Vladimir Makarov"
- Cc: "Paolo Bonzini" , "GCC Patches" , "Kenneth Zadeck"
- Date: Tue, 27 Feb 2007 17:08:50 +0100
- Subject: Re: [dataflow] [RFC] Remove many almost useless DCE passes
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CD+ZDHmNjb0QvWBMo+1D52c5yfrs0BqHQL4jOe7KrXyGtZfmeqK59dNmN9JinuxezUi7HCbkxWh0YyCBPfmtFcip6kYi22WWhd3G3iBZgWQGix1He7PGITDSKXk/bUYYRHu5sLs/v6poo7v8sTTgaHa1grutJ+yMqGiFvEmOv20=
- References: <45E3D856.1030007@lu.unisi.ch> <571f6b510702262323l65ad866drb110392ca39c1643@mail.gmail.com> <45E3DD5B.4040206@lu.unisi.ch> <45E44626.2000402@redhat.com> <45E446CC.4030106@lu.unisi.ch> <45E44B63.8080609@redhat.com> <571f6b510702270742q318254beha843442d15d37c1@mail.gmail.com> <45E45391.4080705@redhat.com> <45E453C5.2000902@lu.unisi.ch> <45E455AD.5090109@redhat.com>
On 2/27/07, Vladimir Makarov vmakarov@redhat.com wrote:
Good because SPECFP2000 for ppc64 is 0.5% better (SPECInt2000 is the same) on the branch than on the mainline at the last merge point. And this patch could remove this achievement.
Or it might not make a difference at all.
Which is actually more likely IMHO, but I'll let the numbers speak for me, instead of doing some hand waiving and speculating.
You seem to believe that mainline as-is with all its delete_trivially_dead_insns calls makes sense.
It really doesn't.
Bonzini and I have gathered the numbers to show this. It makes almost no sense on the trunk and no sense at all on the dataflow branch.
On the trunk, removing trivially dead code often is helpful because delete_trivially_dead_insns does not clean up dead code very well.
On the dataflow branch, only the delete_trivially_dead_insns calls after jump, fwprop1, gcse1, and cse2 remove dead code. All other d_t_d_i calls do nothing but waste time.
The reason for this, is that the DCE pass on the dataflow branch is much brighter than delete_trivially_dead_insns (and often smarter than what is in flow.c on the trunk, although it apparently still needs improvements in some areas, too).
Gr. Steven
- References:
- [dataflow] [RFC] Remove many almost useless DCE passes
* From: Paolo Bonzini - Re: [dataflow] [RFC] Remove many almost useless DCE passes
* From: Steven Bosscher - Re: [dataflow] [RFC] Remove many almost useless DCE passes
* From: Paolo Bonzini - Re: [dataflow] [RFC] Remove many almost useless DCE passes
* From: Vladimir Makarov - Re: [dataflow] [RFC] Remove many almost useless DCE passes
* From: Paolo Bonzini - Re: [dataflow] [RFC] Remove many almost useless DCE passes
* From: Vladimir Makarov - Re: [dataflow] [RFC] Remove many almost useless DCE passes
* From: Steven Bosscher - Re: [dataflow] [RFC] Remove many almost useless DCE passes
* From: Vladimir Makarov - Re: [dataflow] [RFC] Remove many almost useless DCE passes
* From: Paolo Bonzini - Re: [dataflow] [RFC] Remove many almost useless DCE passes
* From: Vladimir Makarov
- [dataflow] [RFC] Remove many almost useless DCE passes
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |