public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Register-based calling conventions and Watcom
@ 1999-03-19  5:39 Ricardo Gayoso
  1999-03-31 23:46 ` Ricardo Gayoso
  0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Gayoso @ 1999-03-19  5:39 UTC (permalink / raw)
  To: egcs

Sirs,
As you probably know, the Watcom/Power++ family of Win32 compilers seem to be dying.
All of the current users (like me) are looking for an alternative for the Win32 platform.
VC++ is totally unacceptable. Intel C++ is -VERY- good (based on EDG front-end) but it is
uses stack-based calling conventions.
Watcom can use stack-based or register-based calling convention for any function.
Most of the code and libraries (and assembly code) was written with register-based
calling, as it is faster.
I have read on the EGCS docs that it can use registers for calls, but just
EAX EDX ECX. Watcom uses EAX EDX EBX ECX (in that order) for the first 4 integer
params, and stack for remaining params.
May EGCS be customized to emulate Watcom? I think it was the only company that
used register-based and many Watcom/Power++ users would greatly appreciate this.

Thank you in advance,
Ricardo E. Gayoso
ALFANUCLEAR

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Register-based calling conventions and Watcom
  1999-03-19  5:39 Register-based calling conventions and Watcom Ricardo Gayoso
@ 1999-03-31 23:46 ` Ricardo Gayoso
  0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Gayoso @ 1999-03-31 23:46 UTC (permalink / raw)
  To: egcs

Sirs,
As you probably know, the Watcom/Power++ family of Win32 compilers seem to be dying.
All of the current users (like me) are looking for an alternative for the Win32 platform.
VC++ is totally unacceptable. Intel C++ is -VERY- good (based on EDG front-end) but it is
uses stack-based calling conventions.
Watcom can use stack-based or register-based calling convention for any function.
Most of the code and libraries (and assembly code) was written with register-based
calling, as it is faster.
I have read on the EGCS docs that it can use registers for calls, but just
EAX EDX ECX. Watcom uses EAX EDX EBX ECX (in that order) for the first 4 integer
params, and stack for remaining params.
May EGCS be customized to emulate Watcom? I think it was the only company that
used register-based and many Watcom/Power++ users would greatly appreciate this.

Thank you in advance,
Ricardo E. Gayoso
ALFANUCLEAR

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-03-31 23:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-19  5:39 Register-based calling conventions and Watcom Ricardo Gayoso
1999-03-31 23:46 ` Ricardo Gayoso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).