[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SSE on PIII
Hi,
I'm trying to use the new Pentium III extension (SSE - what came after
MMX) using inline assembly.
I managed to get the program to compile just fine (no warning or
errors), but when trying to run the program, I get an error "Illegal
instruction (core dumped)". I've tried it on more then one PIII.
I've checked that SSE is enabled (using CPUID, with ax=1 and checking
the 25th bit of dx) - it is enabled.
Does anyone managed to run programs with SSE?
here is a small example I've used.
------
int main()
{
asm ("xorps %%xmm0, %%xmm0"
:/* no output*/
:/* no input */
);
return 0;
}
--------
I get the error as soon as the xorps command is to be executed.
Thanks,
Ilan
--
MobilEye Vision Technologies LTD
24 Mishol Hadkalim st. Jerusalem, 97278, Israel
Tel: 972-2-5866989 Fax: 972-2-5867720 Personal Fax: 1-801-912-3251
Email: mailto:ifinci@mobileye.com http://www.mobileye.com
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il