[fpc-devel] Adding new units to the compiler project
Jonas Maebe
jonas at freepascal.org
Wed Feb 17 20:25:27 CET 2021
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
More information about the fpc-devel
mailing list