On Dec 20, 2007 11:17 AM, Stefan Teleman <Stefan.Teleman at sun.com> wrote: > > > Marcelo H Majczak wrote: > > Regarding the i386, why is it -xchip=pentium4 and -xcache=8/64/4:256/128/8 ? > > The cache seems under specd for most recent chips while pentium4 leaves the > > pentium mobile out (pentium3)... > > Pentium M is a P3 ?
It is essentially the same as a P3, but has very different performance characteristics. There was a Mobile version of the Pentium 4 as well (I have one at home unfortunately). > > Now an honest question, what is the impact of under specing the cache? > > Less chances of cache thrashing for CPU's with a smaller L2. I wonder what the value of specing the cache out is. Isn't studio capable of selecting the appropriate value on its own? Isn't is dangerous to specify the cache amounts since these can be different among different revs of a processor architecture? -- Shawn Walker, Software and Systems Analyst http://binarycrusader.blogspot.com/ "To err is human -- and to blame it on a computer is even more so." - Robert Orben
