Skip to content
Snippets Groups Projects
Commit 46da9a19 authored by Hans-Peter Nilsson's avatar Hans-Peter Nilsson
Browse files

* cris.cpu (mstep): Add missing insn.

parent 14d8cbf6
No related branches found
No related tags found
No related merge requests found
2005-01-28 Hans-Peter Nilsson <hp@axis.com>
* cris.cpu (mstep): Add missing insn.
2005-01-25 Alexandre Oliva <aoliva@redhat.com> 2005-01-25 Alexandre Oliva <aoliva@redhat.com>
2004-11-10 Alexandre Oliva <aoliva@redhat.com> 2004-11-10 Alexandre Oliva <aoliva@redhat.com>
......
...@@ -3395,6 +3395,20 @@ ...@@ -3395,6 +3395,20 @@
(cris-arit5 add SI Rd-sfield Rd-sfield Ps rbit rbit)) (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 ] ; DSTEP Rs,Rd [ Rd | 01101111 | Rs ]
(dni-cdt (dni-cdt
dstep "Division step" dstep "Division step"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment