delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/14/21:05:28

Message-Id: <200001150101.UAA64664@glitch.crosswinds.net>
From: "Kalum Somaratna aka Grendel" <kalum AT crosswinds DOT net>
To: djgpp AT delorie DOT com
Date: Sat, 15 Jan 2000 07:01:16 +0600
MIME-Version: 1.0
Subject: Re: AMD assembly language
CC: GAMMELJL AT SLU DOT EDU
In-reply-to: <01JKOZ9VIFXY8WYTIP@SLU.EDU>
X-mailer: Pegasus Mail for Win32 (v3.12)
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 14 Jan 00, at 11:49, GAMMELJL AT SLU DOT EDU wrote:

> The executables produced by compiling the source codes containing
> assembly language with the -O2 optimization switch on a machine with a
> Intel chip do run properly and the -O2 optimization does speed up the
> executables by quite a bit.  

Since you say that the DJGPP programs run OK under Intel and 
crash under AMD CPU's could you please post what the DJGPP 
program prints to the screen when it crashes. 

This will help to identify what exactly is causing your program to 
crash.

Also could you please post, What DJGPP version are you using, 
What GCC version, the Intel CPU , The AMD CPU ?

>      The source code is much to long to post (more than 5000 lines).
> I will be looking into the problem further and will answer Grendel's
> other questions in a few days.   
> 

If you could post what the programs print's when it crashes on the 
AMD machine, The exact area of your code which is giving the 
problem could also be identified.

The DJGPP FAQ has more about the crash messages and how to 
interpret them if you are interested.

Grendel

- Raw text -


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