Parallel Compare Examples; Pcmp Relations - Intel ITANIUM ARCHITECTURE - SOFTWARE DEVELOPERS MANUAL VOLUME 3 REV 2.3 Manual

Architecture software developer's manual revision 2.3
Hide thumbs Also See for ITANIUM ARCHITECTURE - SOFTWARE DEVELOPERS MANUAL VOLUME 3 REV 2.3:
Table of Contents

Advertisement

pcmp
pcmp — Parallel Compare
(
) pcmp1.
Format:
qp
(
) pcmp2.
qp
(
) pcmp4.
qp
The two source operands are compared for one of the two relations shown in
Description:
Table
2-45. If the comparison condition is true for corresponding data elements of GR
and GR
, then the corresponding data element in GR
r
3
comparison condition is false, then the corresponding data element in GR
zeros. For the '>' relation, both operands are interpreted as signed.
Table 2-45.
prel
eq
gt
Figure 2-33.
GR r
:
3
GR r
:
2
GR r
:
1
3:206
=
,
prel r
r
r
1
2
3
=
,
prel r
r
r
1
2
3
=
,
prel r
r
r
1
2
3

Pcmp Relations

Parallel Compare Examples

>
>
>
>
>
>
T
F
T
T
F
F
ff
00
ff
ff
00 00 00
pcmp1.gt
GR r
:
3
GR r
:
2
True
GR r
:
1
is set to all ones. If the
r
1
Compare Relation
(r
r
== r
2
3
r
> r
(signed)
2
3
GR r
:
3
GR r
:
2
>
>
=
True
F
T
GR r
:
0xffff
ff
1
=
=
False
0xffffffff
0x00000000
pcmp4.eq
one_byte_form
two_byte_form
four_byte_form
is set to all
r
1
prel
r
)
2
3
=
=
=
False
True
True
0x0000
0xffff
0xffff
pcmp2.eq
Volume 3: Instruction Reference
A9
A9
A9
r
2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Itanium 9150m

Table of Contents