Developer Guide and Reference

Contents

Arithmetic Intrinsics

The prototypes for Intel® Streaming SIMD Extensions (Intel® SSE) intrinsics for arithmetic operations are in the
xmmintrin.h
header file.
To use these intrinsics, include the
immintrin.h
file as follows:
#include <immintrin.h>
The results of each intrinsic operation are placed in a register. This register is illustrated for each intrinsic with R0-R3. R0, R1, R2, and R3 each represent one of the four 32-bit pieces of the result register.
Intrinsic Name
Operation
Corresponding
Intel® SSE Instruction
_mm_add_ss
Addition
ADDSS
_mm_add_ps
Addition
ADDPS
_mm_sub_ss
Subtraction
SUBSS
_mm_sub_ps
Subtraction
SUBPS
_mm_mul_ss
Multiplication
MULSS