diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2005-01-28 01:50:18 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2005-01-28 01:50:18 +0000 |
commit | 46da9a195ec1e9dfd03da95ab7b206467d03f319 (patch) | |
tree | 9bf6039141c6797497ba1544fbd4bc4f4aaab135 /cpu/cris.cpu | |
parent | 14d8cbf6fc8dd8e8b11ec91fd6102cd158395cb7 (diff) | |
download | gdb-46da9a195ec1e9dfd03da95ab7b206467d03f319.zip gdb-46da9a195ec1e9dfd03da95ab7b206467d03f319.tar.gz gdb-46da9a195ec1e9dfd03da95ab7b206467d03f319.tar.bz2 |
* cris.cpu (mstep): Add missing insn.
Diffstat (limited to 'cpu/cris.cpu')
-rw-r--r-- | cpu/cris.cpu | 14 |
1 files changed, 14 insertions, 0 deletions
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" |