This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13190] New: SSE instructions fails
- From: "sch at des dot dk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Nov 2003 21:09:04 -0000
- Subject: [Bug c++/13190] New: SSE instructions fails
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
following test program receives SIGILL invalid instruction running on P4
2.8ghz supporting mmx/sse/sse2 (checked with cpuid)
while perfoming _mem_set_ps. _mm_add_ps and mul and sub works fine as long as
I dont write __m128 values back!?
typedef union
{
__m128 m __attribute__ ((aligned(8)));
float f[4] __attribute__ ((aligned(8)));
} munion;
int main(int argc, char *argv[])
{
munion m1;
m1.m = _mm_set_ps (1.0f, 4.0f, 3.0f, 8.0f);
}
I've tried with or without the user alignment statements.
Is this a duplicate of some already resolved bugs? please let me known
--
Summary: SSE instructions fails
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sch at des dot dk
CC: gcc-bugs at gcc dot gnu dot org,sch at des dot dk
GCC host triplet: i868-pc-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13190