[fpc-pascal] LLVM Backend Support

OBones obones at free.fr
Fri Aug 19 10:55:49 CEST 2016


Sven Barth wrote:
>
> Am 19.08.2016 09:55 schrieb "Jonas Maebe" <jonas.maebe at elis.ugent.be 
> <mailto:jonas.maebe at elis.ugent.be>>:
> > As alluded to above, LLVM support needs to be added/tested/maintained
> > separately for each supported architecture and to a lesser extent for
> > each supported OS. Right now, I only have plans for x86-64 and AArch64
> > (and maybe PowerPC64), on Darwin and Linux. Personally, I won't add
> > support for Windows since I don't use that platform. Support for 32 bit
> > platforms in general will be a bit tricky due to the way our compiler is
> > structured.
>
> Why is it that 32-bit targets would be a bit tricky to implement?
>
> Regards,
> Sven
>
I believe because of this:

There are also a few LLVM limitations over which I have no influence:
<snip>
b) LLVM has no support for the i386 "register" calling convention, so I
will probably never add support for the i386 target using LLVM





More information about the fpc-pascal mailing list