qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] target/xtensa: import core lx106


From: Simon Safar
Subject: Re: [PATCH] target/xtensa: import core lx106
Date: Sun, 24 Apr 2022 22:40:17 -0700
User-agent: Cyrus-JMAP/3.7.0-alpha0-569-g7622ad95cc-fm-20220421.002-g7622ad95

On Sat, Apr 23, 2022, at 2:26 PM, Max Filippov wrote:
> It's for a (future...) Lisp compiler! Somewhat in the style of MicroPython; the idea
> is to make code editable on the fly, without reflashing (... or restarting, even).

Interesting. Do you use libisa or do you do instruction encoding on your own?

It's my own; it's generating opcodes from the tree of tables in the Xtensa reference. A large part of the actual code looks a lot like those tables themselves; there are still some missing parts for some (e.g. overriding some defaults on which instruction is taking what kinds of parameters), which I'm just filling in on the go. It's fairly hacky, but it might fit together well with the eventual purpose of maybe running some of this in that 40k RAM onboard & keeping it all Lisp.

(I'll put it up somewhere eventually once it's not a complete mess & starts doing something interesting! assuming this ever happens, of course.)

Simon


reply via email to

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