h8300.c (get_shift_alg): Correct the syntax of rotxl.
authorKazu Hirata <kazu@cs.umass.edu>
Fri, 6 Jun 2003 05:28:07 +0000 (05:28 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Fri, 6 Jun 2003 05:28:07 +0000 (05:28 +0000)
* config/h8300/h8300.c (get_shift_alg): Correct the syntax of
rotxl.
* config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi):
Likewise.

From-SVN: r67530

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

index d886022464e62573e48b22e9f202b7b16c515151..c63338ddbe9ae77124c1b230851693cfd9c65794 100644 (file)
@@ -1,3 +1,10 @@
+2003-06-06  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.c (get_shift_alg): Correct the syntax of
+       rotxl.
+       * config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi):
+       Likewise.
+
 2003-06-05  Kelley Cook  <kelleycook@wideopenwest.com>
 
        PR optimization/4490
index 1639fbfc6b9b97d09ffd777bfc772728770920dc..7ab530dbc8eb077d2c092181e14e15de8bd4cdfe 100644 (file)
@@ -3056,10 +3056,10 @@ get_shift_alg (shift_type, shift_mode, count, info)
            case SHIFT_ASHIFT:
              abort ();
            case SHIFT_LSHIFTRT:
-             info->special = "bld\t#7,%z0\n\tmov.w\t%e0,%f0\n\txor\t%y0,%y0\n\txor\t%z0,%z0\n\trotxl\t%w0,%w0\n\trotxl\t%x0,%x0\n\trotxl\t%y0,%y0";
+             info->special = "bld\t#7,%z0\n\tmov.w\t%e0,%f0\n\txor\t%y0,%y0\n\txor\t%z0,%z0\n\trotxl\t%w0\n\trotxl\t%x0\n\trotxl\t%y0";
              goto end;
            case SHIFT_ASHIFTRT:
-             info->special = "bld\t#7,%z0\n\tmov.w\t%e0,%f0\n\trotxl\t%w0,%w0\n\trotxl\t%x0,%x0\n\tsubx\t%y0,%y0\n\tsubx\t%z0,%z0";
+             info->special = "bld\t#7,%z0\n\tmov.w\t%e0,%f0\n\trotxl\t%w0\n\trotxl\t%x0\n\tsubx\t%y0,%y0\n\tsubx\t%z0,%z0";
              goto end;
            }
        }
index 89014dd9e927d48ca4b7cd54f87fed652ec6e798..217c3155d9175fd79539fd7474a7f2bed3aaa9ef 100644 (file)
                              (const_int 16))
                 (zero_extend:SI (match_operand:HI 2 "register_operand" "0"))))]
   "TARGET_H8300H || TARGET_H8300S"
-  "add.w\\t%e1,%f0\;xor.w\\t%e0,%e0\;rotxl.w\\t%e0,%e0"
+  "add.w\\t%e1,%f0\;xor.w\\t%e0,%e0\;rotxl.w\\t%e0"
   [(set_attr "cc" "clobber")
    (set_attr "length" "6")])