> Am 26.04.2021 um 08:09 schrieb J. Gareth Moreton via fpc-devel > <fpc-devel@lists.freepascal.org>: > > and the other is implementing "magic division" > where division by a constant is replaced with a multiplication.
You are aware there is code for arm 32 bit and e.g. x86 which can most likely be reused/adapted? It might be even that meanwhile somebody made a generic implementation of it? _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel