LWN.net Logo

icc vs. gcc on AMD64?

icc vs. gcc on AMD64?

Posted Jun 29, 2005 23:42 UTC (Wed) by Ross (subscriber, #4065)
In reply to: icc vs. gcc on AMD64? by dmarti
Parent article: AMD Files Suit Against Intel (eWeek)

Ok, here's a discussion which might have the information you want:

http://groups.google.ca/group/comp.arch/browse_frm/thread...

"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. Much to my
surprise, it ran fine and did not miscompare. On top of that, it got
the same 22% performance boost that I saw on the Pentium4 with an
actual Intel processor. [...]"


(Log in to post comments)

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds