Handbook
Glossary
%test-vector-mask ( dst temp mask vcc -- )
Vocabulary
cpu
.
x86
.
sse
Inputs
dst
an
object
temp
an
object
mask
an
object
vcc
an
object
Outputs
None
Definition
USING:
combinators
compiler.cfg.comparisons
cpu.x86
cpu.x86.assembler
;
IN:
cpu.x86.sse
::
%test-vector-mask
( dst temp mask vcc -- )
vcc
{
{
vcc-any
[
dst dst
TEST
dst temp
\
CMOVNE
(%boolean)
]
}
{
vcc-none
[
dst dst
TEST
dst temp
\
CMOVE
(%boolean)
]
}
{
vcc-all
[
dst mask
CMP
dst temp
\
CMOVE
(%boolean)
]
}
{
vcc-notall
[
dst mask
CMP
dst temp
\
CMOVNE
(%boolean)
]
}
}
case
;