delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/13/06:35:24

Date: Mon, 13 Apr 1998 13:33:56 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Olaf van der Spek <Spek AT EuroNet DOT NL>
cc: DJGPP <DJGPP AT delorie DOT com>
Subject: Re: Question about optimization of DJGPP
In-Reply-To: <199804130936.LAA13390@euronet.nl>
Message-ID: <Pine.SUN.3.91.980413133309.6982C-100000@is>
MIME-Version: 1.0

On Mon, 13 Apr 1998, Olaf van der Spek wrote:

> I'm quite new to DJGPP.
> I've made a little program and when I looked in the disassembler window while
> running the program, I saw movl %eax,%eax. Why is this instruction there? Did I
> forget to turn on optimization somewhere?

If you didn't use -O2 switch (that's a capital o letter), then 
optimizations were off.

- Raw text -


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