Commit 4ceb7595 by John Carr Committed by John Carr

genemit.c (gen_exp): Allow machine description to set mode of MATCH_OP_DUP.

	* genemit.c (gen_exp): Allow machine description to set mode of
	MATCH_OP_DUP.

From-SVN: r19359
parent d1c17572
Tue Apr 21 20:48:37 1998 John Carr <jfc@mit.edu>
* genemit.c (gen_exp): Allow machine description to set mode of
MATCH_OP_DUP.
Tue Apr 21 16:36:01 1998 John Carr <jfc@mit.edu> Tue Apr 21 16:36:01 1998 John Carr <jfc@mit.edu>
* alias.c (mode_alias_check): New function. * alias.c (mode_alias_check): New function.
......
...@@ -172,8 +172,11 @@ gen_exp (x) ...@@ -172,8 +172,11 @@ gen_exp (x)
return; return;
case MATCH_OP_DUP: case MATCH_OP_DUP:
printf ("gen_rtx (GET_CODE (operand%d), GET_MODE (operand%d)", printf ("gen_rtx (GET_CODE (operand%d), ", XINT (x, 0));
XINT (x, 0), XINT (x, 0)); if (GET_MODE (x) == VOIDmode)
printf ("GET_MODE (operand%d)", XINT (x, 0));
else
printf ("%smode", GET_MODE_NAME (GET_MODE (x)));
for (i = 0; i < XVECLEN (x, 1); i++) for (i = 0; i < XVECLEN (x, 1); i++)
{ {
printf (",\n\t\t"); printf (",\n\t\t");
......
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