Commit c283e63f by Kazu Hirata Committed by Kazu Hirata

h8300.h (MODES_TIEABLE_P): Accept a combination of QImode and SImode.

	* config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
	of QImode and SImode.

From-SVN: r49729
parent 86039100
2002-02-13 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
of QImode and SImode.
2002-02-13 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
length computation of movsi.
* config/h8300/h8300.md (movsi_h8300hs): Correct the length.
......
......@@ -328,13 +328,12 @@ extern int target_flags;
when one has mode MODE1 and one has mode MODE2.
If HARD_REGNO_MODE_OK could produce different values for MODE1 and MODE2,
for any hard reg, then this must be 0 for correct output. */
#define MODES_TIEABLE_P(MODE1, MODE2) \
((MODE1) == (MODE2) \
|| ((MODE1) == HImode && (MODE2) == QImode) \
|| ((MODE1) == QImode && (MODE2) == HImode) \
|| ((TARGET_H8300H || TARGET_H8300S) \
&& (((MODE1) == SImode && (MODE2) == HImode) \
|| ((MODE1) == HImode && (MODE2) == SImode))))
#define MODES_TIEABLE_P(MODE1, MODE2) \
((MODE1) == (MODE2) \
|| (((MODE1) == QImode || (MODE1) == HImode \
|| ((TARGET_H8300H || TARGET_H8300S) && (MODE1) == SImode)) \
&& ((MODE2) == QImode || (MODE2) == HImode \
|| ((TARGET_H8300H || TARGET_H8300S) && (MODE2) == SImode))))
/* Specify the registers used for certain standard purposes.
The values of these macros are register numbers. */
......
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