Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started