public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/59511] New: [4.9 Regression] FAIL: gcc.target/i386/pr36222-1.c scan-assembler-not movdqa with -mtune=corei7
@ 2013-12-15 12:11 ubizjak at gmail dot com
  2013-12-15 12:12 ` [Bug rtl-optimization/59511] " ubizjak at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: ubizjak at gmail dot com @ 2013-12-15 12:11 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59511
           Summary: [4.9 Regression] FAIL: gcc.target/i386/pr36222-1.c
                    scan-assembler-not movdqa with -mtune=corei7
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ubizjak at gmail dot com

Hello!

The gcc.target/i386/pr36222-1.c compiles for x86_64-linux-gnu with "-O2
-mno-sse3 -mtune=corei7" to:

_mm_set_epi32:
        movd    %ecx, %xmm1
        movd    %edx, %xmm4
        movd    %esi, %xmm0
        movd    %edi, %xmm3
        punpckldq       %xmm4, %xmm1
        movdqa  %xmm1, %xmm2
        punpckldq       %xmm3, %xmm0
        punpcklqdq      %xmm0, %xmm2
        movdqa  %xmm2, %xmm0
        ret

However, 4.8 branch compiles to:

_mm_set_epi32:
        movd    %esi, %xmm1
        movd    %edi, %xmm2
        movd    %ecx, %xmm0
        movd    %edx, %xmm3
        punpckldq       %xmm2, %xmm1
        punpckldq       %xmm3, %xmm0
        punpcklqdq      %xmm1, %xmm0
        ret


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

end of thread, other threads:[~2014-01-15 17:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-15 12:11 [Bug rtl-optimization/59511] New: [4.9 Regression] FAIL: gcc.target/i386/pr36222-1.c scan-assembler-not movdqa with -mtune=corei7 ubizjak at gmail dot com
2013-12-15 12:12 ` [Bug rtl-optimization/59511] " ubizjak at gmail dot com
2013-12-16 11:44 ` jakub at gcc dot gnu.org
2013-12-17 16:37 ` vmakarov at gcc dot gnu.org
2013-12-19 13:26 ` rguenth at gcc dot gnu.org
2014-01-15 17:36 ` jakub at gcc dot gnu.org

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).