This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: register parameter passing and library calls
- To: Joern Rennecke <amylaar at redhat dot com>
- Subject: Re: register parameter passing and library calls
- From: Alan Lehotsky <apl at alum dot mit dot edu>
- Date: Tue, 18 Sep 2001 19:53:46 -0400
- Cc: apl at alum dot mit dot edu, gcc at gcc dot gnu dot org, meissner at redhat dot com
- References: <200109182121.f8ILLEp11149@phal.cambridge.redhat.com>
At 10:21 PM +0100 9/18/01, Joern Rennecke wrote:
> > I suppose I could replace ALL the library functions with hand-compiled
>> assembler language (and change the names of the library functions),
>> but that would not be a very palatable strategy IMHO.
>
>You can also make your movstrsi expander emit a call to memcpy.
Give the man a cigar!
I don't have a movstrsi expander (actually, it would be a movstrqi, as the machine has
32-bit bytes.) But I think this is the best idea.
(The only other idea that I investigated was to use PQImode, but that has the undesired effect of
requiring me to write patterns for addpqi, cmppqi, etc.)
Thanks,
Al
--
------------------------------------------------------------------------
Quality Software Management
http://home.earthlink.net/~qsmgmt
apl@alum.mit.edu
(978)287-0435 Voice
(978)808-6836 Cell
(978)287-0436 Fax
Software Process Improvement and Management Consulting
Language Design and Compiler Implementation