Message-ID: <37C027A2.9301498E@lycosmail.com> Date: Sun, 22 Aug 1999 12:38:58 -0400 From: Adam Schrotenboer X-Mailer: Mozilla 4.6 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: pgcc AT delorie DOT com, Prakash Sastry Subject: Re: PIII help required(I am not in the mailing list) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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