cpuid Questions

3

Solved

While writing new code for Windows, I stumbled upon _cpuinfo() from the Windows API. As I am mainly dealing with a Linux environment (GCC) I want to have access to the CPUInfo. I have tried the fol...
Threephase asked 10/1, 2013 at 20:33

3

I've created an application using PHP and I'm going to sell it to my local market. I will personally be going to their locations to install/configure Apache & MySQL as well as installing my own...
Taper asked 8/7, 2013 at 9:26

7

Solved

Is the following code valid to check if a CPU supports the SSE3 instruction set? Using the IsProcessorFeaturePresent() function apparently does not work on Windows XP. bool CheckSSE3() { int CPUIn...
Yuk asked 25/5, 2011 at 8:49

2

Solved

Just interesting how it works in games and other software. More precisely, I'm asking for a solution in C++. Something like: if AMX available -> Use AMX version of the math library else if AVX-5...
Mongolian asked 1/9, 2022 at 8:10

1

Which logical processor belongs to the P-core group and which to E-core group? My first idea was to just check the base clock for each logical processor and then assume that the lowest base clock b...
Bijou asked 13/11, 2021 at 14:55

1

Solved

I'm building a topological tree of sockets, NUMA nodes, caches, cores, and threads for any Intel or AMD system in C. Building this hierarchy, I want to ensure hardware threads are grouped together ...
Glomerulonephritis asked 1/9, 2021 at 21:19

8

Solved

Related to my other question, please help me debug "An unhandled exception of type 'System.AccessViolationException' occurred in Unknown Module. Additional information: Attempted to read or write p...
Marchall asked 9/7, 2010 at 21:0

3

I encountered a problem during preparing an assembler x86 project which subject is to write a program getting L1 data, L1 code, L2 and L3 cache size. I tried to find something in Intel Documentat...
Gilberto asked 11/1, 2013 at 17:10

4

Solved

I get the following error after upgrading via Migration Assistant my laptop from a 2-core to a 4-core processor: cpum#1: X86_CPUID_FEATURE_ECX_MOVBE is not supported by the host but has alread...
Southeastwardly asked 16/10, 2017 at 17:13

2

Solved

I'm exploring leaf 0x02 of the cpuid instruction and came up with a few questions. There is a table in the documentation which describes what cpuid results mean for the TLB configuration. Here they...
Pros asked 27/9, 2019 at 6:15

2

I want to use the cpuid instruction to identify features of an Intel CPU. I found the cpuid.h header in Kernel.framework, so I added Kernel.framework to my project and included <Kernel/i386/cpui...
Potassium asked 31/8, 2012 at 19:46

7

How can I get CPU serial number under Linux (Ubuntu) without root permissions? I tried cpuid command, it works without root permissions, but appears to return all zeros (I believe because somethi...
Judaea asked 18/2, 2011 at 19:3

2

Solved

I am trying to profile a code for execution time on an x86-64 processor. I am referring to this Intel white paper and also gone through other SO threads discussing the topic of using RDTSCP vs CPUI...
Neal asked 24/12, 2018 at 0:46

5

Solved

Considering that I'm coding in C++, if possible, I would like to use an Intrinsics-like solution to read useful informations about the hardware, my concerns/considerations are: I don't know assem...
Caracara asked 20/7, 2013 at 3:40

2

I have some cryptography code that has multiple implementations, selecting which implementation at runtime based on the features of the CPU it is running on. Porting this has been straightforward s...
Goodkin asked 21/4, 2017 at 8:8

2

Solved

I have a Intel Core i5-2450m (2 physical processors and 4 logical processors) and I want to find a way to count logical and physical cores on AMD and Intel CPUs. But, after some searches I noticed ...
Quadricycle asked 6/6, 2014 at 18:56

2

Solved

I'm trying to use CPUID, but there are some strings attached. According to sandpile.org's CPUID page, CPUID standard functions 0000_0004h and up will only work if the MISC_ENABLE.LCMV flag is set t...
Farland asked 30/8, 2011 at 6:59

2

Solved

I'm trying to gather system information and noticed the following on an Intel Xeon E5420: After executing CPUID(EAX=1), EDX[28] is set, indicating Hyper-threading support, despite the fact that th...
Hoist asked 3/5, 2012 at 16:59

2

Solved

I'm trying to gather information about my CPU with __cpuid(). Though it is getting it right on my computer, when I run my program on my colleague's computer it is detecting the Intel Core2 Quad Q66...
Adahadaha asked 13/2, 2012 at 16:12

2

I'm trying to read the cpuid information with the following cod but it doesn't work. I'm using Visual Studio 2010: #include "stdafx.h" #include <stdio.h> int main() { int a...
Schlessel asked 11/6, 2014 at 23:57

1

Solved

Is this expected? I expected my Sandy Bridge CPU to report that it can handle MMX, SSE, and SSE2 instructions. Are these bits not set because these "old" instruction sets have been "superceded" by ...
Belfry asked 7/12, 2012 at 6:1

2

Solved

I'm trying to build slightly modified versions of some functions of the VS2010 CRT library, all is well except for the parts where it tries to access a global variable which presumably holds the in...
Incompetence asked 17/2, 2012 at 19:56

3

Solved

I would like to know if somebody around here has some good examples of a C++ CPUID implementation that can be referenced from any of the managed .net languages. Also, should this not be the case, ...
Dominga asked 3/11, 2009 at 9:1

1

Solved

I'm using __get_cpuid() to get info on the x86 and x86_64 processors my programs run on. With GCC on Linux and Mac OS, it seems to compile and run OK without include any header, but how portable is...
Arraignment asked 6/12, 2011 at 21:20

7

Solved

I want to create an encryption with java.Is there anyway to get CPU Id or anything that be unique in PC such as BIOS or ... for example System.getCpuId(); it is just an example 😉 Thanks a lot .....
Pole asked 5/2, 2010 at 11:14

© 2022 - 2024 — McMap. All rights reserved.