Difference between revisions of "Instruction Set/con"

From Mill Computing Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:con}} <div style="font-size:80%;line-height:90%;margin-bottom:2em">realizing  flow stream [[Decode|flow block]...")
 
Line 4:Line 4:
 
</div>
 
</div>
  
immediate constant
+
Drop an immediate constant on the belt.
 +
 
 +
The con operation retires in the reader phase despite it using the extension and manifest encoding blocks for the value. This is possible because these bitpatterns are not interpreted at all but directly placed into the belt. Only scalar values are possible, and the width is determined from the head.
 +
 
 +
**related operations:** [[Instruction_Set/rd|rd]
 
----
 
----
 
<code style="font-size:130%"><b style="color:#050">con</b>(<i><span style="color:#009">[[Immediates#constant|constant]]</span> <span title="manifest constant">v</span></i>) &#8594; [[Domains#op|op]] r<sub>0</sub></code>
 
<code style="font-size:130%"><b style="color:#050">con</b>(<i><span style="color:#009">[[Immediates#constant|constant]]</span> <span title="manifest constant">v</span></i>) &#8594; [[Domains#op|op]] r<sub>0</sub></code>

Revision as of 18:47, 26 November 2014

realizing  flow stream  flow block  reader phase   operation  

native on: all

Drop an immediate constant on the belt.

The con operation retires in the reader phase despite it using the extension and manifest encoding blocks for the value. This is possible because these bitpatterns are not interpreted at all but directly placed into the belt. Only scalar values are possible, and the width is determined from the head.

    • related operations:** [[Instruction_Set/rd|rd]

con(constant v) → op r0

operands: like IdentityNoSIMD xx:x


encoding: con(off v, width w) , con(off v, width w, lit v) , con(off v, width w, lit v, lit v) , con(off v, width w, lit v, lit v, lit v)

Core In Slots Latencies
Tin F0 F1 0
Copper F0 F1 0
Silver F0 F1 F2 F3 0
Gold F0 F1 F2 F3 F4 F5 F6 F7 0
Decimal8 F0 F1 F2 F3 0
Decimal16 F0 F1 F2 F3 0