[fpc-devel] ASM One register allocated twice at once ? 3.3.1 peephole / # Register r10, r15, r15 allocated
J. Gareth Moreton
gareth at moreton-family.com
Wed Oct 1 01:31:38 CEST 2025
I've assigned it to myself and will take a look over the next few days.
You sometimes do get double allocations in the disassembly - that in
itself shouldn't cause problems beyond being a bit redundant,
Kit
On 30/09/2025 13:54, Martin Frb via fpc-devel wrote:
> Confirmed wrong/bad asm code generation after the reported comment
>
> https://gitlab.com/freepascal.org/fpc/source/-/issues/41422
>
>
> On 30/09/2025 10:59, Martin Frb via fpc-devel wrote:
>> 3.3.1 d3ac07ad274b6c6b09ff9b08a9d7007aaf780aa6
>>
>> I am currently tracking an issue (either my code, or the peephole opt
>> / or some opt+peephole).
>>
>> While going through the asm I found:
>>
>> # Register r10,r15,r15 allocated
>>
>> Why is r15 twice in the list?
>> Is that supposed to happen? Or is that in itself an issue?
> _______________________________________________
> 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.
www.avast.com
More information about the fpc-devel
mailing list