Example 4-10, Pmovmskb instruction code -17, Figure 4-7 – Intel ARCHITECTURE IA-32 User Manual

Page 237: Pmovmskb instruction example -17

Advertising
background image

Optimizing for SIMD Integer Applications

4

4-17

Figure 4-7

pmovmskb

Instruction Example

Example 4-10 pmovmskb Instruction Code

; Input:

;

source value

; Output:

;

32-bit register containing the byte mask in the lower

;

eight bits

;

movq mm0, [edi]

pmovmskb eax, mm0

O M15165

M M

R32

31

0

63

0..0

31

0..0

7

0

55

47

39

23

15

7

Advertising