Tag

CPU registers

0 views collected around this technical thread.

OPPO Kernel Craftsman
OPPO Kernel Craftsman
Dec 1, 2023 · Fundamentals

Performance Optimization: Register Access, Assembly Basics, and CPU Pipeline Techniques

The article explains how performance can be dramatically improved by keeping frequently used data in CPU registers instead of memory, understanding basic assembly syntax and instruction types, using branch‑prediction hints, and exploiting the CPU pipeline to reduce stalls and wasted cycles.

CPU registersPerformance Optimizationassembly language
0 likes · 12 min read
Performance Optimization: Register Access, Assembly Basics, and CPU Pipeline Techniques
Tencent Cloud Developer
Tencent Cloud Developer
Aug 8, 2022 · Fundamentals

Deep Dive into Function Call Implementation: From Assembly to CPU Registers

This article thoroughly explains low‑level function call implementation, covering Intel and AT&T assembly syntax, the evolution of CPU registers from 16‑bit to 64‑bit x86, caller‑ and callee‑saved conventions, stack‑based to register‑based parameter passing, stack frame setup, and assembly representations of control structures.

CPU architectureCPU registersLow-level programming
0 likes · 23 min read
Deep Dive into Function Call Implementation: From Assembly to CPU Registers