This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Function specific optimizations call for discussion
- From: "Weddington, Eric" <eweddington at cso dot atmel dot com>
- To: "Michael Meissner" <michael dot meissner at amd dot com>, <gcc at gcc dot gnu dot org>, <christophe dot harle at amd dot com>
- Date: Thu, 29 Nov 2007 13:29:51 -0700
- Subject: RE: Function specific optimizations call for discussion
- References: <20071128205737.GA28277@mmeissner-gold.amd.com>
> -----Original Message-----
> From: Michael Meissner [mailto:michael.meissner@amd.com]
> Sent: Wednesday, November 28, 2007 1:58 PM
> To: gcc@gcc.gnu.org; christophe.harle@amd.com
> Cc: michael.meissner@amd.com
> Subject: Function specific optimizations call for discussion
>
> One of the things that I've been interested in is adding
> support to GCC to
> compile individual functions with specific target options. I
> first presented a
> draft at the Google mini-summit, and then another draft at
> the GCC developer
> summit last July.
<snip>
> I would welcome any thoughts
> or suggestions
> about this proposal.
As I spoke to you about this at the Summit, the users of the AVR port,
and I would also postulate the general embedded community, would
*really* like to have this functionality, especially your Stage 1. There
are many AVR, or embedded, applications where they are generally
optimized for size, but have a time-critical function that needs to be
optimized for speed. I would vote for including both the attribute
syntax and the pragma syntax. I have many users who would be more
comfortable with the pragma syntax, despite any shortcomings.
Eric Weddington