[Libre-soc-bugs] [Bug 845] binutils: drop svmagic and deal with the prefix instead

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Mon Aug 1 20:35:50 BST 2022


https://bugs.libre-soc.org/show_bug.cgi?id=845

--- Comment #12 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
rright.

ok.

so the CSV files originally came from microwatt decode1.vhdl.

the missing information which is provided by create_decode() is,
"what the hell does column 1 (opcode) actually mean".

that's all.

and rhe information that is missing is:

1. bitsel (start,end)
2. opint

that's it.  that's all.  that's the *only* information that each CSV
file is missing. strictly speaking even opint can be determined "does this
opcode have minus-symbols in it, yes no".

now, about 6 weeks ago we added the ability to put comments into the
CSV files.

i have no problem *at all* with putting bitsel into the 1st line of the
CSV file as a comment:

# bitsel=0:5

and then:

1) adapting create_pdecode to read it
2) forgetting about create_pdecode() entirely for what you want.

once thar bitsel info is associated with the CSV file itself then
power_decode.py no longer is the canonical location for being able
to interpret the CSV files.

then get_csv_file() can add two extra columns on read, one is an XO
field, the other XO_mask.  it should be obvious what they are.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list