re PR target/59390 (presence of __attribute__((target("fma"))) declaration breaks...
authorSriraman Tallam <tmsriram@google.com>
Wed, 11 Dec 2013 20:06:46 +0000 (20:06 +0000)
committerSriraman Tallam <tmsriram@gcc.gnu.org>
Wed, 11 Dec 2013 20:06:46 +0000 (20:06 +0000)
commit26084432876599a44feed25b1cd80da581b8e658
tree877aea4df9313c01b8fd3f23076ed080798864a9
parent711df88d24be13cfb2be62905db08994ffbe9a2d
re PR target/59390 (presence of  __attribute__((target("fma"))) declaration breaks __builtin_fma)

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.

From-SVN: r205904
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr59390.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr59390_1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr59390_2.c [new file with mode: 0644]