Questions tagged [cpuid]

CPUID is an Intel x86 and x86_64 processor instruction that returns the processor type and the presence of particular features.

Originally introduced by Intel, the CPUID instruction returns the processor type and the presence of features such as MMX/SSE.

163 questions
0
votes
1 answer

How to check AES-NI support with __cpuid?

I'm looking for a way to check whether or not does my CPU support AES-NI instructions. I found on the Internet a lot of things, that worked but a lot of them were inline assembly code and since I'm under Microsoft Visual Studio and that I'm…
0
votes
1 answer

x86 CPUID feature flags in chronological order

Are there comprehensive and accurate sources where I can get x86 CPUID feature flags (leafs 1, 7, and 0x80000001) for Intel and AMD processors sorted in chronological order of their introduction?
user3368561
  • 779
  • 6
  • 18
0
votes
1 answer

Do Intel CPUs support Trailing Bit Manipulation (TBM) instructions?

Do Intel CPUs support TBM (Trailing Bit Manipulation) instructions? I am trying to use bextr on Intel with an immediate argument and getting a SIGILL when the CPUID bit for tbm is set. Does this mean that Intel CPUs do not support TBM? What is the…
gnzlbg
  • 7,135
  • 5
  • 53
  • 106
0
votes
0 answers

Which x86 ISA extensions imply support for previous SIMD extensions?

My CPU supports the following technologies: MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, and AVX. When I write my code and check for hardware support, can I assume things like "If the processor supports AVX, it ALWAYS supports all of these other…
HesNotTheStig
  • 549
  • 1
  • 4
  • 9
0
votes
2 answers

how detect the software the presence of a VM

I am beginners in the world of virtual machines and have a small question. if a software is running on a VM (eg. VMware Player) how does it know that it is installed on a VM? Does the software get the information from the operating system or is…
user7396065
  • 39
  • 1
  • 7
0
votes
1 answer

x86 ASM - does cpuid set the flags?

Does the x86 CPUID instruction alter the flags register? I don't have access to a debugger, unfortunately. I'm writing some GCC assembler code inside a D program, and I was wondering whether to put "cc" in the clobbers, just to be on the safe side.
Cecil Ward
  • 597
  • 2
  • 13
0
votes
1 answer

CPUID and MSR reads Linux-x86

Im working on a Linux kernel module in which i need to read the CPUID of a processor to see if a feature is present. The chipset documentation states: "Accesses to this MSR are supported when either CPUID (EAX=14H, ECX=0):ECX[bit 0] or…
vitamike
  • 123
  • 1
  • 15
0
votes
1 answer

How does WMI get the ProcessorId?

I'd like to get the processor id without using WMI. But if I try to get it using CPUID with EAX=3, I get an empty result. How does WMI get the ProcessorId? And is there a way to get it without using WMI?
RaphaelH
  • 2,144
  • 2
  • 30
  • 43
0
votes
1 answer

Differing CPUID usage from high-level languages

I'm attempting to utilize an x86 ASM function that requires certain processor architecture. I understand that I need to check a specific bit after calling "CPUID standard function 01H". Below is a C implementation from the CPUID Wikipedia page for…
8protons
  • 3,591
  • 5
  • 32
  • 67
0
votes
0 answers

Concatenating strings from registers and printing them

I am trying to call cpuid and print output from EBX, ECX and EDX to console, but it prints empty line instead here is my code: .586 .model flat,stdcall option casemap:none include \masm32\include\windows.inc include…
szafir
  • 77
  • 8
0
votes
0 answers

CPUID features “hidden” or “masked” from the native hardware in KVM

Which CPUID features are “hidden” or “masked” from the native hardware in KVM implementation. Why does the KVM hypervisor hide / mask such features?
user3073180
  • 105
  • 1
  • 13
0
votes
0 answers

How to change/spoof ProcessorID / CPU ID

Is there a way to change/spoof WMIC output for some time using a program, I am not using vm and therefor I want a way to change spoof cpuid for limited time
Daydreamer
  • 1
  • 1
  • 2
0
votes
0 answers

How to generate a Confirmation Key related to the Product Serial number(CPU-ID) to copy protect my own software

I have written a software, in which i will read the CPU-ID and i will display the CPU-ID to the user as a Software Serial Key and it will request for a confirmation key to login to the software. The user has to mail me that CPU-ID (Serial Key) so…
user3661448
  • 45
  • 1
  • 9
0
votes
1 answer

How to use CPUID to find exactly cpu model is?

System information from Steam: Processor Information: Vendor: GenuineIntel CPU Family: 0x6 CPU Model: 0x3a CPU Stepping: 0x9 CPU Type: 0x0 Speed: 2601 Mhz 4 logical processors 2 physical processors HyperThreading: Supported FCMOV: …
spartawhy117
  • 511
  • 1
  • 5
  • 22
0
votes
1 answer

How to detect CPU id in gcc

I want to write a c program that can detect CPU id for activation process. Some advise me to use UUID but I like to try CPU id instead. After searching I found some good answer. But I am using Windows 8 64bit and Mingw. So I am afraid I cant use…
Blue Phoenix
  • 153
  • 11
1 2 3
10
11