From: Hans-Peter Nilsson Date: Fri, 28 Jan 2005 01:50:18 +0000 (+0000) Subject: * cris.cpu (mstep): Add missing insn. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=46da9a195ec1e9dfd03da95ab7b206467d03f319;p=binutils-gdb.git * cris.cpu (mstep): Add missing insn. --- diff --git a/cpu/ChangeLog b/cpu/ChangeLog index 859aa2a1edf..b954059a18d 100644 --- a/cpu/ChangeLog +++ b/cpu/ChangeLog @@ -1,3 +1,7 @@ +2005-01-28 Hans-Peter Nilsson + + * cris.cpu (mstep): Add missing insn. + 2005-01-25 Alexandre Oliva 2004-11-10 Alexandre Oliva diff --git a/cpu/cris.cpu b/cpu/cris.cpu index 955ad321895..51f54b32462 100644 --- a/cpu/cris.cpu +++ b/cpu/cris.cpu @@ -3395,6 +3395,20 @@ (cris-arit5 add SI Rd-sfield Rd-sfield Ps rbit rbit)) ) +; MSTEP Rs,Rd [ Rd | 01111111 | Rs ] +(dni-cdt-attr + mstep "Multiply step" + (MACH-PRE-V32) + "mstep $Rs,$Rd" + (+ Rd MODE_REGISTER RFIX_MSTEP SIZE_FIXED Rs) + (sequence + ((SI tmpd) (SI tmps)) + (set tmps Rs) + (set tmpd (add (sll Rd 1) (if SI nbit tmps 0))) + (set Rd tmpd) + (setf-move SI tmpd)) +) + ; DSTEP Rs,Rd [ Rd | 01101111 | Rs ] (dni-cdt dstep "Division step"