From 458f77708df3947fe746f7a1e2d59d4077da4ea4 Mon Sep 17 00:00:00 2001
From: DJ Delorie <dj@redhat.com>
Date: Fri, 6 Jan 2006 23:25:53 +0000
Subject: [PATCH] * m32c.cpu (mov.w:q): Fix mode. (push32.b.imm): Likewise, for
 the comment.

---
 cpu/ChangeLog | 5 +++++
 cpu/m32c.cpu  | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/cpu/ChangeLog b/cpu/ChangeLog
index b552d9dcb84..358e366ef02 100644
--- a/cpu/ChangeLog
+++ b/cpu/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-06  DJ Delorie  <dj@redhat.com>
+
+	* m32c.cpu (mov.w:q): Fix mode.
+	(push32.b.imm): Likewise, for the comment.
+
 2005-12-16  Nathan Sidwell  <nathan@codesourcery.com>
 
 	Second part of ms1 to mt renaming.
diff --git a/cpu/m32c.cpu b/cpu/m32c.cpu
index a16c0c2ca04..a70124ea6de 100644
--- a/cpu/m32c.cpu
+++ b/cpu/m32c.cpu
@@ -8650,7 +8650,7 @@
 
 ; mov.size:Q #imm4,dst (m16 #2 m32 #3)
 (binary-arith16-imm4-dst-defn QI .b 0 0 mov (f-0-4 #xD) (f-4-3 4) mov-sem)
-(binary-arith16-imm4-dst-defn QI .w 0 1 mov (f-0-4 #xD) (f-4-3 4) mov-sem)
+(binary-arith16-imm4-dst-defn HI .w 0 1 mov (f-0-4 #xD) (f-4-3 4) mov-sem)
 (binary-arith32-imm4-dst-defn QI .b 1 0 mov #x7 #x2 mov-sem)
 (binary-arith32-imm4-dst-defn HI .w 1 1 mov #x7 #x2 mov-sem)
 
@@ -9344,7 +9344,7 @@
      (push-sem16 HI Imm-16-HI)
      ())
 
-(dni push32.b.imm "push.w #Imm-8-QI" ((machine 32))
+(dni push32.b.imm "push.b #Imm-8-QI" ((machine 32))
      ("push.b #Imm-8-QI")
      (+ (f-0-4 #xA) (f-4-4 #xE) Imm-8-QI)
      (push-sem32 QI Imm-8-QI)
-- 
GitLab