summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-06 05:28:07 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-06 05:28:07 +0000
commita6f6d86d251dd16c0019e4be9eab8b5aa213f984 (patch)
tree3d2e5b7010efba6bf1c3cb4a4ad1b6493d2da2aa
parenteb77398042dc86d74a4035c9a0212b82b873e0ca (diff)
downloadppe42-gcc-a6f6d86d251dd16c0019e4be9eab8b5aa213f984.tar.gz
ppe42-gcc-a6f6d86d251dd16c0019e4be9eab8b5aa213f984.zip
* config/h8300/h8300.c (get_shift_alg): Correct the syntax of
rotxl. * config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67530 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/h8300/h8300.c4
-rw-r--r--gcc/config/h8300/h8300.md2
3 files changed, 10 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d886022464e..c63338ddbe9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index 1639fbfc6b9..7ab530dbc8e 100644
--- a/gcc/config/h8300/h8300.c
+++ b/gcc/config/h8300/h8300.c
@@ -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;
}
}
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index 89014dd9e92..217c3155d91 100644
--- a/gcc/config/h8300/h8300.md
+++ b/gcc/config/h8300/h8300.md
@@ -2856,7 +2856,7 @@
(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")])
OpenPOWER on IntegriCloud