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 2x unrolled (i.e. the loop body handles both [X0, #0] and [X0, #1] 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 4x unrolled version of the code (lets call it LLPex4) with compiler register
renaming (i.e. use different registers in the code to increase parallelism, but do NOT
assume hardware register renaming, the a0.1 stuff).
b.) Draw the constraint graph for LLPex4. Each edge of the constraint graph should indicate
the cause (i.e.RAW X0,Control, etc.).
c.) Schedule both LLPex (the original code) and LLPex4 onto the lab #4 processor.
d.) Schedule both LLPex and LLPex4 onto a 2-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 #3 and #4 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!