AMD alleges Intel compilers create crash code for its chips - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Hardware > Monitors, Printers and Peripherals
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 07-12-2005, 07:14 PM   #1 (permalink)
Techie Beyond Description
 
Osiris's Avatar
 
Join Date: Jan 2005
Location: Kentucky
Posts: 36,817
Send a message via ICQ to Osiris Send a message via AIM to Osiris Send a message via MSN to Osiris Send a message via Yahoo to Osiris
Default AMD alleges Intel compilers create crash code for its chips

AMD alleges Intel compilers create crash code for its chips

The lawsuit AMD filed against its arch-rival, Intel, alleges that a tweak in Intel's compilers can hinder the performance of code running on AMD processors.

According to the complaint: "Intel has designed its compiler purposely to degrade performance when a program is run on an AMD platform. To achieve this, Intel designed the compiler to compile code along several alternate code paths. Some paths are executed when the program runs on an Intel platform and others are executed when the program is operated on a computer with an AMD microprocessor.


"The choice of code path is determined when the program is started, using a feature known as 'CPUID' which identifies the computer's microprocessor. By design, the code paths were not created equally.

"If the program detects a 'Genuine Intel' microprocessor, it executes a fully optimized code path and operates with the maximum efficiency. However, if the program detects an 'Authentic AMD' microprocessor, it executes a different code path that will degrade the program's performance or cause it to crash."

Of course, how much damage this may have done in the real world is open to question. As one poster on Slashdot, which first noted, there's hardly evidence of code falling over left, right and center on AMD systems.

Equally, would developers creating binaries intended to run on AMD processors use Intel's compilers? You can expect Intel to optimise its compilers' output for the idiosyncrasies of its own CPU architectures, but not to make sure the code runs equally well on a competitors product.

Still, it's a big step from 'not optimising for rival processor architectures' to 'actively making code run more slowly on rival processor architectures', as AMD alleges.

Another Slashdot contributor claims this kind of thing goes back at least to January 2004 and Intel C++ 8.0. The poster claims Intel's assembly code for the memcpy command was clearly designed to be less efficient on non-Intel processors than the company's own chips. Intel developer support, he claims, said the code was optimised for the Pentium 4 and the other code was the simplest implementation for older CPUs, such as the PIII.

"It turns out that their special 'Pentium 4' memcpy, which I tested thoroughly in all kinds of situations, worked perfectly fine on an AMD Athlon and a Pentium III," he concludes and notes his decision to adopt a different compiler as a result.

Again, it's a fine line between generating good code for, say, P4s and lowest-common denominator code for everything else, and creating intentionally bad code for AMD CPUs. Many of the examples cited by Slashdot posters could easily arise from Intel's focus on P4 optimisation rather than making things difficult for AMD. Intel is, after all, under no obligation to ensure the code its compilers generate are optimised for AMD CPUs unless it explicitly says they are so optimised, which we don't believe is the case.

Either way, it's going to make for an interesting trial.
__________________

__________________
Osiris is offline  
Old 07-12-2005, 07:20 PM   #2 (permalink)
003
Wizard Techie
 
Join Date: May 2005
Posts: 3,312
Default

Wow.
__________________

__________________
so, umm, err yeah
003 is offline  
Old 07-12-2005, 08:11 PM   #3 (permalink)
Member (again)
 
macdude425's Avatar
 
Join Date: Jan 2005
Location: Raul's Wild Kingdom...How 'bout that, huh?
Posts: 4,202
Send a message via AIM to macdude425 Send a message via Yahoo to macdude425
Default

...and I thought it was just a coincedence
__________________



Debian Support Forums!
macdude425 is offline  
Old 07-12-2005, 08:21 PM   #4 (permalink)
Master Techie
 
Join Date: Mar 2005
Posts: 2,433
Default

As much as i love AMD, i dont know if this claim is true. Corporations say all sorts of crap in court. Not that i would put this past intel
__________________





-AMD Athlon 64 3200+ Winchestor
-MSI K8N Neo4-F
-Sapphire Radeon X850 XT
-2x 1024 Corsair XMS Pro

<form action=\"http://www.srsyo.org/tfsearch.php\" method=\"get\">
<input type=\"text\" name=\"search\"><input type=\"submit\" name=\"submit\" value="Search!"></form> Search TF before you post!
dhw200 is offline  
Old 07-12-2005, 09:23 PM   #5 (permalink)
Ultra Techie
 
Join Date: Jan 2004
Posts: 769
Default

How can intel optimise programs that arent theirs?
__________________
Sprooty is offline  
Old 07-12-2005, 09:52 PM   #6 (permalink)
PowerQuest / Opera
 
TheMajor's Avatar
 
Join Date: Jun 2004
Location: Netherlands
Posts: 10,177
Default

Quote:
Originally posted by Sprooty
How can intel optimise programs that arent theirs?
I was wondering the same. Something I don't get about this article.
__________________
TheMajorMMX - Intel P200 MMX @ 225Mhz - V-Tech (PcPartner) Baby-AT mb w/ Intel Triton TX chipset - Nvidia Riva TNT2 M64 w/ 16MB - 256MB M-Tec SDRAM - Still running.....
TheMajor is offline  
Old 07-13-2005, 05:34 AM   #7 (permalink)
Lord Techie
 
Join Date: Feb 2005
Location: asdf
Posts: 8,887
Default

Maybe it has something to do with windows and x86 stuff? lol
c0rr0sive is offline  
Old 07-13-2005, 07:59 AM   #8 (permalink)
Master Techie
 
uzi9mm's Avatar
 
Join Date: Dec 2004
Location: Horseheads, NY
Posts: 2,553
Default

At least I know my software is working at it's full potential....

(I own an Intel, and proud of it )
__________________
INTEL i7 930
ASUS P6X58D
3x2gb Corsair Dominators
EVGA GTX 480
CORSAIR 850-HX
uzi9mm is offline  
Old 07-13-2005, 08:12 AM   #9 (permalink)
Lord Techie
 
Nitestick's Avatar
 
Join Date: May 2005
Location: смерти для спаме
Posts: 8,473
Default

"Intel has designed its compiler purposely to degrade performance when a program is run on an AMD platform. To achieve this, Intel designed the compiler to compile code along several alternate code paths. Some paths are executed when the program runs on an Intel platform and others are executed when the program is operated on a computer with an AMD microprocessor."

i knew it. lol
Nitestick is offline  
Old 07-13-2005, 08:33 AM   #10 (permalink)
Field Engineer
 
SHAWN's Avatar
 
Join Date: Nov 2004
Location: Long Island, NY
Posts: 4,697
Send a message via AIM to SHAWN
Default

Wow, interesting. I would love to see where this goes
__________________

__________________
A+, Network + , HP Certified Tech and MCP

Specs: AMD Phenom II X6 1095T, Asus M477TD, 8GB GSkill Ripjaws DDR3 1600 7-8-7-24 1T, 128GB Crucial M4 SSD, ATi HD4650, W7, 27" HL272 Monitor
SHAWN is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 05:16 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.