وو

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

وو

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

PFCMPxx

 PFCMPxx 

Usage:  PFCMPxx  dest,src                                    Modifies flags: None

A vector instruction that performs a comparison of the 'dest'  operand and the 'src' operand and generates all one bits or all zero bits based on the result of the corresponding comparison. 

Packed Single-Precision FP Compare 


PFCMPEQ mm1,mm2/m64                ; 0F 0F /r B0          [PENT,3DNOW] 

PFCMPGE mm1,mm2/m64                ; 0F 0F /r 90          [PENT,3DNOW] 

PFCMPGT mm1,mm2/m64                ; 0F 0F /r A0          [PENT,3DNOW] 


The PFCMPxx instructions compare the packed single-point FP values in the source and destination operands, and set the destination according to the result. If the condition is true, the destination is set to all 1s, otherwise it's set to all 0s.


PFCMPEQ tests whether dest == src.  PFCMPGE tests whether dest >= src.

PFCMPGT tests whether dest > src.


Example:

pfcmpeq mm1 Label | pfcmpge mm1 mm2  | pfcmpgt mm2 mm1


PFCMPxx

 PFCMPxx 

Usage:  PFCMPxx  dest,src                                    Modifies flags: None

A vector instruction that performs a comparison of the 'dest'  operand and the 'src' operand and generates all one bits or all zero bits based on the result of the corresponding comparison. 

Packed Single-Precision FP Compare 


PFCMPEQ mm1,mm2/m64                ; 0F 0F /r B0          [PENT,3DNOW] 

PFCMPGE mm1,mm2/m64                ; 0F 0F /r 90          [PENT,3DNOW] 

PFCMPGT mm1,mm2/m64                ; 0F 0F /r A0          [PENT,3DNOW] 


The PFCMPxx instructions compare the packed single-point FP values in the source and destination operands, and set the destination according to the result. If the condition is true, the destination is set to all 1s, otherwise it's set to all 0s.


PFCMPEQ tests whether dest == src.  PFCMPGE tests whether dest >= src.

PFCMPGT tests whether dest > src.


Example:

pfcmpeq mm1 Label | pfcmpge mm1 mm2  | pfcmpgt mm2 mm1


PFCMPxx

 PFCMPxx 

Usage:  PFCMPxx  dest,src                                    Modifies flags: None

A vector instruction that performs a comparison of the 'dest'  operand and the 'src' operand and generates all one bits or all zero bits based on the result of the corresponding comparison. 

Packed Single-Precision FP Compare 


PFCMPEQ mm1,mm2/m64                ; 0F 0F /r B0          [PENT,3DNOW] 

PFCMPGE mm1,mm2/m64                ; 0F 0F /r 90          [PENT,3DNOW] 

PFCMPGT mm1,mm2/m64                ; 0F 0F /r A0          [PENT,3DNOW] 


The PFCMPxx instructions compare the packed single-point FP values in the source and destination operands, and set the destination according to the result. If the condition is true, the destination is set to all 1s, otherwise it's set to all 0s.


PFCMPEQ tests whether dest == src.  PFCMPGE tests whether dest >= src.

PFCMPGT tests whether dest > src.


Example:

pfcmpeq mm1 Label | pfcmpge mm1 mm2  | pfcmpgt mm2 mm1