Scene Image

Return Address Misadventures

Oops, did I misalign the Return Address Stack again? At least I call before I return!

Dive into the intricate world of processor microarchitectures as you navigate through a series of microbenchmarks to measure the behavior of the Return Address Stack predictor in various Intel and AMD processors. Test the RAS capacity, study RAS behavior after pipeline flushes, and uncover the quirks and bugs in modern processors' branch prediction mechanisms.