# Paper Writing Services long should the code take on a 20 core processor macne? (d) A computer uses instruction pipelining with P=4 stages named FD,

Abstract
2 Control transfer 500 2 Determine ts program’s (i) effective CPI and (ii) the percentage of time doing FP ops. (b) A new computer with enhanced arctecture run 16 times faster than the original macne, but it is usable only 1/8 of the time. What is the speedup? (c) A program takes 15 seconds to execute on a

) A program is run on a 2.1 GHz processor. The program’s code consists of 10,000 instructions, with the following instruction mix and clock cycle count: Instruction Type Instruction Count (# of such instructions) Clock Cycle Count (# of clock cycles / instr.) Integer arithmetic 5000 1 Data transfer 3000 2 Floating point 1500 2 Control transfer 500 2 Determine ts program’s (i) effective CPI and (ii) the percentage of time doing FP ops. (b) A new computer with enhanced arctecture run 16 times faster than the original macne, but it is usable only 1/8 of the time. What is the speedup? (c) A program takes 15 seconds to execute on a single 1.8GHz processor. 30% of the program is sequential. Assuming zero latency and perfect parallelism in the remaining code, how long should the code take on a 20 core processor macne? (d) A computer uses instruction pipelining with P=4 stages named FD, DO, EX, WO. Each stage takes T seconds to perform its task. Suppose you have N=9 instructions in your program wch has a branch from instruction 4 to 8. Draw a figure to show what happens over time as each instruction is processed. Indicate the branch penalty. Question 2. Consider the following code sequence: i: R7 R12+R5 i+1: R8 R7-R12 i+2: R5 R8+R7 (a) List the RAW dependencies, if any: (b) List the WAR dependencies, if any; rewrite code showing how to avoid them:

Sample references
• (‘Houghton, R. A. 2005. Aboveground forest biomass and the global carbon balance. Global Change Biology 11(6):945-958.’,)
• (‘Filion, Y. R. 2008. Impact of urban form on energy use in water distribution systems. Journal of Infrastructure Systems 14(4):337-346.’,)
• (‘Hegerl, G. C., T. R. Karl, M. Allen, N. L. Bindoff, N. Gillett, D. Karoly, X. Zhang, and F. Zwiers. 2006. Climate change detection and attribution: Beyond mean temperature signals. Journal of Climate 19:5058-5077.’,)
• (‘Champely, Stephane (2016). pwr: Basic Functions for Power Analysis. R packageversion 1.2-0. https://CRAN.R-project.org/package=pwr’,)