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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Nov 21 14:54:21 GMT 2020


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

--- Comment #2 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Luke Kenneth Casson Leighton from comment #1)
> from aoliva
> 
> Here's a hack that adds 'histogram' as a ppc disassembler option. 

do add the attachment here when you have a moment

> It
> makes separate buckets according to binutils' own notion of ppc opcodes.

there is a case for both the pseudocode histogram (beq) and for the non-aliased
version (bc)

one will tell us the number of occurrences of the different CR usage (BO and BI
fields), the other tells us in general how many branch-conditionals there are

> I'm not sure that's the most useful way to go about it, but it ought to
> do as a first cut.
> 
> I suppose counting significant bits of immediate and offset operands
> could be useful, but I haven't implemented that yet.
> 
> I imagine that it might make sense to count branches in a single bucket.
> 
> Any other thoughts on what else would be useful to have?

register number usage.  how many of each register is used.

it may help also to break that down by opcode.

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


More information about the Libre-SOC-ISA mailing list