Aldy Hernandez

Aldy travels the world while hacking on free software. He has been contributing to the GNU compiler suite for almost two decades, from every continent except Antarctica. When not glued to the computer screen, he's usually out riding bikes.

Aldy Hernandez's contributions

Red Hat Developer
Article

A gentle introduction to jump threading optimizations

Aldy Hernandez

This article describes GCC compiler optimizations for jump threading. Jump threading's major goal is to reduce the number of dynamically executed jumps on different paths through the program's control flow graph, which often results in improved performance due to the reduction of conditionals and, in turn, enables further optimizations.

GNU C library
Article

Diagnosing Function Pointer Security Flaws with a GCC plugin

Aldy Hernandez +1

A few months ago, I had to write some internal GCC passes to perform static analysis on the GNU C Library (glibc). I figured I might as well write them as plugins since they were unlikely to see the light of day outside of my little sandbox. Being a long time GCC contributor, but having no experience writing plugins I thought it'd be a good way to eat our own dog food, and perhaps write about my experience. Unfortunately, I...

GNU C library
Article

Bootstrapping POWER8 little endian and common pitfalls

Aldy Hernandez

Earlier this year I was asked to bootstrap our core tools (compiler, assembler, linker, and libraries) from the ground up, to help the rest of the team in providing enough infrastructure for bootstrapping an entire OS to POWER8 little endian. Since I spend most of my days working on the upstream development of the GNU Compiler Collection (GCC), prior to this project I hadn't actually worked much with either RHEL's development processes or RPM as a whole. So leading our...