Difference between revisions of "Instruction Set/negss"

From Mill Computing Wiki
Jump to: navigation, search
m (Protected "Instruction Set/negss": generated ([Edit=<protect-level-bot>] (indefinite) [Move=<protect-level-bot>] (indefinite)))
Line 6:Line 6:
  
 
Integer arithmetic negation. Saturating overflow.
 
Integer arithmetic negation. Saturating overflow.
i.e. 0 becomes the largest positive integer in the width.
+
 
 +
For arithmetic negation in two complement values the only value that can overflow is the smallest possible number for the width. In saturating overflow it it becomes |x|-1.
 +
 
  
  

Revision as of 16:42, 20 January 2015

realizing  exu stream  exu block  compute phase   operation   in the signed integer value domain   using saturating overflow behavior   that produces condition codes

aliases: negssv
native on: all

Integer arithmetic negation. Saturating overflow.

For arithmetic negation in two complement values the only value that can overflow is the smallest possible number for the width. In saturating overflow it it becomes |x|-1.



negss(s x) → s r0

operands: like Identity [xx:x]


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


Instruction Set, alphabetical, Instruction Set by Category, Instruction Set, sortable, filterable