SIMD

SSE2 Intrinsics

Floating-Point Intrinsics

Arithmetic Operation Intrinsics

Intrinsic name Corresponding instruction Operation R0 value R1 value
_mm_add_sd ADDSD Adds

a0 [op] b0 

a1 

_mm_add_pd ADDPD Adds

a0 [op] b0 

a1 [op] b1 

_mm_div_sd DIVSD Divides

a0 [op] b0 

a1 

_mm_div_pd DIVPD Divides

a0 [op] b0 

a1 [op] b1 

_mm_max_sd MAXSD Computes maximum

a0 [op] b0 

a1 

_mm_min_pd MAXPD Computes maximum

a0 [op] b0 

a1 [op] b1 

_mm_min_sd MINSD Computes minimum

a0 [op] b0 

a1 

_mm_min_pd MINPD Computes minimum

a0 [op] b0 

a1 [op] b1 

_mm_mul_sd MULSD Multiplies

a0 [op] b0 

a1 

_mm_mul_pd MULPD Multiplies

a0 [op] b0 

a1 [op] b1 

_mm_sqrt_sd SQRTSD Computes square root

a0 [op] b0 

a1 

_mm_sqrt_pd SQRTPD Computes square root

a0 [op] b0 

a1 [op] b1 

_mm_sub_sd SUBSD Subtracts

a0 [op] b0 

a1 

_mm_sub_pd SUBPD Subtracts

a0 [op] b0 

a1 [op] b1 

Leave a Reply

Your email address will not be published. Required fields are marked *