GCC Newspaper
NOVEMBER 30, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
alpha Performance Win

alpha: Model EV6 cross-cluster delay for MVI and multiply instructions

Accurately models the one-cycle delay between MVI and multiply instructions on the Alpha EV6 processor due to cluster synchronization.

The Alpha EV6 processor features two execution clusters, and values passed between them incur a one-cycle delay. This commit refines the instruction scheduling model to accurately reflect this cross-cluster latency for dependencies between the MVI (Move Immediate) unit and the multiplier. Previously, a less accurate model duplicated reservations, overestimating latencies. The updated model introduces specific bypass paths to account for the delay only when necessary, improving code generation for performance-sensitive chains involving these operations.

In Details

On the Alpha EV6, inter-cluster dependencies between U0 (count/MVI) and U1 (multiplier) incur a latency penalty. This commit revises config/alpha/ev6.md to model this cross-cluster delay. Instead of duplicating EBOX reservations as previously considered, it adds explicit bypasses between ev6_mvi and ev6_imul to represent the one-cycle penalty. This fix corrects performance predictions and code generation for chains like ctpop and mulq where data crosses clusters, as a dependent consumer in the other cluster arrives a cycle late.

For Context
MVI
Move Immediate instruction, used for loading constant values into registers on Alpha processors.
EBOX
Execution Box, a functional unit within the Alpha processor responsible for executing instructions.
Filed Under: alphaperformancescheduling