* cris.cpu (mstep): Add missing insn.
authorHans-Peter Nilsson <hp@axis.com>
Fri, 28 Jan 2005 01:50:18 +0000 (01:50 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Fri, 28 Jan 2005 01:50:18 +0000 (01:50 +0000)
cpu/ChangeLog
cpu/cris.cpu

index 859aa2a1edfd6f06ccd5b4de065ef42c8f4d2bcd..b954059a18d6e8bd04790ee72abc95f2c6470709 100644 (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>
index 955ad3218956f0e8e864d6ce6ac406edc5fff786..51f54b324620e7acc2fa1fe45203ab5a978a6398 100644 (file)
    (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"
This page took 0.027683 seconds and 4 git commands to generate.