How to use CPUID instruction to get x86 CPU features correctly? -


i want write small program features of x86cpus. after referring cpuid document, find there 2 sections:

(1) eax=1:

...... of january 2011, standard intel feature flags follows:  ...... 

(2) eax=80000001h:

...... amd feature flags follows: ...... 

so means if cpu vendor genuineintel, should use eax=1 while if authenticamd, should use eax=80000001h execute cpuid instruction. understanding correct?

after referring amd cpuid , intel cpuid documents, can learn flags different eax 1 cpuid instruction, need differentiate them.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -