This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: New options to disable/enable any pass for any functions (issue4550056)
- From: Andi Kleen <andi at firstfloor dot org>
- To: davidxl at google dot com (David Li)
- Cc: reply at codereview dot appspotmail dot com, gcc-patches at gcc dot gnu dot org
- Date: Thu, 19 May 2011 11:04:35 -0700
- Subject: Re: New options to disable/enable any pass for any functions (issue4550056)
- References: <20110518183708.D5E5A207D9@syzygy.mtv.corp.google.com>
davidxl@google.com (David Li) writes:
> -fdisable-tree-ccp1 <--- disable ccp1 for all functions
> -fenable-tree-cunroll=1 <--- enable complete unroll for the function
> whose cgraphnode uid is 1
> -fdisable-rtl-gcse2=1:100,300,400:1000 <-- disable gcse2 for
> functions at the following
> ranges [1,1], [300,400],
> and [400,1000]
How are the ranges defined? I doubt numbers are a good interface here
to specify functions.
This would be better done with #pragmas?
-Andi
--
ak@linux.intel.com -- Speaking for myself only