Question: The folllowing is an example sequence of code for a vector architecture. What does the following code do? lv Sv1, 0(Sto) lv Sv2, 0(St1) addv.d
The folllowing is an example sequence of code for a vector architecture. What does the following code do? lv Sv1, 0(Sto) lv Sv2, 0(St1) addv.d $v3, Sv1, Sv2 sv Sv3, 0(St1) O A Loads two vectors from the addresses in Sto and St1, adds the vectors together and then puts the result back into memory at the address in St. O B. Loads two addresses from the vectors sv1 and Sv2, adds them together and places the answer into Sv2 O c. Loads a vector from the address in Sto and copies it into the memory at the address in St1 D. Copies two vectors from registers St0 and $t1, adds them together and puts the answer into $v2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
