[libre-riscv-dev] POWER Spec parser nearly done

Luke Kenneth Casson Leighton lkcl at lkcl.net
Sun Apr 5 14:10:53 BST 2020


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


More information about the libre-riscv-dev mailing list