Question: In class we covered the LLPex example, and did constraint graphs for the normal code, and for a version that was 2 x unrolled (
In class we covered the LLPex example, and did constraint graphs for the normal code, and for
a version that was x unrolled ie the loop body handles both X # and X # and
compiler register renamed. For this homework, do the following. NOTE: We are ONLY
scheduling the body of the loop you can ignore the ADDI at the beginning to initialize the loop
variable. Also, when scheduling do NOT change the code, just schedule what you produced in
the previous steps, or got from lecture:
a Create a x unrolled version of the code lets call it LLPex with compiler register
renaming ie use different registers in the code to increase parallelism, but do NOT
assume hardware register renaming, the a stuff
b Draw the constraint graph for LLPex Each edge of the constraint graph should indicate
the cause ieRAW XControl etc.
c Schedule both LLPex the original code and LLPex onto the lab # processor.
d Schedule both LLPex and LLPex onto a way VLIW. Both issue slots can do ALU
operations, and both can do branch operations. Only one of the issue slots is allowed to
do loads and stores. There are load delay slots cannot use the value loaded in the
subsequent cycle and branch delay slots the other instruction in the same cycle, and
both instructions in the next cycle, ALWAYS execute regardless of whether the branch is
taken or not
For # and # please make sure the code schedule is as short as possible.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
