[Bug c++/13190] New: SSE instructions fails
sch at des dot dk
gcc-bugzilla@gcc.gnu.org
Tue Nov 25 21:09:00 GMT 2003
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
More information about the Gcc-bugs
mailing list