Commit a0466a68 by Richard Kenner

(print_operand, case 'J'): Write out shift count of 0, not 32 for bit

31 of CCR.

From-SVN: r4707
parent 184be4bf
......@@ -840,7 +840,8 @@ print_operand (file, x, code)
if (i == -1)
output_operand_lossage ("invalid %%J code");
else
fprintf (file, "%d", i + 1);
/* If we want bit 31, write a shift count of zero, not 32. */
fprintf (file, "%d", i == 31 ? 0 : i + 1);
return;
case 'k':
......
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