[fpc-devel] Finally fixed that MOVZX/SX optimisation!
pascaldragon at googlemail.com
Wed Feb 19 22:03:27 CET 2020
Am 19.02.2020 um 20:37 schrieb Florian Klämpfl:
> Am 19.02.20 um 11:23 schrieb Sven Barth via fpc-devel:
>> J. Gareth Moreton <gareth at moreton-family.com
>> <mailto:gareth at moreton-family.com>> schrieb am Mi., 19. Feb. 2020,
>> Ah, I understand, thank you.
>> I chose those two tests in particular because the design with
>> typecasts opens it up to a lot of peephole optimisations.
>> The nightly testsuite is run multiple times with different settings,
>> so as Joost said it shouldn't be necessary to single out tests for
>> optimization levels.
> If a particular bug is known to be only triggered by a certain
> combination of command line switches, the test should be run always
> with these switches imo.
But then in this specific case the test should be duplicated (as J.
Gareth had done in his patch), maybe even moved to a different
directory, cause the original test is *not* about the optimization.
More information about the fpc-devel