public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/37074] New: gcc.dg/torture/stackalign/builtin-apply-4.c failed with SSE2
@ 2008-08-10 20:19 hjl dot tools at gmail dot com
2008-08-10 20:24 ` [Bug testsuite/37074] " hjl dot tools at gmail dot com
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-08-10 20:19 UTC (permalink / raw)
To: gcc-bugs
gcc.dg/torture/stackalign/builtin-apply-4.c failed with SSE2. The
problem is MMX enabled with SSE2, but builtin-apply-4.c mixes mmx
and x87 instructions without emms in between.
--
Summary: gcc.dg/torture/stackalign/builtin-apply-4.c failed with
SSE2
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
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=37074
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/37074] gcc.dg/torture/stackalign/builtin-apply-4.c failed with SSE2
2008-08-10 20:19 [Bug testsuite/37074] New: gcc.dg/torture/stackalign/builtin-apply-4.c failed with SSE2 hjl dot tools at gmail dot com
@ 2008-08-10 20:24 ` hjl dot tools at gmail dot com
2009-09-18 3:26 ` hjl dot tools at gmail dot com
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-08-10 20:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from hjl dot tools at gmail dot com 2008-08-10 20:23 -------
A patch is posted at
http://gcc.gnu.org/ml/gcc-patches/2008-08/msg00664.html
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2008-
| |08/msg00664.html
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37074
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/37074] gcc.dg/torture/stackalign/builtin-apply-4.c failed with SSE2
2008-08-10 20:19 [Bug testsuite/37074] New: gcc.dg/torture/stackalign/builtin-apply-4.c failed with SSE2 hjl dot tools at gmail dot com
2008-08-10 20:24 ` [Bug testsuite/37074] " hjl dot tools at gmail dot com
@ 2009-09-18 3:26 ` hjl dot tools at gmail dot com
2010-02-26 14:06 ` hjl dot tools at gmail dot com
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-09-18 3:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from hjl dot tools at gmail dot com 2009-09-18 03:26 -------
*** Bug 41392 has been marked as a duplicate of this bug. ***
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ppluzhnikov at google dot
| |com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37074
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/37074] gcc.dg/torture/stackalign/builtin-apply-4.c failed with SSE2
2008-08-10 20:19 [Bug testsuite/37074] New: gcc.dg/torture/stackalign/builtin-apply-4.c failed with SSE2 hjl dot tools at gmail dot com
2008-08-10 20:24 ` [Bug testsuite/37074] " hjl dot tools at gmail dot com
2009-09-18 3:26 ` hjl dot tools at gmail dot com
@ 2010-02-26 14:06 ` hjl dot tools at gmail dot com
2010-02-26 14:25 ` ubizjak at gmail dot com
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-02-26 14:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from hjl dot tools at gmail dot com 2010-02-26 14:05 -------
gcc.dg/torture/stackalign/builtin-apply-4.c will
fail on x86-64 since -march=x86_64 will be added
by default since:
http://gcc.gnu.org/ml/gcc-cvs/2010-02/msg00664.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37074
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/37074] gcc.dg/torture/stackalign/builtin-apply-4.c failed with SSE2
2008-08-10 20:19 [Bug testsuite/37074] New: gcc.dg/torture/stackalign/builtin-apply-4.c failed with SSE2 hjl dot tools at gmail dot com
` (2 preceding siblings ...)
2010-02-26 14:06 ` hjl dot tools at gmail dot com
@ 2010-02-26 14:25 ` ubizjak at gmail dot com
2010-02-26 14:49 ` hjl at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: ubizjak at gmail dot com @ 2010-02-26 14:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from ubizjak at gmail dot com 2010-02-26 14:24 -------
(In reply to comment #3)
MMX arguments are passed via %mm registers when __builtin_apply_args is used.
Touching %mm in any way will switch FP regstack to MMX mode, and since no emms
is emitted, reading %st will always return NaN.
[There were proposals to obsolete __bultin_apply, so who cares.]
Your patch from comment #1 is OK.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37074
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/37074] gcc.dg/torture/stackalign/builtin-apply-4.c failed with SSE2
2008-08-10 20:19 [Bug testsuite/37074] New: gcc.dg/torture/stackalign/builtin-apply-4.c failed with SSE2 hjl dot tools at gmail dot com
` (3 preceding siblings ...)
2010-02-26 14:25 ` ubizjak at gmail dot com
@ 2010-02-26 14:49 ` hjl at gcc dot gnu dot org
2010-02-26 14:50 ` hjl dot tools at gmail dot com
2010-08-14 2:29 ` hjl at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: hjl at gcc dot gnu dot org @ 2010-02-26 14:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from hjl at gcc dot gnu dot org 2010-02-26 14:49 -------
Subject: Bug 37074
Author: hjl
Date: Fri Feb 26 14:49:02 2010
New Revision: 157089
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157089
Log:
Add -mno-mmx to x86 in gcc.dg/torture/stackalign/stackalign.exp.
2010-02-26 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/37074:
* gcc.dg/torture/stackalign/stackalign.exp: Add -mno-mmx to x86.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/torture/stackalign/stackalign.exp
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37074
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/37074] gcc.dg/torture/stackalign/builtin-apply-4.c failed with SSE2
2008-08-10 20:19 [Bug testsuite/37074] New: gcc.dg/torture/stackalign/builtin-apply-4.c failed with SSE2 hjl dot tools at gmail dot com
` (4 preceding siblings ...)
2010-02-26 14:49 ` hjl at gcc dot gnu dot org
@ 2010-02-26 14:50 ` hjl dot tools at gmail dot com
2010-08-14 2:29 ` hjl at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-02-26 14:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from hjl dot tools at gmail dot com 2010-02-26 14:49 -------
Fixed in 4.5.0.
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37074
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/37074] gcc.dg/torture/stackalign/builtin-apply-4.c failed with SSE2
2008-08-10 20:19 [Bug testsuite/37074] New: gcc.dg/torture/stackalign/builtin-apply-4.c failed with SSE2 hjl dot tools at gmail dot com
` (5 preceding siblings ...)
2010-02-26 14:50 ` hjl dot tools at gmail dot com
@ 2010-08-14 2:29 ` hjl at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: hjl at gcc dot gnu dot org @ 2010-08-14 2:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from hjl at gcc dot gnu dot org 2010-08-14 02:29 -------
Subject: Bug 37074
Author: hjl
Date: Sat Aug 14 02:28:57 2010
New Revision: 163239
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163239
Log:
Support --with-fpmath=sse for x86.
gcc/
2010-08-13 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline
2010-02-26 H.J. Lu <hongjiu.lu@intel.com>
* config.gcc: Support --with-fpmath=sse for x86.
* config/i386/ssemath.h: New.
* doc/install.texi (--with-fpmath=sse): Documented.
gcc/testsuite/
2010-08-13 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline
2010-02-26 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/37074:
* gcc.dg/torture/stackalign/stackalign.exp: Add -mno-mmx to x86.
Added:
branches/ix86/gcc-4_4-branch/gcc/config/i386/ssemath.h
Modified:
branches/ix86/gcc-4_4-branch/gcc/ChangeLog.ix86
branches/ix86/gcc-4_4-branch/gcc/config.gcc
branches/ix86/gcc-4_4-branch/gcc/doc/install.texi
branches/ix86/gcc-4_4-branch/gcc/testsuite/ChangeLog.ix86
branches/ix86/gcc-4_4-branch/gcc/testsuite/gcc.dg/torture/stackalign/stackalign.exp
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37074
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-08-14 2:29 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-10 20:19 [Bug testsuite/37074] New: gcc.dg/torture/stackalign/builtin-apply-4.c failed with SSE2 hjl dot tools at gmail dot com
2008-08-10 20:24 ` [Bug testsuite/37074] " hjl dot tools at gmail dot com
2009-09-18 3:26 ` hjl dot tools at gmail dot com
2010-02-26 14:06 ` hjl dot tools at gmail dot com
2010-02-26 14:25 ` ubizjak at gmail dot com
2010-02-26 14:49 ` hjl at gcc dot gnu dot org
2010-02-26 14:50 ` hjl dot tools at gmail dot com
2010-08-14 2:29 ` hjl 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).