This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: passing regparm floating-point args in FPU registers


> Good day!
> 
> I've posted this letter once before but since several days have passed
> and nobody replied I dare to re-post it again. Don't consider this spam.
> 
> I'm working on a OS/2 port of gcc and one of my goals is to achieve
> a relatively full compatibility with the standard OS/2 compiler -
> IBM's Visual Age C++. The later has a calling convention (often used)
> calld _Optlink which is quite similar with regparm but has some
> differences. The difference I have most troubles with is that it passes
> first four floating-point parameters through FPU registers rather than
> through the stack.
You may search archives for fpregparm patch I made few years ago.
I am thinking about re-incarnating it now when we can use it for passing
arguments to local functions.

Honza


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]