Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Intel x86(amd64) instructions list in Linux kernel
# cat vmlinux-3.2.0-1-amd64.disassemble.intel| cut -f 3 -s | cut -d ' ' -f 1 -s | sort | uniq -c | sort -r
355290 mov
81309 call
55402 pop
51115 test
49871 push
46412 cmp
43782 je
38031 jmp
35594 xor
33505 jne
28914 lea
24743 add
20267 ret
14241 sub
10855 and
9035 inc
8860 movzx
7577 or
6313 movsxd
4540 shl
4227 shr
3783 ja
3255 dec
2904 imul
2745 movabs
2540 jbe
2107 rep
1980 sbb
1944 lock
1860 jb
1660 ud2
1613 js
1431 jle
1340 cmove
1329 jl
1270 jae
1263 jg
1212 cdqe
1204 not
1176 cmovne
1153 sete
1107 setne
1069 jns
939 sar
683 div
548 movsx
493 bt
432 cmovbe
428 jge
379 ror
371 repnz
358 cmova
345 idiv
340 xchg
319 neg
285 out
284 cmovae
273 bswap
251 cdq
243 cmovg
197 bts
192 cmovle
187 rol
176 cmovns
158 cmovb
155 in
146 cmovs
146 adc
134 pause
125 mfence
105 cqo
102 data32
94 cmovge
84 movaps
83 cmovl
75 bsr
74 setb
70 btr
61 nop
55 setbe
54 seta
52 cld
49 bsf
48 setg
32 setae
30 setle
27 sfence
18 prefetcht0
18 lfence
17 outs
16 setl
16 setge
16 popf
14 pushf
13 cwde
12 (bad)
11 swapgs
11 popcnt
10 xadd
10 cpuid
9 wrmsr
9 sti
9 movnti
9 cmpxchg
9 clts
7 prefetchw
7 clflush
6 xsave64
5 xrstor64
5 rex.W
5 rdmsr
5 hlt
5 fxsave64
5 cli
4 xsaveopt64
4 rex
4 rdtsc
4 mwait
4 mul
4 monitor
4 jo
4 fnclex
4 fild
4 emms
4 btc
3 wbinvd
3 sysret
3 rdrand
3 lgdt
3 ins
3 clc
2 xsetbv
2 vmxoff
2 sysexit
2 stos
2 sidt
2 sgdt
2 sets
2 rdpmc
2 lidt
2 leave
2 invlpg
2 int3
2 fxrstor64
1 vmcall
1 str
1 std
1 shrd
1 setns
1 rex.XB
1 rex.WRX
1 rex.WB
1 rdtscp
1 prefetchnta
1 ltr
1 lods
1 lldt
1 jp
1 fxsave
1 fisubr
1 cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment