I can complete the implementation in 
https://github.com/bold84/tinycc/tree/win_arm64_clean if there’s a chance it 
will actually be merged. 

Kind regards,

Ben

> On 4 Apr 2026, at 17:30, Доля Денис <[email protected]> wrote:
> 
> Thanks, I wasn't aware of this implementation.
> 
> My patch is a minimal subset focused on freestanding inline asm
> (nop, ret, svc, etc.) with no full assembler.
> 
> I will review that file and update my patch accordingly.
> 
> --
> Denis Dolya (Ferki)
> GitHub: https://github.com/Ferki-git-creator
> 
> сб, 4 квіт. 2026 р., 11:31 користувач grischka <[email protected] 
> <mailto:[email protected]>> пише:
>> On April 3, 2026 10:05:43 AM UTC, "Доля Денис" <[email protected] 
>> <mailto:[email protected]>> wrote:
>> >This patch adds minimal ARM64 inline assembly support for freestanding code
>> >in TinyCC.
>> >
>> 
>> See also
>> https://github.com/bold84/tinycc/blob/win_arm64_clean/arm64-asm.c
>> 
>> -- gr
>> 
>> >Problem:
>> >- TCC currently lacks support for inline ARM64 asm, making it difficult to
>> >compile simple freestanding ARM64 code.
>> >
>> >Solution:
>> >- Implement basic ARM64 asm helpers (nop, ret, br, blr, svc, mov).
>> >- Update tcc.h with ARM64 register count and forward declarations.
>> >- Keep backend minimal and readable, sufficient for freestanding inline asm.
>> >- No other subsystems are affected.
>> >
>> >This enables compilation of small freestanding ARM64 programs without
>> >modifying TCC core functionality.
>> >
>> >--
>> >Denis Dolya (Ferki)
>> >GitHub: https://github.com/Ferki-git-creator
> _______________________________________________
> Tinycc-devel mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to