[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] WebAssembly backend
From: |
Daniel Glöckner |
Subject: |
Re: [Tinycc-devel] WebAssembly backend |
Date: |
Fri, 14 Feb 2020 14:11:19 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Fri, Feb 14, 2020 at 03:58:09AM -0800, Charles Lohr wrote:
> There isn't xtensa support, but that wouldn't be hard to add.
Adding support for a specific Xtensa chip wouldn't be hard, but Xtensa
allows the instruction set to be modified in various different ways when
the cpu core is synthesized. GCC had support for Xtensa for several years
before the ESP8266 came along, but it took some time until GCC learnt how
to deal with the call0 calling conventions necessary for this chip.
The tools provided by Tensilica to chipmakers spit out header files with
lots of defines that you have to use in a compiler to know how to
generate code for a particular chip.
Best regards,
Daniel