[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tool for ISA usage statistics within ELF binaries?



Hi Adam,

Great, it is basically what I wanted with some modifications.

On Sun, Nov 03, 2019 at 10:17:55PM +0100, Adam Borowski wrote:
> On Sun, Nov 03, 2019 at 04:27:12PM +0000, Mo Zhou wrote:
> > Hi mentors,
> > 
> > do you know if there is a static ELF analysing tool, that makes
> > statistics on the usage of different ISAs? maybe something on top
> > of a disassembler?
> > 
> > actually, I'd like to know if an ELF binary has got more, say
> > AVX instructions after recompiling with -march=native,
> > -ftree-vectorization, -O3, etc.
> 
> No check for AVX yet, but a quick hack that may be useful to you is attached
> to: https://lists.debian.org/debian-devel/2017/08/msg00200.html
> 
> 
> Meow!
> -- 
> ⢀⣴⠾⠻⢶⣦⠀ A MAP07 (Dead Simple) raspberry tincture recipe: 0.5l 95% alcohol,
> ⣾⠁⢠⠒⠀⣿⡁ 1kg raspberries, 0.4kg sugar; put into a big jar for 1 month.
> ⢿⡄⠘⠷⠚⠋⠀ Filter out and throw away the fruits (can dump them into a cake,
> ⠈⠳⣄⠀⠀⠀⠀ etc), let the drink age at least 3-6 months.
> 


Reply to: