Order relaxation
An architectural optimization where the processor is allowed to reorder instructions to improve performance, as long as data dependencies are preserved.
A processor can freely reorder two independent instructions. You might write load x, then write y, but the processor executes them backwards because they don't depend on each other. This is order relaxation—an architectural design choice. Modern processors like ARM aggressively relax; x86 is more conservative. Programmers must then be explicit about which orders matter, using acquire-release semantics and memory barriers. An atomic operation with `memory_order_relaxed` says "reorder this freely," while `memory_order_acquire` or `memory_order_release` provide guarantees.