Libre RISC-V Mailing list Archives (accessible via public-inbox)
 help / color / Atom feed
From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Libre-RISCV General Development <libre-riscv-dev@lists.libre-riscv.org>
Subject: [libre-riscv-dev] POWER Spec parser nearly done
Date: Sun, 5 Apr 2020 14:10:53 +0100
Message-ID: <CAPweEDw4hu+OJHXWxawytqFMxjYjJhN2p+1mPPME8sT+JDDa4Q@mail.gmail.com> (raw)

for a given value of "done" :)

i have a switch case grammar to write, to support sprset, and the integer
opcodes as far as parsing is concerned is done.

that will just leave actually *using* the resultant code, which involves
identifying missing variables, functions, SPRs and so on and ensuring they
go correctly in and out of the various opcode functions.

hardware-wise i have had a chance to go over the full instruction set, and
there's very little chance of doing full automated conversion.

partial, yes (saving time) however full conversion, no, the pseudocode is
too "linear" where hardware is parallel.

l.




-- 
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev

                 reply index

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPweEDw4hu+OJHXWxawytqFMxjYjJhN2p+1mPPME8sT+JDDa4Q@mail.gmail.com \
    --to=lkcl@lkcl.net \
    --cc=libre-riscv-dev@lists.libre-riscv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Libre RISC-V Mailing list Archives (accessible via public-inbox)

Archives are clonable: git clone --mirror https://inbox.libre-soc.org/libre-riscv-dev

Example config snippet for mirrors


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git