[Libre-soc-isa] [Bug 532] discuss iterative approach for statistical analysis of effectiveness of Compressed PowerISA encoding

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Nov 21 19:49:10 GMT 2020


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

--- Comment #8 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Luke Kenneth Casson Leighton from comment #7)

> answer: without near-total-rewrite of gcc llvm binutils, some simple
> one-line no-state pattern-matching will suffice:
> 
>   foreach insn(objdump):
>     if not recognised opcode
>        continue
>     if not regs recognised by replacement
>        continue

next question: what's the most likely rapid way to do this assessment.

* bash script involving sed regexs that can only be understood by someone who
is hyperintelligent and non-dyslexic?

   (answer is self-evident from question)

* c program or actual modification of binutils?

   answer: it's possibly a little more extensive than the histogram patch
however  might be surprisingly easy

* 50 line non-OO throwaway python script that does line-by-line pattern
recognition?

  answer: high probability of being least amount of work for highest clarity.

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


More information about the Libre-SOC-ISA mailing list