Question

uestion 4 of a given program compiles to fewer dynamic instructions on processor Athan it does on processor and it has a lowe
0 0
Add a comment Improve this question Transcribed image text
Answer #1

It is True.

Explanation:

The performance of a Processor is based on the three main factors Clocks per Cycle(CPI) ,Instruction Count(IC) and Clock time(CT).

Instruction Count(IC):The Total number of Instructions to be executed in the Whole Program

Clock time(CT): It is a time period of clock in which the circuits in the Processor are Synchronized.

Clocks per Cycle(CPI) : It is Effective average of the Number clocks(a small unit of time for measurement) required to complete a Instruction cycle. As the lower CPI then Processor has higher Performance.

The given processor A and B are runs the same program. But the CPI of the Processor A is lower than the Processor B.As mentioned above lower the CPI then there will be Higher performance.So It executes faster in Processor A than on the Processor B.

If You Have Any Doubts. Please Ask Using Comments.

Have A Great Day!

Add a comment
Know the answer?
Add Answer to:
uestion 4 of a given program compiles to fewer dynamic instructions on processor Athan it does...
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
  • Question 1 A processor can have different CPls for different programs. True False Question 2 After...

    Question 1 A processor can have different CPls for different programs. True False Question 2 After performing the division operation, the divisor and remainder must have the same sign. True False A Moving to another question will save this response. Moving to another question will save this response Question 3 of 18 Question 3 2 points Swe of a gven program compiles to fewer dynamic instructions on processor A than it does on processor and it has a lower CPI...

  • Assume that for a program, compiler A results in a dynamic instruction count of 8.0E8 and...

    Assume that for a program, compiler A results in a dynamic instruction count of 8.0E8 and has an execution time of 2.4 s, while compiler B results in a dynamic instruction count of 1.25E9 and an execution time of 1.8 s. a. [10] Find the average CPI for each program given that the processor has a clock cycle time of 2 ns. b. [10] Assume the compiled programs run on two different processors. If the execution times on the two...

  • A program executes 10 billion instructions. It executes on an Intel processor that has an average...

    A program executes 10 billion instructions. It executes on an Intel processor that has an average CPI of 1.5 and a clock frequency of 2 GHz. How many seconds does the program take to execute? What is the cycle time of this Intel processor? Assume that an AMD processor takes 6 seconds to execute the program. What is the speedup provided by the Intel processor, relative to the AMD processor

  • c. Performance: Company A's processor and Company B's processor are benchmarked on the same program. The...

    c. Performance: Company A's processor and Company B's processor are benchmarked on the same program. The CPI of the component instructions that are executed in the program are shown above for each processor. Additionally, the number of instructions of each type is provided. Company A 5 Branch CPI Load/Store CPI Arithmetic CPI 7 1 Company B 4 Branch CPI Load/Store CPI Arithmetic CPI 9 1 Program Instruction Count Branch Load/Store Arithmetic CPL 1.2x109 1.67x1010 1.5x1011 i. Assume Company A has...

  • 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...

  • A given processor requires 1000 cycles to perform a context switch and start an interrupt handler...

    A given processor requires 1000 cycles to perform a context switch and start an interrupt handler (and the same number of cycles to switch back to the program that was running when the interrupt occurred), or 500 cycles to poll an I/O device. An I/O device attached to that processor makes 150 requests per second, each of which takes 10,000 cycles to resolve once the handler has been started. By default, the processor polls every 0.5 ms if it is...

  • 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...

  • My program wont return boolean. There's nothing in the console.Here's the instructions: Given an array of...

    My program wont return boolean. There's nothing in the console.Here's the instructions: Given an array of ints, compute recursively if the array contains somewhere a value followed in the array by that value times 10. We'll use the convention of considering only the part of the array that begins at the given index.In this way, a recursive call can pass index+1 to move down the array. The initial call will pass in index as 0. examples are: array220([1,2,20],0)----true array220([3,30],0)----true array220([3],0))----false...

  • 1-How many bytes are in a halfword? 4 2 6 8 2-Which of the following is...

    1-How many bytes are in a halfword? 4 2 6 8 2-Which of the following is NOT true of pseudo-instructions? They tend to be easier to understand than their machine instruction counterparts They map one-to-one to machine instructions They are “shortcuts” to common operations They may map to one or more machine instructions 3- What is the .data section of a MIPS program used for? To define variables to be used in the MIPS program It tells you that this...

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