This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/56788] _mm_frcz_sd and _mm_frcz_ss ignore their second argument
- From: "uros at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 28 Nov 2013 18:14:26 +0000
- Subject: [Bug target/56788] _mm_frcz_sd and _mm_frcz_ss ignore their second argument
- Auto-submitted: auto-generated
- References: <bug-56788-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56788
--- Comment #17 from uros at gcc dot gnu.org ---
Author: uros
Date: Thu Nov 28 18:14:23 2013
New Revision: 205497
URL: http://gcc.gnu.org/viewcvs?rev=205497&root=gcc&view=rev
Log:
Backport from mainline
2013-11-23 Uros Bizjak <ubizjak@gmail.com>
PR target/56788
* config/i386/i386.c (bdesc_multi_arg) <IX86_BUILTIN_VFRCZSS>:
Declare as MULTI_ARG_1_SF instruction.
<IX86_BUILTIN_VFRCZSD>: Decleare as MULTI_ARG_1_DF instruction.
* config/i386/sse.md (*xop_vmfrcz<mode>2): Rename
from *xop_vmfrcz_<mode>.
* config/i386/xopintrin.h (_mm_frcz_ss): Use __builtin_ia32_movss
to merge scalar result with __A.
(_mm_frcz_sd): Use __builtin_ia32_movsd to merge scalar
result with __A.
testsuite/ChangeLog:
Backport from mainline
2013-11-27 Uros Bizjak <ubizjak@gmail.com>
Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
PR target/56788
* gcc.target/i386/xop-frczX.c: New test.
Added:
branches/gcc-4_7-branch/gcc/testsuite/gcc.target/i386/xop-frczX.c
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/config/i386/i386.c
branches/gcc-4_7-branch/gcc/config/i386/sse.md
branches/gcc-4_7-branch/gcc/config/i386/xopintrin.h
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog