Architecture


Explain Hardware based Speculation



Download 307,87 Kb.
bet7/12
Sana15.01.2023
Hajmi307,87 Kb.
#899710
1   2   3   4   5   6   7   8   9   ...   12

Explain Hardware based Speculation

Hardware based speculation


  • Execute instructions along predicted execution paths but only commit the results if prediction was correct

  • Instruction commit: allowing an instruction to update the register file when instruction is no longer speculative

  • Need an additional piece of hardware to prevent any irrevocable action until an instruction commits. i.e. updating state or taking an execution.

Reorder Buffer


  • Reorder buffer – holds the result of instruction between completion and commit

  • Four fields:

    • Instruction type: branch/store/register

    • Destination field: register number

    • Value field: output value

    • Ready field: completed execution?

  • Modify reservation stations:

  • Register values and memory values are not written until an instruction commits

  • On misprediction:

  • Exceptions:

    • Not recognized until it is ready to commit

Multiple issue and static scheduling


  • To achieve CPI < 1, need to complete multiple instructions per clock

  • Solutions:

    • Statically scheduled superscalar processors

    • VLIW (very long instruction word) processors

    • dynamically scheduled superscalar processors

Limitations of ILP


    1. An instruction stream needs to be run on an ideal processor with no significant limitations.

    2. The ideal processor always predicts branches correctly, has no structural hazards.

    3. This eliminates all control and name dependencies. (only data dependencies)

    4. Theoretically it is possible for the last dynamically executed instruction in the program to be scheduled on the first cycle.

Download 307,87 Kb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   ...   12




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©www.hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish