Question: Problem 5 We would like to evaluate a cubic polynomial Dr3-Ar2 + Br-C using a LOAD/STORE instruction set architecture. D, A and B are both

 Problem 5 We would like to evaluate a cubic polynomial Dr3-Ar2
+ Br-C using a LOAD/STORE instruction set architecture. D, A and B
are both 32-bit intergers whereas C, and r are floating point numbers.

Problem 5 We would like to evaluate a cubic polynomial Dr3-Ar2 + Br-C using a LOAD/STORE instruction set architecture. D, A and B are both 32-bit intergers whereas C, and r are floating point numbers. Assume that z is already in register F7 and that the constants A, B, C are in memory locations 1000. 1004. 1008, respectively, whereas D is in location 2000 The code block below implements the polynomial in LOAD/STORE assembly like language, with comments. Code Block 1. LF F9, RO, 1008 2. LDW R3, RO, 1004 3. MULF F2, R3, F7 4. SUBF F9, F2, F9 5. MULF F2, FT, F7 6. LDW R2, RO, 1000 R3B F2xx MULF F4, R2, F2 8. SUBF F9, F4, F9 9. LDW R4, RO, 2000 10. MULF F4, R4, FT 11. MULF F7, F2, F4 12. SUBF F9, F7, F9 We would like to evaluate the polynomal on the LOAD STORE pipeline machine, augmented to implement the Tomasulo dynamic pipeline architecture; an example machine is shown in the next Figure. This machine has 1 Load Buffer (6 registers), Instruction Queue (6 registers). 2 Add/Subtract Units, 2 Multiply/Divide Units, 1 Sore Buffer, 16 FP registers, and 16 Integer Registers. We assume that the latencies of the floating-point addition and multiplication operations are 2 and 6 cycles, respectively Assume that 2 instructions can be issued at a time. Also, the Reservation Station status and the Register status are shown in the following Charts. Initially, the buffer contains the following instructions 1. LF F9, RO, 1008 F9C 2. LDW R3, RO, 1004

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 Databases Questions!