I _think_ you got to be using binutils later than 2.9.1.0.23.

--izar

On Mon, 17 Jan 2000, Ilan Finci wrote:

> 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:[EMAIL PROTECTED]    http://www.mobileye.com
> 
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
> 


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to