----------------------------------------------------------------------
1
1
175xjk
Test
(Vj
elements)
and
enter
test
results
:
1
into
VM;
the type of
test
made
is
defined
by
k :
1 1
1_----_-----------------------------------------------
_________________
1
This
instruction
creates a vector
mask
in
VM
based
on
the
results
of
testing
the contents of the elements of
register
Vj.
Each
bit
of
VM
corresponds to
an
element of
Vj.
Pit
0 corresponds to element 0;
bit
63
corresponds to element 63.
The
type of
test
made
by
the
instruction
depends
on
the
lower
two
bits
of the k designator.
The
upper
bit
of the k designator
is
not
interpreted.
If
the k designator
is
0,
the
VM
bit
is
set
to
one
when
(Vj
element)
is
zero
and
is
set
to zero
when
(Vj
element)
is
nonzero.
If
the k designator
is
1, the
VM
bit
is
set
to
one
when
(Vj
element)
is
nonzero
and
is
set
to zero
when
(Vj
element)
is
zero.
If
the k designator
is
2, the
VM
bit
is
set
to
one
when
(Vj
element)
is
positive
and
is
set
to zero
when
(Vj
element)
is
negative. A zero
value
is
considered
positive.
If
the k designator
is
3, the
VM
bit
is
set
to
one
when
(Vj
element)
is
negative
and
is
set
to zero
when
(Vj
element)
is
positive. A zero
value
is
considered
positive.
The
number
of elements tested
is
determined
by
the contents of the
VL
register.
V~1
bits
corresponding to untested elements of
Vj
are zeroed.
The
175
vector
mask
instruction
provides a vector counterpart to the
scalar
conditional branch
instructions.
The
175
vector
mask
instruction
uses the vector logical
unit.
2240004
4-71
E