register parameter passing and library calls
Alan Lehotsky
apl@alum.mit.edu
Tue Sep 18 16:56:00 GMT 2001
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
More information about the Gcc
mailing list