Date: Sun, 4 Jul 1999 15:47:14 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Jan Hubicka cc: djgpp-workers AT delorie DOT com Subject: Re: Regparm patch. In-Reply-To: <19990701171239.A12674@tabor.ta.jcu.cz> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.