This is the mail archive of the gcc-bugs@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]

[Bug target/59390] presence of __attribute__((target("fma"))) declaration breaks __builtin_fma


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59390

--- Comment #5 from tmsriram at gcc dot gnu.org <tmsriram at gcc dot gnu.org> ---
Author: tmsriram
Date: Wed Dec 11 20:06:46 2013
New Revision: 205904

URL: http://gcc.gnu.org/viewcvs?rev=205904&root=gcc&view=rev
Log:
2013-12-11  Sriraman Tallam  <tmsriram@google.com>

    PR target/59390
    * config/i386/i386.c (get_builtin): New function.
    (ix86_builtin_vectorized_function): Replace all instances of
    ix86_builtins[...] with get_builtin(...).
    (ix86_builtin_reciprocal): Ditto.

    PR target/59390
    * gcc.target/i386/pr59390.c: New test.
    * gcc.target/i386/pr59390_1.c: New test.
    * gcc.target/i386/pr59390_2.c: New test.

Tested boot-strap on all languages and test parity on x86_64 and with -m32.



Added:
    trunk/gcc/testsuite/gcc.target/i386/pr59390.c
    trunk/gcc/testsuite/gcc.target/i386/pr59390_1.c
    trunk/gcc/testsuite/gcc.target/i386/pr59390_2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog


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