IT lexicon › Hardware › Load/store queue

Load/store queue

Hardware På svenska → Updated: 2026-05-29

The buffers that handle memory operations (loads and stores) in an out-of-order CPU and keep track of their order and dependencies. Crucial for being able to run memory accesses out of order without breaking the program's semantics.

Problem: memory operations are tricky to run out of order because a load can depend on a previous store to the same address — but addresses are often unknown until late. The load/store queue tracks all in-flight memory operations and their addresses, and handles: store-to-load forwarding (if a load hits an address that a not-yet-written store in the queue owns, the value is forwarded directly from the queue instead of from the cache), and memory disambiguation (deciding whether a load can run before a preceding store whose address is still unknown — guess and roll back on a mistake). This is one of the most complex parts of a modern core and a common bottleneck. Tightly tied to the cache and the ROB. Related to out-of-order execution and cache miss.

← Back to the lexicon