Simon Kissel <simon.kis...@nerdherrschaft.com> schrieb am So., 28. Okt.
2018, 12:39:

> Hi Ben,
>
> >  There's one more problem I forgot to mention in my first post, and it is
> >  probably a deal breaker for the original bounty: LLVM does not support
> >  Borland's fastcall calling convention for i386. So you would need to add
> >  support for Borland fastcall on i386 to LLVM if it has to support
> >  existing i386 inline assembly routines written for FPC/Delphi.
>
> I don't see how not supporting fastcall would be a deal-breaker?
>

You mean Jonas here I take it, not Ben.

Borland's Fastcall is more famously known as the Register calling
convention aka the default calling convention in Object Pascal. As you
admitted in your mail further down you have quite some assembly code and as
such you rely on the calling convention for parameter passing. Here
register differs significantly from cdecl or stdcall. Thus not supporting
the calling convention *will break* your code.

Regards,
Sven
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to