public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/56788] New: _mm_frcz_sd and _mm_frcz_ss ignore their second argument
@ 2013-03-30 20:20 glisse at gcc dot gnu.org
  2013-03-30 20:42 ` [Bug target/56788] " glisse at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: glisse at gcc dot gnu.org @ 2013-03-30 20:20 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56788

             Bug #: 56788
           Summary: _mm_frcz_sd and _mm_frcz_ss ignore their second
                    argument
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: glisse@gcc.gnu.org
            Target: x86_64-linux-gnu


#include <x86intrin.h>
__m128d f(__m128d x, __m128d y){
  return _mm_frcz_sd(x,y);
}

is compiled to:

    vfrczsd    %xmm0, %xmm0
    ret

Notice the lack of any reference to xmm1...

In my opinion, __builtin_ia32_vfrczsd should take a single argument, and the
intrinsic should call first this builtin and then __builtin_ia32_movsd.


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2013-11-28 18:15 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-30 20:20 [Bug target/56788] New: _mm_frcz_sd and _mm_frcz_ss ignore their second argument glisse at gcc dot gnu.org
2013-03-30 20:42 ` [Bug target/56788] " glisse at gcc dot gnu.org
2013-06-27 13:05 ` glisse at gcc dot gnu.org
2013-11-23  9:09 ` ubizjak at gmail dot com
2013-11-23  9:19 ` ubizjak at gmail dot com
2013-11-23  9:22 ` ubizjak at gmail dot com
2013-11-23  9:34 ` glisse at gcc dot gnu.org
2013-11-23  9:45 ` ubizjak at gmail dot com
2013-11-23 11:39 ` ubizjak at gmail dot com
2013-11-23 12:10 ` glisse at gcc dot gnu.org
2013-11-23 13:00 ` glisse at gcc dot gnu.org
2013-11-27 18:07 ` uros at gcc dot gnu.org
2013-11-28 16:48 ` uros at gcc dot gnu.org
2013-11-28 18:14 ` uros at gcc dot gnu.org
2013-11-28 18:15 ` ubizjak at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).