وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

MAXPS

MAXPS 

Usage: MAXPS   dest,src                             Modifies flags: None

Performs an SIMD compare of the packed single-precision floating-point values in the 'dest' and the 'src' , and returns the maximum value for each pair of values to the 'dest' operand. 

Return Packed Single-Precision FP Maximum


MAXPS xmm1,xmm2/m128          ; 0F 5F /r        [KATMAI,SSE]


MAXPS performs a SIMD compare of the packed single-precision FP numbers from xmm1 and xmm2/mem, and stores the maximum values of each pair of values in xmm1. If the values being compared are both zeroes, source2 (xmm2/m128) would be returned. If source2 (xmm2/m128) is an SNaN, this SNaN is forwarded unchanged to the destination (i.e., a QNaN version of the SNaN is not returned).


The 'src' operand can be an XMM register or a 128-bit memory location. The destination operand is an XMM register.


EXAMPLE:

maxps xmm1 xmm2