h8300.c (compute_mov_length): Fix length of mov:SF on H8/300.
authorKazu Hirata <kazu@cs.umass.edu>
Mon, 30 Jun 2003 14:42:32 +0000 (14:42 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Mon, 30 Jun 2003 14:42:32 +0000 (14:42 +0000)
* config/h8300/h8300.c (compute_mov_length): Fix length of
mov:SF on H8/300.

From-SVN: r68709

gcc/ChangeLog
gcc/config/h8300/h8300.c

index 22eae48..d37ee1d 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-30  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.c (compute_mov_length): Fix length of
+       mov:SF on H8/300.
+
 2003-06-30  Nick Clifton  <nickc@redhat.com>
 
        * config/arm/arm.h (BIGGEST_FIELD_ALIGNMENT): Make defintion
index c921a7a..f1d3577 100644 (file)
@@ -1893,10 +1893,7 @@ compute_mov_length (rtx *operands)
              if (REG_P (src))
                return 4;
 
-             if (src == const0_rtx)
-               return 2;
-
-             return 6;
+             return 8;
            }
 
          base_length = 8;