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

This commit is contained in:
Hans-Peter Nilsson 2005-01-28 01:50:18 +00:00
parent 14d8cbf6fc
commit 46da9a195e
2 changed files with 18 additions and 0 deletions

View File

@ -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>

View File

@ -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"