Commit 77734296 by Alexander Monakov Committed by Alexander Monakov

nvptx: correct format string

	* config/nvptx/nvptx.c (nvptx_output_softstack_switch): Correct format
	string.

From-SVN: r246620
parent 99e6cfd6
2017-03-31 Alexander Monakov <amonakov@ispras.ru>
* config/nvptx/nvptx.c (nvptx_output_softstack_switch): Correct format
string.
2017-03-31 Pat Haugen <pthaugen@us.ibm.com>
PR target/80107
......
......@@ -1353,7 +1353,8 @@ nvptx_output_softstack_switch (FILE *file, bool entering,
output_reg (file, REGNO (size), VOIDmode);
fputs (";\n", file);
if (!CONST_INT_P (size) || UINTVAL (align) > GET_MODE_SIZE (DImode))
fprintf (file, "\t\tand.u%d %%r%d, %%r%d, -%d;\n",
fprintf (file,
"\t\tand.u%d %%r%d, %%r%d, -" HOST_WIDE_INT_PRINT_DEC ";\n",
bits, regno, regno, UINTVAL (align));
}
if (cfun->machine->has_softstack)
......
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