subject

Suppose we have an Consider the following C code to add a scalar s to a double type vector x[]: for (i=998; i>=0; i=i–1) x[i] = x[i] + s; Its MIPS code is: Loop: L. D F0,0(R1) #R1 is intital highest address of x[] ADD. D F4,F0,F2 #scalar s in F2 S. D F4,0(R1) #store result DADDUI R1,R1,-8 #decrease 8 bytes for DW BNE R1,R2,Loop #R2: address for stopping Please do Loop Unrolling and Rescheduling to optimize the MIPS code to reduce stalls by repeating every 3 iterations. What is the speed up after the Loop Unrolling and Rescheduling? application running on a 8-processor distributed-memory multiprocessor, which has a 100 ns time to handle reference to a remote memory. For this application, assume that all the references except those involving communication hit in the local memory hierarchy. Processors are stalled on a remote request, and the processor clock rate is 4 GHz. If the base CPI (assuming that all references hit in the cache) is 0.5, how much faster is the multiprocessor if there is no communication versus if 5% of the instructions involve a remote communication reference?

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:30
Write a program that takes in 3 inputs [players (int type), expected game time (double type), team (char type)] and calculates actual game time (double) based on the following conditions: if the number of players or the expected game time is less than or equal to zero, it should output wrong input if the number of players is greater than 0 and less than or equal to 6 and if they are on the â€r’ or â€r’ team, their game time will be 10% faster. and if they are on the â€b’ or â€b’ team, their game time will be 15% faster. and if they are on the â€y’ or â€y’ team, their game time will be 20% faster. and if they are on any other team, they will play 0% faster. if the number of players is greater than 6 but less than or equal to 12 and if they are on the â€r’ or â€r’ team, their game time will be 20% faster. and if they are on the â€b’ or â€b’ team, their game time will be 25% faster. and if they are on the â€y’ or â€y’ team their game time will be 30% faster. and if they are on any other team, they will play 0% faster. if the number of players is greater than 12 but less than or equal to 18 and if they are on the â€r’ or â€r’ team, their game time will be 30% faster. and if they are on the â€b’ or â€b’ team, their game time will be 35% faster. and if they are on the â€y’ or â€y’ team, their game time will
Answers: 2
question
Computers and Technology, 23.06.2019 01:30
Which tab is used to change the theme of a photo album slide show? a. design b. view c. transitions d. home
Answers: 1
question
Computers and Technology, 23.06.2019 06:10
The head restraint should be adjusted so that it reaches a.the top of your ears b.the base of your skull c.the top of the head
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
What part of the interface displays the external references contained in a selected cell? the status bar the review tab the scroll bar the formula bar
Answers: 1
You know the right answer?
Suppose we have an Consider the following C code to add a scalar s to a double type vector x[]: for...
Questions
question
History, 15.10.2019 19:00
question
Mathematics, 15.10.2019 19:00
question
Mathematics, 15.10.2019 19:00
question
Mathematics, 15.10.2019 19:00
question
Social Studies, 15.10.2019 19:00
Questions on the website: 13722367