Date: Sun, 22 Aug 1999 21:02:35 -0300 (ADT) From: Peter Cordes To: pgcc AT delorie DOT com Subject: Re: PIII help required(I am not in the mailing list) In-Reply-To: <37C027A2.9301498E@lycosmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: pgcc AT delorie DOT com X-Mailing-List: pgcc AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Pardon my ignorance, but what is xmm? It is obviously not a typo, because you cpuinfo says you cpu does mmx _and_ xmm. I have heard of kni, the Katmai New Instructions. cordes.phys.dal.ca (my dad's computer in his office) is a PIII AT 450MHz, running RH6.0 w/kernel 2.2.11. (RH6.0 comes with binutils 2.9.1, and egcs 2.91.66, which are in use on cordes.) /proc/cpuinfo on cordes says: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 7 model name : 00/07 stepping : 2 cpu MHz : 451.026999 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 psn mmx osfxsr kni bogomips : 448.92 The difference in the flags line is (mine ):flags: fpu ... pse36 psn mmx osfxsr kni (sastry's):flags: fpu ... pse36 pn mmx fxsr xmm What's up with that? psn vs. pn? osfxsr vs. fxsr? dropped characters...? Also, his model name field says Pentium III (Katmai), but mine says 00/07. What's up with that, too? especially since the one that says Pentium III (Katmai) doesn't have kni in the flags? So, does anybody know about CPU versions? Does anybody know whether gas handles kni yet? Prakash, are you trying to use kni? #define X(x,y) x##y Peter Cordes ; e-mail: X(peter AT cordes DOT phys. , dal.ca) On Sun, 22 Aug 1999, Adam Schrotenboer wrote: > 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 >