> 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 _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel