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
This commit is contained in:
Kazu Hirata 2003-06-06 05:28:07 +00:00 committed by Kazu Hirata
parent d8277a5537
commit a35abc3ca3
3 changed files with 10 additions and 3 deletions

View 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

View 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;
}
}

View File

@ -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")])