subject

Obviously, QtSpim simulates a single core processor. Assume (hypothetically) that there is a version of QtSpim that simulates a 4-core processor. Write a MIPS Assembly program that would take advantage of the 4 cores to speed up the execution of mathematical calculations. Specifically, write a program that receives as input two arrays of equal length, and replaces the content of each element in Array 1 with the sum of the corresponding elements in Array 1 and 2. Naturally, you will not be able to test the execution of your code. Instead, provide extensive comments throughout the hypothetical code. In addition, create diagrams that illustrate the execution (the values of your key variables and arrays). Since your program will consist of parallel iterative loops, show diagrams for the first 3 cycles, the middle cycle, and the last 3 cycles of the hypothetical program. Assume that the hypothetical processor implements the same exact Assembly as the single core MIPS, with the ability to execute certain types of instructions in parallel.

Required:
Calculate the hypothetical performance gain vs a single core MIPS and account for at least 3 overhead factors. Explain your assumptions, choices, and calculations, in detail in a separate document.

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 04:30, kkeith121p6ujlt
Eye injuries usually occur as a result of all of the following things, except: a) proper machine operation b) battery explosion c) falling or flying debris d) electric welding arc
Answers: 2
image
Computers and Technology, 22.06.2019 18:30, Jessieeeeey
Kto rozmawia z clamentain przez krótkofalówke w the walking dead która śledzi lee w 4 epizodzie
Answers: 1
image
Computers and Technology, 22.06.2019 21:00, mazolethrin9632
Which of these is most responsible for differences between the twentieth century to the twenty-first century?
Answers: 2
image
Computers and Technology, 23.06.2019 03:50, nakeytrag
Iam a bacterium. i cause stomach cramps and diarrhea. i am caused by eating rotten foodssuch as chicken, fish, or eggs. sometimes turtles carry my bacteria. what am i?
Answers: 2
You know the right answer?
Obviously, QtSpim simulates a single core processor. Assume (hypothetically) that there is a version...

Questions in other subjects:

Konu
Social Studies, 25.09.2019 21:00