Question: (a) Give VMIPS (vector machine code) for the DAXPY for vectors of length 88 (of course slil-a*xli] ylil) (b) Explain how the vector mask register

(a) Give VMIPS (vector machine code) for the DAXPY for vectors of length 88 (of course slil-a*xli] ylil) (b) Explain how the vector mask register is used? (c) What is the aritmetic intensity for the code for (i-1: 1000 ++1) answerThe arithmetic intensity the number of FloatingPointoperations divided by the number of bytes of memory accessed. Inl so for this loop $AI2 1000/3-8 1000$ where the two operations are the multiply and then floating add and there are three references xi, y and si] each 8 bytes assuming they are doubles (credit was also given for floats 4 bytes). (a) Give VMIPS (vector machine code) for the DAXPY for vectors of length 88 (of course slil-a*xli] ylil) (b) Explain how the vector mask register is used? (c) What is the aritmetic intensity for the code for (i-1: 1000 ++1) answerThe arithmetic intensity the number of FloatingPointoperations divided by the number of bytes of memory accessed. Inl so for this loop $AI2 1000/3-8 1000$ where the two operations are the multiply and then floating add and there are three references xi, y and si] each 8 bytes assuming they are doubles (credit was also given for floats 4 bytes)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
