Mail Archives: djgpp/2000/04/17/09:10:43

Date: Mon, 17 Apr 2000 16:34:40 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Alexei A. Frounze" <alex DOT fru AT mtu-net DOT ru>
cc: djgpp AT delorie DOT com
Subject: Re: inefficiency of GCC output code & -O problem
In-Reply-To: <>
Message-ID: <Pine.SUN.3.91.1000417163323.17688D-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 17 Apr 2000, Alexei A. Frounze wrote:

> Also Watcom C/C++ has one very feature. It can generate code for register and
> stack based calling conventions. I.e. parameters may be passed either via stack
> or via registers. It also helps greatly.

GCC has such a feature as well.  Read the on-line GCC manual about the 
"-mregparm" switch, for details.

- Raw text -

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