View Single Post
  #5  
Old February 21st 14, 01:35 AM posted to comp.sys.intel,comp.sys.ibm.pc.hardware.chips,alt.windows7.general
Gene E. Bloch[_4_]
external usenet poster
 
Posts: 32
Default How many x86 instructions?

On 2/20/2014, Gene E. Bloch posted:
On 2/20/2014, Yousuf Khan posted:
I was asked this question recently, and I just realized that I
really don't know the answer to this. I may have known at one time,
but I don't anymore, as things have moved on since I last used to
do assembly programming. How many instructions are there in modern
x86 processors?


These days it seems more practical to just list the number of x86
instruction set extensions than to count up just the individual
instructions themselves. But even the number of x86 instruction set
extensions are becoming unmanageable: x86-16, x86-32, x64, x87,
MMX, SSE, 3DNow, VT-X, AMD-V, AVX, AES, etc., etc.


I searched around just looking for a simple count of instructions,
and I couldn't find them.


Yousuf Khan


Looking briefly at http://ref.x86asm.net/ and
http://www.sandpile.org/ gives me the impression that the *isn't* a
simple count of instructions.


The first was pretty confusing, but it offered a manual for $20
involving a table in XML that might be a useful way to track it down.
Or maybe nit...


The second lists instructions in several subsets and I didn't see a
way to find a combined list.


I'd suggest making a spreadsheet, and using sandpile to fill some
cells with numbers that you can then easily sum :-)


Suddenly I'm glad that I don't code in Intel asm any more ;-)


To be honest, I vaguely recall that it was never easy, even well
before the proliferation of instruction sets[1], to get such a count.


[1] My Intel asm experience was a pretty long time ago!


There are a lot of manuals here[1]:

http://www.intel.com/content/www/us/...r-manuals.html

AKA http://tinyurl.com/3lh7em3

They are downloadable PDFs in several configurations...but I bet they
won't have a unified table either :-(

[1] And you've probably already been there...

--
Gene E. Bloch (Stumbling Bloch)