i386-builtin-types.def (INT_FTYPE_FLOAT128): New function type.
authorUros Bizjak <uros@gcc.gnu.org>
Mon, 13 Jun 2016 21:34:07 +0000 (23:34 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 13 Jun 2016 21:34:07 +0000 (23:34 +0200)
commit385c7747b78f0e178666fb7f376d21389a3f0bb8
treec7b6909eb3ebaf242aa655314fa820d26e2c5b3a
parent85ecd05c26d107921b166374dd77c40a393312c8
i386-builtin-types.def (INT_FTYPE_FLOAT128): New function type.

* config/i386/i386-builtin-types.def (INT_FTYPE_FLOAT128):
New function type.
* config/i386/i386.c (enum ix86_builtins) [IX86_BUILTIN_SIGNBITQ]: New.
(ix86_init_builtins): Add __builtin_signbitq function.
(ix86_expand_args_builtin): Handle INT_FTYPE_FLOAT128.
(ix86_expand_builtin): Handle IX86_BUILTIN_SIGNBITQ.
* config/i386/i386.md (signbittf2): New expander.
* config/i386/sse.md (ptesttf2): New insn pattern.
* doc/extend.texi (x86 Built-in Functions): Document
__builtin_signbitq.

libgcc/ChangeLog:

* config.host (i[34567]86-*-* | x86_64-*-*): Always include
i386/${host_address}/t-softfp in tmake_file.
* config/i386/32/t-softfp: Update comment for __builtin_copysignq.
* config/i386/32/tf-signs.c: Add __signbittf2 fallback function.
* config/i386/64/t-softfp: New file.
* config/i386/64/tf-signs.c: Ditto.
* config/i386/libgcc-bsd.ver: Add __signbittf2.
* config/i386/libgcc-glibc.ver: Ditto.
* config/i386/libgcc-sol2.ver: Ditto.

testsuite/ChangeLog:

* gcc.target/i386/float128-3.c: New test.
* gcc.target/i386/quad-sse4.c: Ditto.
* gcc.target/i386/quad-sse.c: Use -msse instead of -msse2.
Update scan strings.

From-SVN: r237415
19 files changed:
gcc/ChangeLog
gcc/config/i386/i386-builtin-types.def
gcc/config/i386/i386.c
gcc/config/i386/i386.md
gcc/config/i386/sse.md
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/float128-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/quad-sse.c
gcc/testsuite/gcc.target/i386/quad-sse4.c [new file with mode: 0644]
libgcc/ChangeLog
libgcc/config.host
libgcc/config/i386/32/t-softfp
libgcc/config/i386/32/tf-signs.c
libgcc/config/i386/64/t-softfp [new file with mode: 0644]
libgcc/config/i386/64/tf-signs.c [new file with mode: 0644]
libgcc/config/i386/libgcc-bsd.ver
libgcc/config/i386/libgcc-glibc.ver
libgcc/config/i386/libgcc-sol2.ver