The following Program is designed to evaluate the expression, C(I) = [ A(I)] +B(1) for 1...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The following Program is designed to evaluate the expression, C(I) = [ A(I)] +B(1) for 1 I 32. In the program: R1, R2, R3 and R4 are registers, A, B, and C are memory arrays, and the first operand indicates the destinations. Assume 5 cycles for (load, store), 4 cycles for (add, Inc) and 10 cycles for (mul). ADD Again: 5 LOAD 5 LOAD 40 MUL I, zero, 1 RI, A(1) R2, B(1) R3, R1, R1 R4, R2, R3 C(I), R4 1 ADD 5 STORE INC BGreater 1 Calculate the total number of cycles required to evaluate this expression on: SISD machine. b) SIMD (32 PEs) with shared memory system (single read or write at a time). SIMD (32 PEs) with distributed memory system. d) MIMD (16 PEs) with shared memory systems (single read or write at a time).. MIMD (16 PEs) with distributes memory systems. I I, 32, Again The following Program is designed to evaluate the expression, C(I) = [ A(I)] +B(1) for 1 I 32. In the program: R1, R2, R3 and R4 are registers, A, B, and C are memory arrays, and the first operand indicates the destinations. Assume 5 cycles for (load, store), 4 cycles for (add, Inc) and 10 cycles for (mul). ADD Again: 5 LOAD 5 LOAD 40 MUL I, zero, 1 RI, A(1) R2, B(1) R3, R1, R1 R4, R2, R3 C(I), R4 1 ADD 5 STORE INC BGreater 1 Calculate the total number of cycles required to evaluate this expression on: SISD machine. b) SIMD (32 PEs) with shared memory system (single read or write at a time). SIMD (32 PEs) with distributed memory system. d) MIMD (16 PEs) with shared memory systems (single read or write at a time).. MIMD (16 PEs) with distributes memory systems. I I, 32, Again
Expert Answer:
Related Book For
Posted Date:
Students also viewed these databases questions
-
Part A - Head loss A gate valve is being used as a shut-off valve in a pipe system. When the valve is fully open, the flow through the 9-cm diameter pipe is 50 L/min. What is the head loss at the...
-
QUIZ... Let D be a poset and let f : D D be a monotone function. (i) Give the definition of the least pre-fixed point, fix (f), of f. Show that fix (f) is a fixed point of f. [5 marks] (ii) Show that...
-
Let A, B be sets. Define: (a) the Cartesian product (A B) (b) the set of relations R between A and B (c) the identity relation A on the set A [3 marks] Suppose S, T are relations between A and B, and...
-
Ninna Company manufactures wooden shelves. An accountant for Ninna just completed the variance report for the current month. After printing the report, his computers hard drive crashed, effectively...
-
Refer to the International Conference on Social Robotics (Vol. 6414, 2010) study of the trend in the design of social robots, Exercises 3.10 and 3.37. Recall that in a random sample of 106 social...
-
Kathryn has lived in her house for one year. Her company recently relocated to a city 100 miles away, forcing her to move. She purchased her house a year ago for $400,000 and sold it for $525,000,...
-
What is relevance?
-
Pratt & Whitney, a major aircraft engine manufacturer, wants to re-evaluate the transportation mode it uses to send unfinished parts to its joint-venture facility' in Chengdu, China.6 Annual demand...
-
In AABC, centroid D is on median AM AD=x+4 and DM = 2x-4. Find AM. 12 4 O 13
-
Pecos Company acquired 100 percent of Suaro's outstanding stock for $1,450,000 cash on 1/1/2014, when Suaro had the following balance sheet: Cash - $37,000 Liabilities - ($422,000) Receivables -...
-
What is the property of water that help in transport of water against gravity from the roots in plant? Cohesion alone B. Adhesion alone C. Specific heat D. Adhesion and cohesion E. Water expansion 2...
-
Nine years ago, Ann entered into a $34,000 mortgage loan of 20 years and at a fixed rate of 12% p.a. (compounding monthly) with HSBC. a. What is Ann's monthly payment? b. How much does she still owe...
-
Information for two alternative projects involving machinery investments follows. Project 1 requires an initial investment of $ 2 5 6 , 5 0 0 . Project 2 requires an initial investment of $ 1 7 4 , 0...
-
If the average return on common stocks was 13.3%, the average Treasury bill rate was 3.8%, and the average inflation rate was 3.2% what would be the expected nominal and approximate real market...
-
Problem #4: As part of a promotion, you can buy a new living room set today and make no payments for 3 years. Starting exactly 3 years from today, you will make 5 annual payments of $1500 each. If...
-
1 - The management of KADJI expects to receive cash revenues of $120m, $180m and $300m four, five and six years from now, respectively.KADJI can earn an annual return of 5%, compounded annually, on...
-
1. What are some of the reasons people delay or avoid medical care? 2. Describe 2-3 barriers to visiting a health professional and explain how they affect help-seeking behavior. 3. Discuss potential...
-
Dan and Diana file a joint return. Dan earned $31,000 during the year before losing his job. Diana received Social Security benefits of $5,000. a. Determine the taxable portion of the Social Security...
-
Given the utility function
-
Find the producers surplus at Q = 9 for the following supply functions: (a) P = 12 + 2Q (b) P = 20Q + 15
-
Solve the following pairs of simultaneous linear equations graphically: (a) 2x + y = 2 2x + y = 6 (b) 3x + 4y = 12 x + 4y = 8 (c) 2x + y = 4 4x 3y = 3 (d) x + y = 1 6x + 5y = 15
-
Copying of the successful practices of others is called __________. (a) mimicry (b) scanning (c) grafting (d) strategy
-
The process of acquiring individuals, units, and/or firms to bring in useful knowledge to the organization is called __________. (a) grafting (b) strategy (c) scanning (d) mimicry
-
A firm which refuses to use debt in its capital structure even though it is capable of doing so will: a. Have too low of a WACC b. Incorrectly calculate prospective project NPVs as being too high c....
Study smarter with the SolutionInn App