tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] rv32 support in tcc


From: Ekaitz Zarraga
Subject: Re: [Tinycc-devel] rv32 support in tcc
Date: Sun, 27 Feb 2022 17:29:09 +0000

> With that in mind, I suppose that the differences between these two will be 
> the length of the registers. So someone should be able to modify the TCC's 
> "RISC-V64" version and make it support the 32-bit RISC-V with a couple of 
> changes to both the backend and in the frontend (I suppose things like 
> disabling 8-byte types for example).
>
> Any thoughts on that one?

I don't know about TinyCC's internals but RV64 and RV32 are very similar. There 
are only a couple of opcodes that change and some instructions (loads and 
stores) have to be adjusted but that's most of it.

In some months I should be reading tinycc's internals so I could give a better 
answer or even implement this myself but I can't promise anything at the moment.

Cheers,
Ekaitz



reply via email to

[Prev in Thread] Current Thread [Next in Thread]