Lukas Granberg Peer review
-
The code runs and gives the correct output.
-
You have quite a lot of nops that could be removed to get fewer cycles.
-
Generally you would need them after:
- any type of branch or jump.
- some kind of load ex lw when you directly after want to use the loaded data.
-
Ex:
-
Comments explaining the result of SPED_UP are missing
-
Comments for part2 are missing
-
You seem to be on your way to solve it. just slowly check with nops are needed or not run to check how many cycles and add the comments. Then you should be done