51
edits
Maikmerten (talk | contribs) |
Maikmerten (talk | contribs) |
||
| Line 48: | Line 48: | ||
== Pack and Unpack == | == Pack and Unpack == | ||
Unpacking: | |||
* 1 vector of 8 bit values -> 2 vectors of 16 bit values | |||
* 1 vector of 16 bit values -> 2 vectors of 32 bit values | |||
With fitting sign extension for signed data types. | |||
Packing: | |||
The reverse. Optional automatic clamping might be useful, but clamping can be done by the programmer prior to packing anyways. | |||
== Comparisons == | == Comparisons == | ||
== Data type conversion == | == Data type conversion == | ||
edits