Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

(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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 31st International Conference Dexa 2020 Bratislava Slovakia September 14 17 2020 Proceedings Part 1 Lncs 12391

Authors: Sven Hartmann ,Josef Kung ,Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil

1st Edition

303059002X, 978-3030590024

More Books

Students also viewed these Databases questions