MMX Technology Set Intrinsics

Microsoft Specific

The intrinsics listed in the following are followed by a description of each intrinsic. All set intrinsics are made up of composite instructions.

MMX intrinsics use the __m64 data type, which is not supported on x64 processors.

The header file mmintrin.h contains the declarations for the MMX intrinsics.

Set Intrinsics

Intrinsic name

Operation

Number of elements

Element bit size

Signed

Reverse order

_mm_setzero_si64

Sets to zero

1

64

No

No

_mm_set_pi32

Sets integer values

2

32

No

No

_mm_set_pi16

Sets integer values

4

16

No

No

_mm_set_pi8

Sets integer values

8

8

No

No

_mm_set1_pi32

Sets integer values

2

32

Yes

No

_mm_set1_pi16

Sets integer values

4

16

Yes

No

_mm_set1_pi8

Sets integer values

8

8

Yes

No

_mm_setr_pi32

Sets integer values

2

32

No

Yes

_mm_setr_pi16

Sets integer values

4

16

No

Yes

_mm_setr_pi8

Sets integer values

8

8

No

Yes

See Also

Concepts

MMX Technology Intrinsic Groups