Top "Cpu-architecture" questions

The hardware microarchitecture (x86, x86_64, ARM, ...) of a CPU or microcontroller.

Program Counter and Instruction Register

Program counter holds the address of the instruction that should be executed next, while instruction register holds the actual instruction …

cpu-registers cpu-architecture program-counter
How do I achieve the theoretical maximum of 4 FLOPs per cycle?

How can the theoretical peak performance of 4 floating point operations (double precision) per cycle be achieved on a modern x86…

c++ assembly x86-64 cpu-architecture flops
What is the "FS"/"GS" register intended for?

So I know what the following registers and their uses are supposed to be: CS = Code Segment (used for IP) …

assembly x86 cpu-architecture cpu-registers memory-segmentation
What is a retpoline and how does it work?

In order to mitigate against kernel or cross-process memory disclosure (the Spectre attack), the Linux kernel1 will be compiled with …

security assembly x86 cpu-architecture
Determine target ISA extensions of binary file in Linux (library or executable)

We have an issue related to a Java application running under a (rather old) FC3 on an Advantech POS board …

linux shared-libraries executable cpu-architecture instruction-set
What is the purpose of the "Prefer 32-bit" setting in Visual Studio and how does it actually work?

It is unclear to me how the compiler will automatically know to compile for 64-bit when it needs to. How …

c# .net visual-studio compilation cpu-architecture
What is a cache hit and a cache miss? Why would context-switching cause cache miss?

From the 11th Chapter(Performance and Scalability) and the section named Context Switching of the JCIP book: When a new …

concurrency language-agnostic cpu cpu-architecture cpu-cache
Detecting CPU architecture compile-time

What is the most reliable way to find out CPU architecture when compiling C or C++ code? As far as …

c++ c detection cpu-architecture compile-time
Do all 64 bit intel architectures support SSSE3/SSE4.1/SSE4.2 instructions?

I did searched on web and intel Software manual . But am unable to confirm if all Intel 64 architectures support upto …

x86-64 intel cpu-architecture simd
How is CPU usage calculated?

On my desktop, I have a little widget that tells me my current CPU usage. It also shows the usage …

algorithm performance cpu cpu-usage cpu-architecture