Difference between revisions of "Instruction Set/sub"

From Mill Computing Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:sub}} <div style="font-size:80%;line-height:90%;margin-bottom:2em">realizing  exu stream  exu block&...")
(No difference)

Revision as of 06:58, 2 October 2014

realizing  exu stream  exu block  compute phase   operation   in the logical value domain   that produces condition codes

aliases: subs subu subsv subuv
native on: all

Normal unsigned substraction. Normal wraparound subtraction.


sub(op x, op y) → op r0

operands: like Identity [xx:x]


Core In Slots Latencies
Tin E0 b,b:b=1 bv,bv:bv=1 h,h:h=1 hv,hv:hv=1 w,w:w=1 wv,wv:wv=1 d,d:d=2 dv,dv:dv=2 q,q:q=2 qv,qv:qv=2
Copper E0 E1 b,b:b=1 bv,bv:bv=1 h,h:h=1 hv,hv:hv=1 w,w:w=1 wv,wv:wv=1 d,d:d=2 dv,dv:dv=2 q,q:q=2 qv,qv:qv=2
Silver E0 E1 E2 E3 b,b:b=1 bv,bv:bv=1 h,h:h=1 hv,hv:hv=1 w,w:w=1 wv,wv:wv=1 d,d:d=2 dv,dv:dv=2 q,q:q=2 qv,qv:qv=2
Gold E0 E1 E2 E3 E4 E5 E6 E7 b,b:b=1 bv,bv:bv=1 h,h:h=1 hv,hv:hv=1 w,w:w=1 wv,wv:wv=1 d,d:d=2 dv,dv:dv=2 q,q:q=2 qv,qv:qv=2
Decimal8 E0 E1 E2 E3 b,b:b=1 bv,bv:bv=1 h,h:h=1 hv,hv:hv=1 w,w:w=1 wv,wv:wv=1 d,d:d=2 dv,dv:dv=2 q,q:q=2 qv,qv:qv=2
Decimal16 E0 E1 E2 E3 b,b:b=1 bv,bv:bv=1 h,h:h=1 hv,hv:hv=1 w,w:w=1 wv,wv:wv=1 d,d:d=2 dv,dv:dv=2 q,q:q=2 qv,qv:qv=2

sub(op x, imm y) → op r0

operands: like Identity [xx:x]


Core In Slots Latencies
Tin E0 b,b:b=1 bv,bv:bv=1 h,h:h=1 hv,hv:hv=1 w,w:w=1 wv,wv:wv=1 d,d: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