Re: [fpc-devel] Fwd: [Lazarusdev] Moving issue 39853 to FPC project
Ah, sorry, that was for #39834 - wrong issue! Disregard. Gareth aka. Kit On 18/08/2022 07:28, J. Gareth Moreton via fpc-devel wrote: Thanks Ondrej. In the meantime, I've found the problem and am testing a fix. Basically the function that computes the magic number for a given bit size doesn't sign-extend it to the full size. In the given example, the signed divisior +60 for 32-bit produces the multiplicand $8889. However, under x86_64, it is not sign-extended to the full 64-bit internal type... that is, the variable holds $ 8889 instead of $ 8889. This causes a later condition that checks if the value is less than 0 to malfunction. Gareth aka. Kit On 18/08/2022 07:06, Ondrej Pokorny via fpc-devel wrote: Hello it looks like only people with FPC developer status can move issues to the FPC project. Therefore I forward the request to fpc-devel. Ondrej Weitergeleitete Nachricht Betreff:[Lazarusdev] Moving issue 39853 to FPC project Datum: Thu, 18 Aug 2022 03:51:33 +0300 Kopie (CC): Maxim Ganetsky Hello. Could someone move this issue to FPC project please: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/39853 -- Best regards, Maxim Ganetskymailto:gan...@narod.ru ___ fpc-devel maillist -fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel ___ fpc-devel maillist -fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Fwd: [Lazarusdev] Moving issue 39853 to FPC project
On Thu, 18 Aug 2022, Ondrej Pokorny via fpc-devel wrote: Hello it looks like only people with FPC developer status can move issues to the FPC project. Therefore I forward the request to fpc-devel. I moved it. Michael. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Fwd: [Lazarusdev] Moving issue 39853 to FPC project
Thanks Ondrej. In the meantime, I've found the problem and am testing a fix. Basically the function that computes the magic number for a given bit size doesn't sign-extend it to the full size. In the given example, the signed divisior +60 for 32-bit produces the multiplicand $8889. However, under x86_64, it is not sign-extended to the full 64-bit internal type... that is, the variable holds $ 8889 instead of $ 8889. This causes a later condition that checks if the value is less than 0 to malfunction. Gareth aka. Kit On 18/08/2022 07:06, Ondrej Pokorny via fpc-devel wrote: Hello it looks like only people with FPC developer status can move issues to the FPC project. Therefore I forward the request to fpc-devel. Ondrej Weitergeleitete Nachricht Betreff:[Lazarusdev] Moving issue 39853 to FPC project Datum: Thu, 18 Aug 2022 03:51:33 +0300 Kopie (CC): Maxim Ganetsky Hello. Could someone move this issue to FPC project please: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/39853 -- Best regards, Maxim Ganetskymailto:gan...@narod.ru ___ fpc-devel maillist -fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
[fpc-devel] Fwd: [Lazarusdev] Moving issue 39853 to FPC project
Hello it looks like only people with FPC developer status can move issues to the FPC project. Therefore I forward the request to fpc-devel. Ondrej Weitergeleitete Nachricht Betreff:[Lazarusdev] Moving issue 39853 to FPC project Datum: Thu, 18 Aug 2022 03:51:33 +0300 Kopie (CC): Maxim Ganetsky Hello. Could someone move this issue to FPC project please: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/39853 -- Best regards, Maxim Ganetskymailto:gan...@narod.ru ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel