Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assuming o image A is loaded in xmm/ymm/zmml o image B is loaded in xmm/ymm/zmm3 o image E is loaded in xmm/ymm/zmm4 and 8-bit 256-color

image text in transcribed

Assuming o image A is loaded in xmm/ymm/zmml o image B is loaded in xmm/ymm/zmm3 o image E is loaded in xmm/ymm/zmm4 and 8-bit 256-color map below: o red is 0xE0, o greeen is OxIC, o blue is 0x03, o yellow is OxFC o white is OxFF o black is 0x00 write four assembly instructions for o 128-bit SSE using xmm registers o 256-bit AVX using ymm registers 512-bit AVXS12 using zmm registens The four assembly instructions are called loop body inside a loop that iterates 64K, 32K, or 16K depending on SSE, AVX, or AVX512. You may use register xmm/ymm/zmm2 to hold a temporary value. Assuming o image A is loaded in xmm/ymm/zmml o image B is loaded in xmm/ymm/zmm3 o image E is loaded in xmm/ymm/zmm4 and 8-bit 256-color map below: o red is 0xE0, o greeen is OxIC, o blue is 0x03, o yellow is OxFC o white is OxFF o black is 0x00 write four assembly instructions for o 128-bit SSE using xmm registers o 256-bit AVX using ymm registers 512-bit AVXS12 using zmm registens The four assembly instructions are called loop body inside a loop that iterates 64K, 32K, or 16K depending on SSE, AVX, or AVX512. You may use register xmm/ymm/zmm2 to hold a temporary value

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

Transact SQL Cookbook Help For Database Programmers

Authors: Ales Spetic, Jonathan Gennick

1st Edition

1565927567, 978-1565927568

More Books

Students also viewed these Databases questions