Insert a single element from src into dst and return the result in a new __m128 register.
The source and the target elements are selected by template parameter indices. Optionally, elements can be set to zero by providing additional boolean template values.
- Template Parameters
-
| t_index_src | Index of the element in src that should be copied |
| t_index_dst | Index of the element in dst that should receive the copied value |
| t_set_zero | An optional parameter pack of boolean values. If the N-th provided value is true, the N-th element of the result register will be set to 0. If it is false, no changes are applied to this element. Note that you can set multiple values to 0. If the boolean value that corresponds to t_index_dst is true, the resulting value is 0, which makes the insertion obsolete. |
- Parameters
-
| [in] | src | Source register |
| [in] | dst | Target register |
- Returns
- A new
__m128 register with corresponding values