* config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Aug 2001 18:21:07 +0000 (18:21 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Aug 2001 18:21:07 +0000 (18:21 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45273 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/h8300/h8300.md

index ffc4ad5..3094a9e 100644 (file)
@@ -1,5 +1,9 @@
 2001-08-29  Kazu Hirata  <kazu@hxi.com>
 
+       * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe.
+
+2001-08-29  Kazu Hirata  <kazu@hxi.com>
+
        * config/h8300/h8300-protos.h: Add a prototype for
        emit_logical_op.
        * config/h8300/h8300.c (emit_logical_op): New.
index d9d5496..67b5a61 100644 (file)
 
          /* Look for constants that can be obtained by subs, inc, and
              dec to 0.  */
-         switch (val)
+         switch (val & 0xffffffff)
            {
            case 0xffffffff:
              return \"sub.l\\t%S0,%S0\;subs\\t#1,%S0\";