Intermediate Assembly Language
Q88 / 100

What is the hot and cold code split technique?

Correct! Well done.

Incorrect.

The correct answer is B) Placing frequently executed (hot) code at the start of a cache line and infrequently used (cold) code elsewhere to maximize cache utilization

B

Correct Answer

Placing frequently executed (hot) code at the start of a cache line and infrequently used (cold) code elsewhere to maximize cache utilization

Explanation

Keeping hot paths in nearby cache lines reduces i-cache misses. PGO (Profile-Guided Optimization) reorders functions to separate hot and cold code sections.

Progress
88/100