Difference between revisions of "Instruction Set/widendv"
From Mill Computing Wiki
m (Protected "Instruction Set/widendv": generated ([Edit=<protect-level-bot>] (indefinite) [Move=<protect-level-bot>] (indefinite))) | |||
Line 4: | Line 4: | ||
</div> | </div> | ||
− | widen to | + | Double the scalar width of the elements of a decimal float vector. |
+ | |||
+ | Decimal floats can be 4-16 byte wide. Although the 4 byte format is a pure interchange format and no floating arithmetic operations are available for them. | ||
+ | |||
+ | Vector widen operations always produce two result vectors to accomodate the widening of maximum size vectors. The first result vector then contains the widened values of the lower half of the operand, and the second result the upper. | ||
+ | |||
+ | |||
+ | |||
---- | ---- | ||
<code style="font-size:130%"><b style="color:#050">widendv</b>(<span style="color:#009">[[Domains#d|d]]</span> <span title="belt operand from ops window">v</span>) → [[Domains#d|d]] r<sub>0</sub>, [[Domains#d|d]] r<sub>1</sub></code> | <code style="font-size:130%"><b style="color:#050">widendv</b>(<span style="color:#009">[[Domains#d|d]]</span> <span title="belt operand from ops window">v</span>) → [[Domains#d|d]] r<sub>0</sub>, [[Domains#d|d]] r<sub>1</sub></code> |
Revision as of 10:40, 11 January 2015
Double the scalar width of the elements of a decimal float vector.
Decimal floats can be 4-16 byte wide. Although the 4 byte format is a pure interchange format and no floating arithmetic operations are available for them.
Vector widen operations always produce two result vectors to accomodate the widening of maximum size vectors. The first result vector then contains the widened values of the lower half of the operand, and the second result the upper.
operands: like Widenvd DD:2D2D
Core | In Slots | Latencies |
---|---|---|
Decimal8 | E0 E1 | 2 2 |
Decimal16 | E0 E1 | 2 2 |
Instruction Set, alphabetical, Instruction Set by Category, Instruction Set, sortable, filterable