Difference between revisions of "Instruction Set/test"

From Mill Computing Wiki
Jump to: navigation, search
Line 6:Line 6:
 
Test if a single indexed bit is set.
 
Test if a single indexed bit is set.
  
**related operations:** [[Instruction_Set/set|set], [[Instruction_Set/clear|clear]
+
<b>related operations:</b> [[Instruction_Set/set|set]], [[Instruction_Set/clear|clear]]
  
 
----
 
----

Revision as of 20:00, 26 November 2014

realizing  exu stream  exu block  compute phase   operation   in the logical value domain  

native on: all

Test if a single indexed bit is set.

related operations: set, clear


test(op x, bit bit) → op r0

operands: like Shift [xi:x]


Core In Slots Latencies
Tin E0 1
Copper E0 E1 1
Silver E0 E1 E2 E3 1
Gold E0 E1 E2 E3 E4 E5 E6 E7 1
Decimal8 E0 E1 E2 E3 1
Decimal16 E0 E1 E2 E3 1

test(op x, n bit) → op r0

operands: like Shift [xi:x]


Core In Slots Latencies
Tin E0 1
Copper E0 E1 1
Silver E0 E1 E2 E3 1
Gold E0 E1 E2 E3 E4 E5 E6 E7 1
Decimal8 E0 E1 E2 E3 1
Decimal16 E0 E1 E2 E3 1