delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/07/04/08:49:22

Date: Sun, 4 Jul 1999 15:47:14 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Jan Hubicka <hubicka AT ta DOT jcu DOT cz>
cc: djgpp-workers AT delorie DOT com
Subject: Re: Regparm patch.
In-Reply-To: <19990701171239.A12674@tabor.ta.jcu.cz>
Message-ID: <Pine.SUN.3.91.990704154648.13333L-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 1 Jul 1999, Jan Hubicka wrote:

> > Rather than replacing all the .S files with .c files, please add
> > macros to some global asm macros file to access the parameters, like
> > ARG0, ARG1, etc, for as many args as you need.  Or, use conditional
>
> I was thinking about this originally, problem is that making such macros
> is quite complex. For example when arg0 is in register, movl ARG0, %eax
> will result in movl %eax, %eax and thats not very nice.

What about conditionals?  IMHO, it's still better to use some ifdef's
than rewrite every .S file in sight.  The de-stabilizing effect of a
complete rewrite frightens me.

- Raw text -


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