subject

After graduating, you are asked to become the lead computer designer at Hyper Computers, Inc. Your study of usage of high-level language constructs suggests that procedure calls are one of the most expensive operations. You have invented a scheme that reduces the loads and stores normally associated with procedure calls and returns. The first thing you do is run some experiments with and without this optimization. Your experiments use the same state-of-the-art optimizing compiler that will be used with either version of the computer. These experiments reveal the following information: a. The clock rate of the unoptimized version is 5% higher;
b. 30% of the instructions in the unoptimized version are loads or stores;
c. The optimized version executes 2/3 as many loads and stores as the unoptimized version. For all other instructions the dynamic execution counts are unchanged;
d. All instructions (including load and store) take one clock cycle.
Which is faster? Justify your decision quantitatively.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:30
How do you take a green screen out of the video while editing?
Answers: 2
question
Computers and Technology, 24.06.2019 01:30
Write a program that asks the user to enter the name of an input file. if the file does not exist, the program should prompt the user to enter the file name again. if the user types quit in any uppercase/lowercase combinations, then the program should exit without any further output.
Answers: 3
question
Computers and Technology, 24.06.2019 02:00
Write an expression that will cause the following code to print "equal" if the value of sensorreading is "close enough" to targetvalue. otherwise, print "not equal". ex: if targetvalue is 0.3333 and sensorreading is (1.0/3.0), output is:
Answers: 1
question
Computers and Technology, 24.06.2019 02:00
Which steps will open the system so that you can enter a question and do a search for
Answers: 1
You know the right answer?
After graduating, you are asked to become the lead computer designer at Hyper Computers, Inc. Your s...
Questions
question
Social Studies, 17.11.2019 07:31
question
Mathematics, 17.11.2019 07:31
question
Mathematics, 17.11.2019 07:31
question
Social Studies, 17.11.2019 07:31
Questions on the website: 13722367