From: Luke Kenneth Casson Leighton Date: Sun, 19 Jun 2022 19:34:30 +0000 (+0100) Subject: add absadd (unsigned) DRAFT X-Git-Tag: sv_maxu_works-initial~378 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a3a2fb98d846f20ad14038da4c4ed00e4cc23bea;p=openpower-isa.git add absadd (unsigned) DRAFT https://bugs.libre-soc.org/show_bug.cgi?id=863 --- diff --git a/openpower/isa/av.mdwn b/openpower/isa/av.mdwn index 733369e3..f4aea8e7 100644 --- a/openpower/isa/av.mdwn +++ b/openpower/isa/av.mdwn @@ -70,8 +70,8 @@ Special Registers Altered: X-Form -* avgadd RT,RA,RB (Rc=0) -* avgadd. RT,RA,RB (Rc=1) +* avgadd RT,RA,RB (Rc=0) +* avgadd. RT,RA,RB (Rc=1) Pseudo-code: @@ -90,8 +90,8 @@ Special Registers Altered: X-Form -* absdu RT,RA,RB (Rc=0) -* absdu. RT,RA,RB (Rc=1) +* absdu RT,RA,RB (Rc=0) +* absdu. RT,RA,RB (Rc=1) Pseudo-code: @@ -101,3 +101,20 @@ Pseudo-code: Special Registers Altered: CR0 (if Rc=1) + +# DRAFT Absolute Accumulate Unsigned Difference + +X-Form + +* absaddu RT,RA,RB (Rc=0) +* absaddu. RT,RA,RB (Rc=1) + +Pseudo-code: + + if (RA)