Package: lintian Severity: wishlist Control: retitle -1 lintian: check ISA used in binaries
On Mon, Nov 4, 2019 at 5:18 AM Adam Borowski <kilob...@angband.pl> 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 > I think this could be added to lintian. lintian could give a warning if the generated binaries break ISA baseline. -- Shengjing Zhu