SIMDE-ULL / SIMDE

Educational computer simulator on a mission to "superscalate" the study of computer architecture fundamentals
https://simde.net
GNU General Public License v3.0
13 stars 11 forks source link

Is VLIW hazard and dependency checking fully implemented and does it works correctly? #64

Open endes0 opened 1 year ago

endes0 commented 1 year ago

Analyzing the code, this function https://github.com/etsiiull/SIMDE/blob/9809355f1c1ad4f07b845d1d5afbcbd66ed24c3e/src/core/VLIW/VLIW.ts#L78 and this other https://github.com/etsiiull/SIMDE/blob/9809355f1c1ad4f07b845d1d5afbcbd66ed24c3e/src/core/VLIW/VLIW.ts#L90 seems that are never called. Also, it seems that SIMDE web never checks dependencies statically and while running we should investigate is the hazard detector is working as intended (see https://github.com/oxcabe/SIMDE/pull/45#discussion_r1186752801)