Question
Please help me !!!
7. CPI (15 points). You designed a new CPU (not that has only 5 instructions. You found that the CPU provides the followin performance characteristic in Table 7-1. The CPU is able to run at 800MHz. Table 7-1. CPIs of Instructions 3 5 CPI IW t3 64 sp lw $t1, -64 ($sp) sub $t6,$t3, $11. beq $t6, $zero, ELSE add $t2, $s0,$s1 addi $t2,$t2,4 ELSE: sub $t3,$t3, 4 add $t2,$t3, $t1 sw $t2, 32 ($sp) sw $t3, -34 ($sp) Figure 7-1. MIPs Code (7.1) How many clock cycles does How much time does CPU need to run the code? (5 points) (7.3 What is the average CPI to run the code on the CPU? (5 points)
0 0
Add a comment Improve this question Transcribed image text
Answer #1

İns+Yu.ct70nC ave, angtru ction--> 3 ctions → 3 s 52 cycles all nesdaal se, t52 tas,25x52 62

Add a comment
Know the answer?
Add Answer to:
Please help me !!! You designed a new CPU (not pipelined) that has only 5 instructions....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • A program that executes 12.3x107 instructions is run on a pipelined processor. The table below provides...

    A program that executes 12.3x107 instructions is run on a pipelined processor. The table below provides the percentage of executed instructions for each type of instruction. Instruction Executed P ipeline CPU type instructions (%) w/o hazards ALU 29.4 Load 29.7 Store 14.7 Branch 26.2 2 (w/o prediction) 27% of the load instructions are followed by instructions that need the data being loaded, 47% of the branches are actually.not taken, please assume not taken prediction. a) Please determine the overall cycles...

  • Design and implement a C Language program that measures the performance of given processors. There are...

    Design and implement a C Language program that measures the performance of given processors. There are several metrics that measure the performance of a processor. We will be using the following 3 measures: 1.CPI (clock cycles per instruction) = #clock cycles /#instructions 2.CPU execution time = #instructions x CPI x clock cycle time . cylce time = 1/CPU clock rate in hertz units 3.MIPS (mega instructions per second)= #instrucrions/ CPU X 1000000 Typically, processors’ performance is measured using a wide...

  • Make sure to show how you solved the problem step-by-step: Consider three different processors P1, P2,...

    Make sure to show how you solved the problem step-by-step: Consider three different processors P1, P2, and P3, executing the same instruction set. P1 has a clock cycle time of 300 picosecond and a CPI (clock cycles per instruction) of 1.5. P2 has a clock cycle time of 400 picosecond and a CPI of 1.0. P3 has a clock cycle time of 250 picosecond and a CPI of 2.0. P1 is running a program with 10 instructions. P2 is running...

  • Topics 1. MIPS instruction set architecture (ISA). 2. Performance. 3. MIPS datapath and control. Exercise 1...

    Topics 1. MIPS instruction set architecture (ISA). 2. Performance. 3. MIPS datapath and control. Exercise 1 Consider the memory and register contents shown below. Registers Ox0100 FFF8 13 ($t 5) 14 ($t6) 0x0100 FFFC 0x0101 0000 Memory 0x0000 0000 0x0001 1100 0x0A00 со00 0x1234 4321 OxBAOO OOBB 15 OXAAAA 0000 0x1111 1010 0x7FFF FFFD 0x0100 FFFO 0x0101 0008 (St7) Ox0101 0004 16 ($80) 0x0101 0008 17 ($sl) Show what changes and give the new values in hexadecimal after the following...

  • Consider the following problem: You are the chief designer for the next generation smart gadget. In...

    Consider the following problem: You are the chief designer for the next generation smart gadget. In order to work optimally, you need the fastest processor possible. Processor A has a clock rate of 2GHz and an average CPI of 2.0 Processor B has a clock rate of 8GHz, but the average CPI is 7. What is the cycle time of Processor A? Assume a program has 100 instructions, what is the CPU time for Processor A? What is the cycle...

  • If any more information is required to answer, please let me know and I can provide...

    If any more information is required to answer, please let me know and I can provide it. Suppose that you wrote a program in assembly and you kept an accurate track of the program counter (PC) values, if the PC value of your last instruction was 0x03A1. Will the program work correctly in Wimp51? Why? (5 pts) According the given assembly code in Question.1, how many clock cycles will it take in Simon Board (LPC932A1). Show your calculation or demonstration...

  • PLEASE Solve problem 3. Thank you ction Reference 30% of all instructions are reads, 10% writes . All other instruction...

    PLEASE Solve problem 3. Thank you ction Reference 30% of all instructions are reads, 10% writes . All other instructions take 1 cycle. A. Calculate CPI for this machine. B. Changing the L1 cache to 4 way set associative increases the hit rate to 95% in L1 but added complexity of hardware means we must reduce the clock rate to 2.2GHZ. What is the CPI in this case? Is this change worthwhile? Virtual memory 3 Assume a 48 bit virtual...

  • 4. Core i5 and i7 are two different types of CPU manufactured by Intel. As you...

    4. Core i5 and i7 are two different types of CPU manufactured by Intel. As you may know as a matter of fact, Intel does not produce two types of CPUs. Instead, they just produce Core i7 chips. However, since a chip contains many millions of transistors, some of the transistors may not work properly, while other regions from the chip are working perfectly. In this case, Intel does not scrap the chip to trash, as it will be a...

  • 1. One of the reasons why the MARE architecture is very inefficient is because it only has 1AC As...

    I need answer for qustion (2) 1. One of the reasons why the MARE architecture is very inefficient is because it only has 1AC Assuming that you have access to many other ACs (AC, AC1, AC2, etc) Assume that in the new MARIE Architecture, you can do ADD 105 AC1 This means: Value @ x105 ACAC or suB 104 AC2 → This means: Valus @ x 104 + AC → AC2 How would your program (Lab #s, Question 1, also...

  • Please help me with questions 3-5 You are expected to come to lab with these questions...

    Please help me with questions 3-5 You are expected to come to lab with these questions answered They will be taken up at the beginning of the lab period in which you perform this experiment. 1. The lab report gives you the net ionic equation rather than the molecular equation for the clock reaction. Were there any spectator ions present when you ran your reactions, if so what were they? 2. The two ions that react in this experiment are...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT