[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] Adding Xtensa (Zane Asher Post)
From: |
noneofyourbusiness |
Subject: |
[Tinycc-devel] Adding Xtensa (Zane Asher Post) |
Date: |
Sat, 25 Nov 2023 21:27:07 +0100 |
> Date: Fri, 24 Nov 2023 12:39:27 -0600
> From: Zane Asher Post <zapost86@gmail.com>
> To: tinycc-devel@nongnu.org
> Subject: [Tinycc-devel] Adding Xtensa
>
> How can I go about adding Xtensa support to TCC?
You can take a look at the other backends (*gen.c, *link.c) for how this is
done in tcc.
As you can see in i386-gen.c, the code generator can be done in ~852 LOC for
x86.
It's probably useful to start with the assembler (asm), linker (link) first.
For the corresponding ISA documentation you could use when adding it, see [1],
[2].
[1] https://github.com/espressif/xtensa-isa-doc
[2]
https://www.cadence.com/content/dam/cadence-www/global/en_US/documents/tools/ip/tensilica-ip/isa-summary.pdf
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Tinycc-devel] Adding Xtensa (Zane Asher Post),
noneofyourbusiness <=