negsx

From Mill Computing Wiki
Jump to: navigation, search
speculable  exu stream  exu block  compute phase   operation   in the signed integer value domain   using excepting overflow behavior   that produces condition codes

aliases: negsxv
native on: all

Integer arithmetic negation. Exception on overflow.

For arithmetic negation in two complement values the only value that can overflow is the smallest possible number for the width. Here it produces an integer overflow NaR.



negsx(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