Commit 75a3503b by Kazu Hirata Committed by Kazu Hirata

h8300.c (h8300_shift_needs_scratch_p): Don't request a scratch reg on H8S when…

h8300.c (h8300_shift_needs_scratch_p): Don't request a scratch reg on H8S when the shift count is 8.

	* config/h8300/h8300.c (h8300_shift_needs_scratch_p): Don't
	request a scratch reg on H8S when the shift count is 8.

From-SVN: r61602
parent fb13499f
2003-01-22 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.c (h8300_shift_needs_scratch_p): Don't
request a scratch reg on H8S when the shift count is 8.
2003-01-22 Ulrich Weigand <uweigand@de.ibm.com>
* config/s390/s390-protos.h (preferred_la_operand_p):
......
......@@ -3198,7 +3198,7 @@ h8300_shift_needs_scratch_p (count, mode)
/* On H8/300H and H8S, count == 8 uses the scratch register. */
return (a == SHIFT_LOOP || lr == SHIFT_LOOP || ar == SHIFT_LOOP
|| (!TARGET_H8300 && mode == SImode && count == 8));
|| (TARGET_H8300H && mode == SImode && count == 8));
}
/* Emit the assembler code for doing shifts. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment