imm8
when either (or both) is Nan | condition unmet (Ordered) |
condition met (Unordered) |
||
---|---|---|---|---|
Exception on QNaN | YES (Signaling) |
NO (Quiet) |
YES (Signaling) |
NO (Quiet) |
compare for == |
10h _CMP_EQ_OS |
0h _CMP_EQ_OQ |
18h _CMP_EQ_US |
8h _CMP_EQ_UQ |
compare for < |
1h _CMP_LT_OS |
11h _CMP_LT_OQ |
||
compare for <= |
2h _CMP_LE_OS |
12h _CMP_LE_OQ |
||
compare for > |
0Eh _CMP_GT_OS |
1Eh _CMP_GT_OQ |
||
compare for >= |
0Dh _CMP_GE_OS |
1Dh _CMP_GE_OQ |
||
compare for != |
1Ch _CMP_NEQ_OS |
0Ch _CMP_NEQ_OQ |
14h _CMP_NEQ_US |
04h _CMP_NEQ_UQ |
compare for ! < |
5h _CMP_NLT_US |
15h _CMP_NLT_UQ |
||
compare for ! <= |
6h _CMP_NLE_US |
16h _CMP_NLE_UQ |
||
compare for ! > |
0Ah _CMP_NGT_US |
1Ah _CMP_NGT_UQ |
||
compare for ! >= |
9h _CMP_NGE_US |
19h _CMP_NGE_UQ |
||
compare for ordered |
17h _CMP_ORD_S |
7h _CMP_ORD_Q |
||
compare for unordered |
13h _CMP_UNORD_S |
3h _CMP_UNORD_Q |
||
TRUE |
1Fh _CMP_TRUE_US |
0Fh _CMP_TRUE_UQ |
||
FALSE |
1Bh _CMP_FALSE_OS |
0Bh _CMP_FALSE_OQ |
Values >= 8h listed above are only for VCMPPS instruction. Cannot be specified in CMPPS instruction.