weet niet of het topic hier op zn plaats is maar het gaat over een interessant stukje wat ik net las op Hardocp:
het is engels omdat ik geen zin had het te vertalen, wel een selectieve copy-paste
om alles nog na te lezen en de util te zien die hij ervoor geschreven heeft de volgende link:
http://groups.google.ca/g...posting.google.com&rnum=1
het is engels omdat ik geen zin had het te vertalen, wel een selectieve copy-paste
dus wat denken jullie hiervan? moet dit serieus genomen worden? is intel dan werkelijk aan het "cheaten"?As part of my study of Operating Systems and embedded systems, one of
the things I've been looking at is compilers. I'm interested in
analyzing how different compilers optimize code for different
platforms. As part of this comparison, I was looking at the Intel
Compiler and how it optimizes code.
First I compiled and ran spec with the
"generic x86 flag" (-QxW), which compiles code to run on any x86
processor. After running the generic version, I recompiled and ran
spec with the "Intel-specific flag" (-QxN) to see what kind of
difference that would make. For most benchmarks, there was not very
much change, but for 181.mcf, there was a win of almost 22%
I tried running the same binary on an AMD FX51. First I ran the "generic x86" binaries on the FX51, and then tried to run the "Intel-only" binaries. The Intel-specific ones printed out an error message saying that the processor was not
supported and exited.
I started mucking around with a dissassembly of the Intel-specific
binary and found one particular call (proc_init_N) that appeared to be
performing this check. As far as I can tell, this call is supposed to
verify that the CPU supports SSE and SSE2 and it checks the CPUID to
ensure that its an Intel processor. I wrote a quick utility which I
call iccOut, to go through a binary that has been compiled with this
Intel-only flag and remove that check
Once I ran the binary that was compiled with the Intel-specific flag
(-QxN) through iccOut, it was able to run on the FX51. it got
the same 22% performance boost that I saw on the Pentium4 .
it appears that in fact no Intel-specific optimization has been done if
the AMD processor is also capable to taking advantage of these same
optimizations.
From the way it looks right now, it appears that Intel
is simply "cheating" to make their processors look better against
competitor's processors.
om alles nog na te lezen en de util te zien die hij ervoor geschreven heeft de volgende link:
http://groups.google.ca/g...posting.google.com&rnum=1
[ Voor 9% gewijzigd door Puppetmaster op 10-02-2004 19:56 ]
It seems that males are allowed to exist after all, because they help females get rid of deleterious mutations...