How Register Windows Work

Register windows are a mechanism designed to reduce the overhead of saving and restoring registers during function calls (procedure calls). They were adopted in some RISC architectures, including SPARC, i960, and AMD29k, and achieved a certain level of success, but are rarely used in major …

Read more →

Why Choose RISC-V?

The semiconductor industry is at a major turning point. As Moore’s Law approaches its limits, chip design philosophy is shifting from single high-performance cores to heterogeneous architectures that combine multiple different types of processors. Amid this change, RISC-V, an open-source ISA …

Read more →

How to Build GCC from Source Code

Here’s a comprehensive script for building the latest GCC compiler from source code. I’ll omit detailed explanations of options as they are available on the official documentation. Building GCC yourself instead of using system packages allows you to access the latest features and bug …

Read more →