diff options
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/ChangeLog | 4 | ||||
-rw-r--r-- | cpu/cris.cpu | 14 |
2 files changed, 18 insertions, 0 deletions
diff --git a/cpu/ChangeLog b/cpu/ChangeLog index 859aa2a..b954059 100644 --- a/cpu/ChangeLog +++ b/cpu/ChangeLog @@ -1,3 +1,7 @@ +2005-01-28 Hans-Peter Nilsson <hp@axis.com> + + * cris.cpu (mstep): Add missing insn. + 2005-01-25 Alexandre Oliva <aoliva@redhat.com> 2004-11-10 Alexandre Oliva <aoliva@redhat.com> diff --git a/cpu/cris.cpu b/cpu/cris.cpu index 955ad32..51f54b3 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" |