OSDN Git Service

Backport from mainline
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Nov 2013 18:14:23 +0000 (18:14 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Nov 2013 18:14:23 +0000 (18:14 +0000)
commitbec84915cc4e3f4f2e7ee39a95e9239915f0c1fd
treef1e94b989d62f3a2d612a1a9c2266a37021d2af6
parent14f4040a2c3e979fcf96b3d8b30fadddd8c43536
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@205497 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/sse.md
gcc/config/i386/xopintrin.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/xop-frczX.c [new file with mode: 0644]