On Monday 21 July 2003 20:27, Tom Eastman wrote: > On Mon, Jul 21, 2003 at 06:16:20PM +0900, Jason Stubbs wrote: > > I'm not certain of this so you'll need to check your what your CPU > > supports, which the kernel outputs during start-up. I'm pretty sure the > > Pentium-III supports mmx, mmx2 and sse - I think it was the P4 that > > brought in sse2. If that is the case then the code will all work on the > > Athlon; it just won't be optimized for its cache sizes, etc. > > Oh that's interesting... so the march is really just saying what kind of > extra instruction sets are supported? So for example if I had compiled > everything with 3dnow on an athlon and plugged it into a pentium it would > really only fail because of the 3dnow instructions, and not because they're > different in any other specfic way?
As far as I know. Instruction ordering and such are also optimised for specific CPUs, I think, but you'd really have to check gcc's home page to be sure. Jason -- [EMAIL PROTECTED] mailing list
