#x86 #cli #instruction-set

app x86-instruction-set-analyzer

Analyze x86 instruction sets for a binary

1 unstable release

0.1.0 Apr 19, 2024

#55 in #x86

Download history 30/week @ 2024-07-22 7/week @ 2024-07-29 12/week @ 2024-08-05 14/week @ 2024-08-12 19/week @ 2024-08-19 228/week @ 2024-09-16 66/week @ 2024-09-23 44/week @ 2024-09-30 57/week @ 2024-10-07 15/week @ 2024-10-14 20/week @ 2024-10-21 284/week @ 2024-10-28 168/week @ 2024-11-04

487 downloads per month

MIT license

5KB
63 lines

x86-instruction-set-analyzer

Analyze x86 instruction sets for a binary.

Example

$ cargo run -- ../rust-rocksdb/target/release/rocksdb

Format: Elf Little-endian 64-bit
Kind: Dynamic
Architecture: X86_64

Instruction set usage:
X64: 1004745 (71.87%)
INTEL8086: 154738 (11.07%)
INTEL386: 149737 (10.71%)
AVX: 48527 (3.47%)
MULTIBYTENOP: 12733 (0.91%)
CMOV: 11046 (0.79%)
BMI2: 4477 (0.32%)
AVX512F: 3121 (0.22%)
SSE: 2853 (0.20%)
AVX2: 2254 (0.16%)
AVX512VL: 2084 (0.15%)
BMI1: 1100 (0.08%)
AVX512BW: 634 (0.05%)
LZCNT: 555 (0.04%)
POPCNT: 494 (0.04%)
SSE2: 375 (0.03%)
AVX512DQ: 140 (0.01%)
INTEL186: 123 (0.01%)
INTEL486: 89 (0.01%)
INTEL286: 87 (0.01%)
FPU: 80 (0.01%)
FMA: 40 (0.00%)
PAUSE: 14 (0.00%)
MOVBE: 13 (0.00%)
CPUID: 10 (0.00%)
TSC: 6 (0.00%)
AVX512CD: 4 (0.00%)
CLFSH: 4 (0.00%)
RDRAND: 1 (0.00%)
RDSEED: 1 (0.00%)
XSAVE: 1 (0.00%)

Dependencies

~16MB
~331K SLoC