i386-protos.h (ix86_expand_xorsign): New prototype.
authorUros Bizjak <ubizjak@gmail.com>
Wed, 9 Jan 2019 19:16:02 +0000 (20:16 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 9 Jan 2019 19:16:02 +0000 (20:16 +0100)
commit33142cf9cf82aa1f1be6b8c77f903818c101b9dd
tree10fd20099e2a8a5a9291613f0afc9c891a75c841
parentf3ed896c5535cdcab09698b7b7f37c84825d9d7d
i386-protos.h (ix86_expand_xorsign): New prototype.

* config/i386/i386-protos.h (ix86_expand_xorsign): New prototype.
(ix86_split_xorsign): Ditto.
* config/i386/i386.c (ix86_expand_xorsign): New function.
(ix86_split_xorsign): Ditto.
* config/i386/i386.md (UNSPEC_XORSIGN): New unspec.
(xorsign<mode>3): New expander.
(xorsign<mode>3_1): New insn_and_split pattern.
* config/i386/sse.md (xorsign<mode>3): New expander.

testsuite/ChangeLog:

* lib/target-supports.exp
(check_effective_target_xorsign): Add i?86-*-* and x86_64-*-* targets.
* gcc.target/i386/xorsign.c: New test.

From-SVN: r267779
gcc/ChangeLog
gcc/config/i386/i386-protos.h
gcc/config/i386/i386.c
gcc/config/i386/i386.md
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/xorsign.c [new file with mode: 0644]
gcc/testsuite/lib/target-supports.exp