delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/12/14:56:52

Date: Wed, 12 Jan 2000 11:13:27 -0600
From: "John L. Gammel" <gammeljl AT SLU DOT EDU>
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)
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?.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019