Recent

Author Topic: [SOLVED] Where is the utility that converts a CPU register .dat file into includ  (Read 1695 times)

Interferon

  • Newbie
  • Posts: 6
Specifically, fpcsrc\compiler\riscv32\rv32reg.dat is used to generate a few include files.  What is the utility for generating the files?

I am trying to get the RV32 'E' extension to work by limiting the available registers to x0..x15 according to the spec.  Just experimenting with various ways of doing that.
« Last Edit: June 15, 2023, 06:25:37 pm by Interferon »

ccrause

  • Hero Member
  • *****
  • Posts: 1093

Interferon

  • Newbie
  • Posts: 6
Perhaps this: compiler/utils/mkrvreg.pp?
That's it.  For some reason, it wasn't in my source tree, even though it has all the other rv32 stuff.

Thanks!

 

TinyPortal © 2005-2018