subject

In this exercise, we look at how software techniques can extract instruction-level parallelism (ILP) in a common vector loop. The following loop is the so-called DAXPY loop (double-precision aX plus Y) and is the central operation in Gaussian elimination. The following code implements the DAXPY operation, Y = aX + Y, for a vector length 100. Initially, F0 holds constant a, R1 is set to the base address of array X, and R2 is set to the base address of array Y: DADDIU R4, R1, #800 ; R4 = upper bound for X foo: L. D F2, 0(R1) ; load X(i) to F2 MUL. D F4, F2, F0 ; (F4) = a*X(i) L. D F6, 0(R2) ; (F6) = Y(i) ADD. D F6, F4, F6 ; (F6) = a*X(i) + Y(i) S. D F6, 0(R2) ; store F6 to Y(i) DADDIU R1, R1, #8 ; increase X index DADDIU R2, R2, #8 ; increase Y index DSLTU R3, R1, R4 ; test: continue loop? BNEZ R3, foo ; loop if needed

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:40
When running anti-virus software , what could be a reason where recipitent is not guaranteed that data being streamed will not get interrupted?
Answers: 1
question
Computers and Technology, 23.06.2019 03:00
State 7 common key's for every keyboard
Answers: 1
question
Computers and Technology, 23.06.2019 16:50
15: 28read the summary of "an indian's view of indian affairs."15 betterin "an indian's view of indian affairs," it is asserted that conflicts could be reduced if white americansunderstood native americans..pswhich of the following would make this summary more complete? eleo the fact that chief joseph believes the great spirit sees everythinthe fact that chief joseph was born in oregon and is thirty-eight years oldo the fact that chief joseph states that he speaks from the hearthehehethe fact that chief joseph of the nez percé tribe made this claimebell- ==feetle===-felsefe ==submitmark this and retum.=
Answers: 3
question
Computers and Technology, 23.06.2019 18:30
Write a program that prints the day number of the year, given the date in the form month-day-year. for example, if the input is 1-1-2006, the day number is 1; if the input is 12-25-2006, the day number is 359. the program should check for a leap year. a year is a leap year if it is divisible by 4, but not divisible by 100. for example, 1992 and 2008 are divisible by 4, but not by 100. a year that is divisible by 100 is a leap year if it is also divisible by 400. for example, 1600 and 2000 are divisible by 400. however, 1800 is not a leap year because 1800 is not divisible by 400.
Answers: 3
You know the right answer?
In this exercise, we look at how software techniques can extract instruction-level parallelism (ILP)...
Questions
Questions on the website: 13722367