• Kairos@lemmy.today
    link
    fedilink
    English
    arrow-up
    13
    ·
    edit-2
    6 months ago

    That’s accurate.

    Its done through multiple algorithms, but the general idea is to schedule calculations as soon as possible, accounting for data hazards to make sure everything is still equivalent to non out of order execution. Individual circuits can execute different things at the same time. Special hardware is needed to make the algorithms work.

    There’s also branch prediction which is the same thing kind of except the CPU needs a way to ensure if the prediction was actually correct.