5.134 · exercise

Basic quiz: vectors

The lanes and arrangements of a v register, the scalar names for its low bits, the lane-by-lane add, the saturating uqadd, dup, copying a lane out for printf, and which v registers a call may change.

0 of 7 correct

Multiple choice

How many lanes does v3.16b have, and how wide is each one?

Multiple choice

Which name reads the low 32 bits of v6 as one value?

Multiple choice

What does add v2.4s, v0.4s, v1.4s do?

Multiple choice

A byte lane holds 250. What does it hold after uqadd adds 10 to it?

Multiple choice

Which instruction copies w9 into all four lanes of v3?

Multiple choice

Which v registers may a function you call change in every one of their 128 bits?

Multiple choice

Which instruction copies lane 2 of v4.4s into w1, ready for the first %d of a printf?