public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/37157] New: [4.4 Regression] Wrong insn for _mm_unpackhi_epi64
@ 2008-08-19 1:10 hjl dot tools at gmail dot com
2008-08-19 1:26 ` [Bug target/37157] " hjl dot tools at gmail dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-08-19 1:10 UTC (permalink / raw)
To: gcc-bugs
[hjl@gnu-6 i386]$ cat x.c
/* { dg-do run } */
/* { dg-options "-O2 -msse2" } */
#include <emmintrin.h>
__m128i
__attribute__((noinline, unused))
test (__m128i s1, __m128i s2)
{
return _mm_unpackhi_epi64 (s1, s2);
}
[hjl@gnu-6 i386]$
/export/build/gnu/gcc-stack-internal/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc-stack-internal/build-x86_64-linux/gcc/ -O2 x.c -S
[hjl@gnu-6 i386]$ cat x.s
.file "x.c"
.text
.p2align 4,,15
.globl test
.type test, @function
test:
.LFB516:
shufpd $3, %xmm1, %xmm0
ret
Gcc 4.3 generates
test:
.LFB518:
punpckhqdq %xmm1, %xmm0
ret
--
Summary: [4.4 Regression] Wrong insn for _mm_unpackhi_epi64
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl dot tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37157
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/37157] [4.4 Regression] Wrong insn for _mm_unpackhi_epi64
2008-08-19 1:10 [Bug target/37157] New: [4.4 Regression] Wrong insn for _mm_unpackhi_epi64 hjl dot tools at gmail dot com
@ 2008-08-19 1:26 ` hjl dot tools at gmail dot com
2008-08-19 12:51 ` hjl at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-08-19 1:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from hjl dot tools at gmail dot com 2008-08-19 01:25 -------
It may be caused by revision 138553.
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37157
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/37157] [4.4 Regression] Wrong insn for _mm_unpackhi_epi64
2008-08-19 1:10 [Bug target/37157] New: [4.4 Regression] Wrong insn for _mm_unpackhi_epi64 hjl dot tools at gmail dot com
2008-08-19 1:26 ` [Bug target/37157] " hjl dot tools at gmail dot com
@ 2008-08-19 12:51 ` hjl at gcc dot gnu dot org
2008-08-19 15:49 ` hjl dot tools at gmail dot com
2008-08-24 22:50 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: hjl at gcc dot gnu dot org @ 2008-08-19 12:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from hjl at gcc dot gnu dot org 2008-08-19 12:50 -------
Subject: Bug 37157
Author: hjl
Date: Tue Aug 19 12:49:28 2008
New Revision: 139232
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139232
Log:
gcc/
2008-08-19 H.J. Lu <hongjiu.lu@intel.com>
PR target/37157
* config/i386/sse.md (sse2_punpckhqdq, sse2_punpcklqdq): Moved
before (sse2_shufpd_<mode>).
gcc/testsuite/
2008-08-19 H.J. Lu <hongjiu.lu@intel.com>
PR target/37157
* gcc.target/i386/sse2-unpack-1.c: New.
Added:
trunk/gcc/testsuite/gcc.target/i386/sse2-unpack-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/sse.md
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37157
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/37157] [4.4 Regression] Wrong insn for _mm_unpackhi_epi64
2008-08-19 1:10 [Bug target/37157] New: [4.4 Regression] Wrong insn for _mm_unpackhi_epi64 hjl dot tools at gmail dot com
2008-08-19 1:26 ` [Bug target/37157] " hjl dot tools at gmail dot com
2008-08-19 12:51 ` hjl at gcc dot gnu dot org
@ 2008-08-19 15:49 ` hjl dot tools at gmail dot com
2008-08-24 22:50 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-08-19 15:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from hjl dot tools at gmail dot com 2008-08-19 15:48 -------
Fixed.
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37157
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/37157] [4.4 Regression] Wrong insn for _mm_unpackhi_epi64
2008-08-19 1:10 [Bug target/37157] New: [4.4 Regression] Wrong insn for _mm_unpackhi_epi64 hjl dot tools at gmail dot com
` (2 preceding siblings ...)
2008-08-19 15:49 ` hjl dot tools at gmail dot com
@ 2008-08-24 22:50 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-08-24 22:50 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37157
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-08-24 22:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-19 1:10 [Bug target/37157] New: [4.4 Regression] Wrong insn for _mm_unpackhi_epi64 hjl dot tools at gmail dot com
2008-08-19 1:26 ` [Bug target/37157] " hjl dot tools at gmail dot com
2008-08-19 12:51 ` hjl at gcc dot gnu dot org
2008-08-19 15:49 ` hjl dot tools at gmail dot com
2008-08-24 22:50 ` pinskia at gcc dot gnu dot 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).