4. A benchmark program is run on an 80 MHz processor. Based on the recorded measurements shown below, determine the effective CPI, MIPS rate, and execution time for this program. Instruction Type Instruction Count CPI Integer Arithmetic 30,000 1 Data Transfer 45,000 2 Floating Point 15,000 Control Transfer 10,000 2 Show your work for credit. Effective CPI:
Q: Given : Instruction Type 1, 2, and 3 on Machine M CPI, = 1: CPI2 = 2; CPI3 = 3 Answer with just a…
A: instruction type 1,2,3 on machine :-
Q: A processor has the following mix of instruction types, which require different amounts of time to…
A: For executing the instructions total time is evaluated below. Type 1 instruction take 800ps. So…
Q: 1. Solve the following problems: a) Given a 50 MHz FOSC, how long does it take the instruction goto…
A: We need to find time and number of instructions.
Q: B. For data type double, what lower bound on the CPE is determined by the critical path? C. Assuming…
A: The solution for the above given question is given below:
Q: / What is the result of executing the following instruction sequence? MOV AX, OAH MOV BX, 100 MOV…
A: Solution: Instruction Sequencing: The order in which the instructions in program are…
Q: Assuming that SP = 0x2000,2000 initially, what is its value after executing the instruction POP…
A: 0x2000.200c is correct answer. explaination given below:-
Q: A benchmark program is run on a 50 MHz processor. The executed program consists of 200,000…
A: In this case, we have to determine effective MIPS rate from the given information.
Q: Consider computing the overall CPI for a machine Z for which the following performance measures were…
A: CPI (Cycles per instruction) is one dimension of output of processor in computer architecture. For…
Q: A benchmark program is run on a 50 MHz processor. The executed program consists of 200,000…
A: The given is: Clock rate or frequency = 50 MHz Total number of instructions = 200000 Instruction mix…
Q: Consider computing the overall MIPS for a machine A for which the following performance measures…
A: So here question is given we have to calculate CPI and MIPS
Q: Using a typical benchmark program, the following machine characteristics result: Processor Clock…
A: a) MIPS rate can be computed as:
Q: 10. Suppose AX = 5 (decimal), what will be the value of AX after the instruction SHL AX, 3 executes?…
A: The SHL instruction in the assembly language is denoted as the instruction that is used for shifting…
Q: Home Work: compute MIPS for two different machines running a given set of benchmark programs: No. of…
A: MIPS:- Million instruction per second MIPS can be calculate using the following formula :-…
Q: Assume for a given program, 60% of the executed instructions are of Class A, 10% are of Class B, and…
A: Class A Instructions = 60% = 0.6 Class B Instructions = 10% = 0.1 Class C Instructions = 30% =…
Q: A typical computation program is run on a 20 MHz processor. The executed program consists of 50000…
A: Provided the solution for above given question i.e effective CPI and execution time for given…
Q: Question 1 Using a typical benchmark program, the following machine characteristics result:…
A:
Q: A benchmark program is run on a 40 MHz processor. The executed program consists of 100,000…
A: Given data: The clock speed of the Processor = 40 MHz Number of instructions the executed program…
Q: 8. Write equivalent instruction sequences using string instructions or each of the following: a) MOV…
A: Write equivalent instruction sequences using string instructions for each of the following: (a) MOV…
Q: Consider a system with only two types of instructions, A and B. Type A instructions each require 7…
A: Given: Type A instructions each require (CPIA ) = 7 clock cycles Type B instructions each require…
Q: 1. Given the assembly language program below, run it and list the flags status afier cach…
A: As you have posted multiple questions, we will solve the first question for you. mov ax,8h will…
Q: Question: A benchmark program is run on a 80 MHz processor . The executed program consists of 90,000…
A:
Q: h. What is the throughput of a 100 instruction program executing on a nonpipelined machine? i. What…
A: h) The throughput of a 100 instruction program executing on a nonpipelined machine throughput =…
Q: Given : Instruction Type 1, 2, and 3 on Machine M CPI, = 1: CPI2 = 2; CPI3 = 3 Answer with just a…
A: As per answering guidelines, solving first 3 sub question A. Average CPI = 0.31*1 + 0.29*2 + 0.4*3…
Q: 8. For a single cycle processor, the instruction breakdown of a program is listed as following. add…
A: The above question is answered in step 2:-
Q: a. What is Average CPl of machine M running a program P that has 31% Type 1 instructions, 29% Type 2…
A: the answer is..
Q: A benchmark program is run on a 40 MHz processor. The executed program consists of 100,000…
A: Calculating the CPI (Clocks per instructions): 45000 + (2*32000) + (2*15000) + (8000*2) / (100 000)…
Q: Assume a program requires the execution of 50*106 FP instructions, 110*106 INT instructions, 80*106…
A: Given: Goal: We want to solve the above three parts.
Q: Consider computing the overall CPI for a machine Z for which the followin performance measures were…
A: It is defined as the estimation has been utilized by computer producers like IBM to degree the “cost…
Q: A computer hardware as the following latency for its instructions in Pico seconds: Type Instruction…
A: AS PER THE BARTLEBY POLICY I HAVE ANSWERD ONLY FIRST QUESTION
Q: The table below shows instruction-type breakdown for different programs. Using this data, you will…
A: The answer is
Q: Assume a program requires the execution of 75 ×106 FP instructions, 112 ×106 INT instructions, 88…
A: The answer is ...
Q: A benchmark program is run on a 40 MHz processor. The executed program consists of 100,000…
A: According to the asked question, the solution is given below with a proper explanation.
Q: Suppose you want to improve the performance of the processor in the previous program by 15%, which…
A: New execution time = 15% less than previous execution time = 0.85 * previous execution time =…
Q: 3. The following table shows the number of instructions for a program. ARITH STORE LOAD BRANCH TOTAL…
A: The Answer is in below Steps
Q: A benchmark program is run on a 40 MHz processor. The executed program consists of 100,000…
A: Given data: Clock speed of the Processor = 40 MHz Number of instructions the executed program…
Q: 2. Define Pipelining as related to improving processor performance, and then, calculate the number…
A: Given Data : Number of instructions = 5 Number of cycles per stage = 1 To find : Number of…
Q: The following table shows the number of instructions for a program with two sequences: Arith Store…
A: Actually, given information is The following table shows the number of instructions for a program…
Q: Question 1 You want to run two programs A and B on a computer. On the computer, four types of…
A: The current scenario here is to calculate the CPU time . Data given: Cycle period=120ps. No of…
Q: A benchmark program is run on a 40 MHz processor. The executed program c of 100,000 instruction…
A: Let us find total number of clock required. Total # of clock = IC count * CPI = 45000*1 + 32000*2 +…
Q: The design team for a simple, single-issue processor is choosing between two pipelined…
A: We are going to find average CPI And faster processor.
Q: The table below shows instruction-type breakdown for different programs. Using this data, you will…
A: Execution time = clock rate* CPI…
Q: Q.1- Make the right choice for the followings: 1. 8086 processor could be interfaced with memory…
A: The 8086 is a 16 bit microprocessor. The total number of output that are (a) 64 M The 8086 have 20…
Q: Machine A Instruction Count (millions) CPI Arithmetic 8 2 Instruction Class Load/Store 6 4 Branch 7…
A: Cycles per instruction, or CPI, is a metric that has been part of the VTune interface for years. It…
Q: For a given CPU integer operations a+b, and å b take almost Ical amount floating point (32 bit)…
A: Given: Performance of changing the maths from Integer to Floating point operations on the same CPU.…
Q: The relative performance of the IBM 360 Model 75 is 50 times that of the 360 Model 30, yet the…
A: solution.
Q: 8. After the execution of instruction NEG AX, what will be the value of AX with initial value of…
A: Please refer to the following step for the complete solution of the problem above.
Q: A benchmark program is run on a 50 MHz processor. The executed program consists of 200,000…
A: Given:
Q: Consider computing the overall CPI for a machine Z for which the following performance measures were…
A: The clock rate of the CPU = 200mhz. Instruction Category Percentage of Occurrence No. of cycles…
Q: Suppose that we can improve the floating point instruction performance of machine by a factor of 6…
A: The given problem will be solved using the Amdahl’s law. This law gives the formula for the speedup…
Q: Assume a program requires the execution of 50 × 106 FP instructions, 110 × 106 INT instructions, 80…
A:
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
- If a microprocessor has a cycle time of 0.5 nanoseconds, what’s the processor clock rate? If the fetch cycle is 40% of the processor cycle time, what memory access speed is required to implement load operations with zero wait states and load operations with two wait states?The table below shows instruction-type breakdown for different programs. Using this data, you will be exploring the performance trade-offs for different changes made to an MIPS processor. Class A Class B Class C Class D Total Program1 90 100 30 10 ? Program2 110 70 20 20 ? Calculate the total instructions required by each of the programs. Assuming that Class A take 1 cycle (CPI) , B and C instructions take 2 cycles, and D take 3 cycles, find the execution time for both the programs on a 3 GHz Processor. What is the speedup if the number of A instruction can be reduced by half and D instructions increased to double? (for both the programs)Assume that a program requires the execution of 125x106 FP (floating point) instructions, 130x106 INT (integer) instructions, 150x106 L/S (load/store) instructions, and 110x106 branching instructions. These instructions have CPIs of 1, 1, 8 and 4, respectively. Assume that the processor has a 5 GHz clock rate. a. Is it possible to run the program twice as fast if we improve the CPI of just the L/S instructions? If so, by how much? Show your calculations. b. What is the Speedup in the execution time of the entire program if the CPI of INT and FP instructions is reduced by 40% and that of L/S and branching instructions is reduced by 50%?
- Assume a program requires the execution of 75 ×106 FP instructions, 112 ×106INT instructions, 88 ×106 L/S instructions, and 12 × 106 branch instructions.The CPI for each type of instruction is 1, 3, 4, and 2, respectively. Assume thatthe processor has a 2 GHz clock rate.a) By how much must we improve the CPI of FP instructions if we wantthe program to run two times faster?b) By how much must we improve the CPI of L/S instructions if we wantthe program to run two times faster?c) By how much is the execution time of the program improved if theCPI of INT and FP instructions is reduced by 40% and the CPI of L/Sand Branch is reduced by 30%?3. The table below shows instruction-type breakdown for different programs. Using this data, you will be exploring the performance trade-offs for different changes made to an MIPS processor. Compute Load Store Branch Total Program1 600 600 200 50 ? Program2 900 500 100 200 ? a. Assuming that computes take 1 cycle, loads and store instructions take 10 cycles, and branches take 3 cycles, find the execution time for both the programs on a 3 GHz Processor. b. Assuming that computes take 1 cycle, loads and store instructions take 2 cycles, and branches take 3 cycles, what is the speedup if the number of compute instruction can be reduced by one-half?Consider a HW ISA program P1 with the following Instruction Memory IM: a. fill in the execution table for program P1 using the IM. Use the same notational conventions used in the example execution table for P0 below. Any numbers beginning with 0x will be interpreted as hexidecimal; any numbers not beginning with 0x will be interpreted as decimal. b. Show the final values of the registers R2, R3, and R4 when the program execution halts. Again, any numbers beginning with 0x will be interpreted as hexidecimal; any numbers not beginning with 0x will be interpreted as decimal.
- Assume for a given program, 60% of the executed instructionsare of Class A, 10% are of Class B, and 30% are of Class C. Furthermore,assume that an instruction in Class A requires 3 cycles, an instruction inClass B requires 2 cycles, and an instruction in Class C requires 2 tocomplete. i. Compute the overall CPI for this program.ii. Compute the clock rate of the CPU when the time it takes tocomplete 20 instructions is 1.73 ???????????Your favorite computer program (after being converted to MIPS assembly code, then to machine code) results in 2.5e8 instructions. Consider the three different CPUs and their clock rates and CPIs and determine how much time it would take each of them to execute this program. Rick Sanchez’s computer with a clock rate 7.99 Hz (hertz, not gigahertz) and a CPI of 1.1.Your favorite computer program (after being converted to MIPS assembly code, then to machine code) results in 2.5e8 instructions. Consider the three different CPUs and their clock rates and CPIs and determine how much time it would take each of them to execute this program. Lawrence’s computer with a clock rate of 3.32 Ghz and a CPI of 1.2.
- 6. Fill in the requested register values on the right side of the following instruction sequence:mov esi,OFFSET myBytesmov ax,[esi] ; a. AX =mov eax,DWORD PTR myWords ; b. EAX =mov esi,myPointermov ax,[esi+2] ; c. AX =mov ax,[esi+6] ; d. AX =mov ax,[esi-4] ; e. AX =two different compilers are being tested on the same program for a 3.6GHz machine with three different classes of instructions: Class A,B and C, which require 1, 2 and 3 cycles respectively. the instruction count produced by the first compiler is 4 billion Class A instuctions, 1 billion class B and 4 billion class C instructions. the second compiler produces 8 billion Class A instructions, 2 billion Class B and 3 billion class C instructions. which compiler produces a higher MIPS? which compiler produces a better execution time?Assume a 3GHz processor executes three classes of instructions(A, B, C).i. Calculate the average CPI for this sequence of program.ii. Calculate the execution time for this sequence of program.iii. If we use a system with four same processors, there will bespeed up by a factor of 4 for classes A and C, but class B willremain unaffected. Calculate the new execution time for thissystem. What is the overall speed up? Class A B C CPI for class 4 2 10 IC in sequence 100 200 300