This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: question about -ffast-math implementation
- From: Mike Izbicki <mike dot izbicki at gmail dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: Janne Blomqvist <blomqvist dot janne at gmail dot com>, gcc mailing list <gcc at gcc dot gnu dot org>
- Date: Mon, 2 Jun 2014 15:19:37 -0700
- Subject: Re: question about -ffast-math implementation
- Authentication-results: sourceware.org; auth=none
- References: <CAKKZoUUtBdU_ZR61hsztymquqDrRkqEUoxeiEE0kzmrpUq+Emg at mail dot gmail dot com> <CAO9iq9ENWmnEwf1HbcK4c3y8VYZP7w0W_0vL5ypDECTP5e4a=g at mail dot gmail dot com> <CAKKZoUWjTR5AQ+t7OyY7DQTjH8uxtxO4rPMhAVwuBY97Vca=qg at mail dot gmail dot com> <CAKOQZ8zfix9ngy1be47vGwtms4RyCP+A4QBQnMM_J=37+XqXSw at mail dot gmail dot com>
- Reply-to: mike dot izbicki at gmail dot com
Right, but I've never taken a look at the gcc codebase. Where would I
start looking for the relevant files? Is there a general introduction
to the codebase anywhere that I should start with?
On Mon, Jun 2, 2014 at 11:20 AM, Ian Lance Taylor <iant@google.com> wrote:
> On Mon, Jun 2, 2014 at 12:18 AM, Mike Izbicki <mike.izbicki@gmail.com> wrote:
>>> Though for the gory details and authoritative answers I suppose you'd
>> have to look into the source code.
>>
>> Where would I find the code for this?
>
> This is the GCC source code. There isn't one file that implements
> -ffast-math. -ffast-math expands to a set of other options, and then
> various bits and pieces of code tests whether those options are
> enabled.
>
> Ian