www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/08/22/16:03:21

Message-ID: <37C027A2.9301498E@lycosmail.com>
Date: Sun, 22 Aug 1999 12:38:58 -0400
From: Adam Schrotenboer <ajschrotenboer AT lycosmail DOT com>
X-Mailer: Mozilla 4.6 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: pgcc AT delorie DOT com, Prakash Sastry <prakash AT mmsl DOT serc DOT iisc DOT ernet DOT in>
Subject: Re: PIII help required(I am not in the mailing list)
References: <Pine DOT LNX DOT 3 DOT 96 DOT 990814171332 DOT 32517B-100000 AT mmsl DOT serc DOT iisc DOT ernet DOT in>
Reply-To: pgcc AT delorie DOT com

It may not be an issue w/ the compiler as much as w/  gas. (I may be wrong, I
don't do asm programming, the only asm I ever learned was a piece of machine
code for rebooting a computer when in virtual or real mode). Still, if gas
doesn't recognize the SSE instructions, then it won't like it. AFAIK, gcc
simply copies(emits??) the inline assembly into the resultant .S file fed into
as.

GAS is a separate pkg from gcc, IIRC it's part of binutils. The current
version is 2.91.xx (not sure what the xx is, it may even be a 2.91.xx.xx).
Other asm gurus will be able to give a more complete answer to your q then I
can.

Prakash Sastry wrote:

> hello all,
> i am being asked to do some PIII specific assembly programming on linux.
> i have Linux(RH6.0,)kernel 2.2.10 on this machine. when ever i try to
> compile the assembly code with xmm operations it gives me an invalid
> operands. the information on /proc/cpuinfo shows the following
>
> processor       : 0
> vendor_id       : GenuineIntel
> cpu family      : 6
> model           : 7
> model name      : Pentium III (Katmai)
> stepping        : 2
> cpu MHz         : 451.031072
> cache size      : 512 KB
> fdiv_bug        : no
> hlt_bug         : no
> sep_bug         : no
> f00f_bug        : no
> coma_bug        : no
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 3
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov
> pat pse36 pn mmx fxsr xmm
> bogomips        : 448.92
>
> the gcc version is :
> gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
>
> any help how to solve the problem would help me a lot
>
> thanking you
> prakash sastry
> multimedia system lab
> prakash AT mmsl DOT serc DOT iisc DOT ernet DOT in

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019