[fpc-devel] Adding new units to the compiler project
J. Gareth Moreton
gareth at moreton-family.com
Wed Feb 17 20:41:24 CET 2021
Thanks Jonas - that works a treat!
Gareth aka. Kit
On 17/02/2021 19:25, Jonas Maebe via fpc-devel wrote:
> On 17/02/2021 20:06, J. Gareth Moreton via fpc-devel wrote:
>> I'm currently doing some experiments with vectorisation on x86
>> platforms. One thing this might entail is a new platform-specific unit
>> (e.g. "x86/nx86bas.pas"). What's the usual configuration required for
>> the projects to see the unit and use the overridden classes within?
> You have to add it to the cpunode unit of the relevant architectures (or
> to the uses clause of nx64base/ni8086bas/n386bas if any of those would
> already exist, and also fix up the inheritance of any tcgstatementnode
> descendants that they would already declare).
>
>
> Jonas
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>
--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
More information about the fpc-devel
mailing list