This is the mail archive of the gcc-patches@gcc.gnu.org mailing 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]

[PATCH, i386]: Rewrite FLT_EVAL_METHOD to account for TARGET_SSE2


On Tue, Jan 12, 2016 at 7:18 PM, Joseph Myers <joseph@codesourcery.com> wrote:
> On Tue, 12 Jan 2016, Uros Bizjak wrote:
>
>> I think that following definition describes -msse -mfpmath=sse
>> situation in the most elegant way. We can just declare that the
>> precision is not known in this case:

Attached patch rewrites FLT_EVAL_METHOD to account for TARGET_SSE2.

2016-01-13  Uros Bizjak  <ubizjak@gmail.com>

    * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Return -1 for
    TARGET_SSE_MATH without TARGET_SSE2.  Rewrite.

Bootstrapped and regression tested on x86_64-linux-gnu {,-m32},
committed to mainline SVN.

Uros.

Attachment: p.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]