Copyright (C) 2000-2012 |
GNU Info (nasm.info)Section B.4.33B.4.33. `COMISS': Scalar Ordered Single-Precision FP Compare and Set EFLAGS --------------------------------------------------------------------------- COMISS xmm1,xmm2/mem32 ; 66 0F 2F /r [KATMAI,SSE] `COMISS' compares the low-order single-precision FP value in the two source operands. ZF, PF and CF are set according to the result. OF, AF and AF are cleared. The unordered result is returned if either source is a NaN (QNaN or SNaN). The destination operand is an `XMM' register. The source can be either an `XMM' register or a memory location. The flags are set according to the following rules: Result Flags Values UNORDERED: ZF,PF,CF <-- 111; GREATER_THAN: ZF,PF,CF <-- 000; LESS_THAN: ZF,PF,CF <-- 001; EQUAL: ZF,PF,CF <-- 100; automatically generated by info2www version 1.2.2.9 |