public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/35053]  New: SSE2 testcase crashes
@ 2008-02-02  7:03 ismail at pardus dot org dot tr
  2008-02-02 12:34 ` [Bug middle-end/35053] " rguenth at gcc dot gnu dot org
  2008-02-02 12:35 ` rguenth at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: ismail at pardus dot org dot tr @ 2008-02-02  7:03 UTC (permalink / raw)
  To: gcc-bugs

------ cut here ------

#include <xmmintrin.h>

int main()
{
  float dest = 0.0;
  __m128 xmm0 = {0.0,0.0,0.0,0.0};
  _mm_store_ps(&dest, xmm0);

  return 0;
}

------ cut here ------

[~]> gcc -msse2 -o test test.c
[~]> ./test
zsh: segmentation fault  ./test

It doesn't crash when compiled with icc. Also testcase is reduced from a larger
library.


-- 
           Summary: SSE2 testcase crashes
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ismail at pardus dot org dot tr
GCC target triplet: i686-linux-gnu


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


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

* [Bug middle-end/35053] SSE2 testcase crashes
  2008-02-02  7:03 [Bug middle-end/35053] New: SSE2 testcase crashes ismail at pardus dot org dot tr
@ 2008-02-02 12:34 ` rguenth at gcc dot gnu dot org
  2008-02-02 12:35 ` rguenth at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-02-02 12:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2008-02-02 12:33 -------
_mm_store_ps stores four(!) float values at the destination which needs to be
16-byte aligned.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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

* [Bug middle-end/35053] SSE2 testcase crashes
  2008-02-02  7:03 [Bug middle-end/35053] New: SSE2 testcase crashes ismail at pardus dot org dot tr
  2008-02-02 12:34 ` [Bug middle-end/35053] " rguenth at gcc dot gnu dot org
@ 2008-02-02 12:35 ` rguenth at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-02-02 12:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2008-02-02 12:34 -------
I suppose you want _mm_store_ss, btw.


-- 


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


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

end of thread, other threads:[~2008-02-02 12:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-02  7:03 [Bug middle-end/35053] New: SSE2 testcase crashes ismail at pardus dot org dot tr
2008-02-02 12:34 ` [Bug middle-end/35053] " rguenth at gcc dot gnu dot org
2008-02-02 12:35 ` rguenth 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).