]> sourceware.org Git - cgen.git/commitdiff
* xstormy16.cpu (sdiv, divlh, sdivlh): Fix sdivlh/divlh encodings.
authorDJ Delorie <dj@redhat.com>
Mon, 25 Nov 2002 21:14:16 +0000 (21:14 +0000)
committerDJ Delorie <dj@redhat.com>
Mon, 25 Nov 2002 21:14:16 +0000 (21:14 +0000)
ChangeLog
cpu/xstormy16.cpu

index e4ad8a48dc8cfa2f54b5141e71d49c3e8d44310e..aaf7d516a69eeb82a00b815ea9c21f18fb63bfa8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-25  DJ Delorie  <dj@redhat.com>
+
+       * xstormy16.cpu (sdiv, divlh, sdivlh): Fix sdivlh/divlh encodings.
+
 2002-11-21  Jeff Johnston  <jjohnstn@redhat.com>
 
        * cpu/iq10.cpu: New file.
index abc0097d5b7696713c22b6f798813878b946f993..14cbc1b37d35743eed9e1eb2423ab1cfac927c87 100644 (file)
      "Divide 32/16"
      ()
      ("sdivlh")
-     (+ (f-op #x00E0))
+     (+ (f-op #x00E8))
      (sequence ((SI value))
               (set value (add SI (sll SI (and SI R1 #xffff) #x10) (and SI R0 #xffff)))
               (set R1 (mod SI value (ext SI (trunc HI R2))))
      "Divide 32/16"
      ()
      ("divlh")
-     (+ (f-op #x00E8))
+     (+ (f-op #x00E0))
      (sequence ((SI value))
               (set value (add SI (sll SI (and SI R1 #xffff) #x10) (and SI R0 #xffff)))
               (set R1 (umod SI value R2))
This page took 0.032265 seconds and 5 git commands to generate.