+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.
"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))