diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2003-06-06 05:28:07 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2003-06-06 05:28:07 +0000 |
commit | a35abc3ca3026d8140aadfee91aaca6572ab32e7 (patch) | |
tree | 3d2e5b7010efba6bf1c3cb4a4ad1b6493d2da2aa | |
parent | d8277a55379785ce42a050ad4baa079ae1283751 (diff) | |
download | gcc-a35abc3ca3026d8140aadfee91aaca6572ab32e7.zip gcc-a35abc3ca3026d8140aadfee91aaca6572ab32e7.tar.gz gcc-a35abc3ca3026d8140aadfee91aaca6572ab32e7.tar.bz2 |
h8300.c (get_shift_alg): Correct the syntax of rotxl.
* config/h8300/h8300.c (get_shift_alg): Correct the syntax of
rotxl.
* config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi):
Likewise.
From-SVN: r67530
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.c | 4 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.md | 2 |
3 files changed, 10 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d886022..c63338d 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 1639fbf..7ab530d 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 89014dd..217c315 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")]) |