-
- Downloads
sse.md (copysign<mode>3): New expander.
* config/i386/sse.md (copysign<mode>3): New expander. * config/i386/i386-protos.h (ix86_build_signbit_mask): New prototype. * config/i386/i386.c (ix86_build_signbit_mask): Make public. Use ix86_build_const_vector. (enum ix86_builtins): Add IX86_BUILTIN_CPYSGNPS and IX86_BUILTIN_CPYSGNPD. (builtin_description): Add __builtin_ia32_copysignps and __builtin_ia32_copysignpd. (ix86_builtin_vectorized_function): Handle BUILT_IN_COPYSIGN and BUILT_IN_COPYSIGNF. testsuite/ChangeLog: * gcc.target/i386/sse-copysignf-vec.c: New test. * gcc.target/i386/sse2-copysign-vec.c: Ditto. From-SVN: r149639
Showing
- gcc/ChangeLog 20 additions, 7 deletionsgcc/ChangeLog
- gcc/config/i386/i386-protos.h 1 addition, 0 deletionsgcc/config/i386/i386-protos.h
- gcc/config/i386/i386.c 23 additions, 9 deletionsgcc/config/i386/i386.c
- gcc/config/i386/sse.md 20 additions, 0 deletionsgcc/config/i386/sse.md
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.target/i386/sse-copysignf-vec.c 27 additions, 0 deletionsgcc/testsuite/gcc.target/i386/sse-copysignf-vec.c
- gcc/testsuite/gcc.target/i386/sse2-copysign-vec.c 27 additions, 0 deletionsgcc/testsuite/gcc.target/i386/sse2-copysign-vec.c
Loading
Please register or sign in to comment