Figure 4-2 Interleaved Pack With Saturation; Figure 4-1 Packssdw Mm, Mm/Mm64 Instruction Example - Intel ARCHITECTURE IA-32 Reference Manual

Architecture optimization
Table of Contents

Advertisement

Figure 4-1 PACKSSDW mm, mm/mm64 Instruction Example

Figure 4-2 illustrates two values interleaved in the destination register,
and Example 4-4 shows code that uses the operation. The two signed
doublewords are used as source operands and the result is interleaved
signed words. The pack instructions can be performed with or without
saturation as needed.

Figure 4-2 Interleaved Pack with Saturation

m m /m 64
D
C
D
1
MM/M64
D
C
D
1
Optimizing for SIMD Integer Applications
B
C
B
A
1
1
1
m m
B
B
C
A
1
1
1
m m
4
m m
A
OM15159
m m
A
OM15160
4-9

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ARCHITECTURE IA-32 and is the answer not in the manual?

Table of Contents

Save PDF