Date: Wed, 12 Jan 2000 11:13:27 -0600 From: "John L. Gammel" Subject: amd processors and assembly language To: djgpp AT delorie DOT com Message-id: <387CB637.77A70DC0@slu.edu> MIME-version: 1.0 X-Mailer: Mozilla 4.7 [en] (Win95; I) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Accept-Language: en Reply-To: djgpp AT delorie DOT com Thanks for the information that assembly language for amd processors is more or less identical to the instruction set for the Intel 486 architecture. The trouble I have encountered is this: A friend has recently downloaded the djgpp package (I have been using mine for more than 1 year) and tried to compile some of my source codes. He has an AMD processor. It all went ok except when compiling my codes using assembly language. That also went ok except when using the -O2 optimization switch (gxx codename.cc -o codename.exe -O2). Strangely enough, the executable crashed in that case. Also, we noted that the codes ran (on the machine with an AMD processor) as fast without the -O2 switch as we thought they would with the -O2 chip (as though optimization was not necessary with the AMD processor). My question is: does anyone have similar experience? And what are the optimization switches for the AMD processor?.