C-SKY: Fix the literal dump of big vector constant.

gas/
	* config/tc-csky.c (dump_literals): Fix the literal dump of big
	vector constant.
This commit is contained in:
Cooper Qu 2020-10-19 15:45:36 +08:00 committed by Lifang Xia
parent 1b03c32c3b
commit 2e58f3923e

View File

@ -2022,7 +2022,8 @@ dump_literals (int isforce)
emit_expr (& p->e, 4);
if (p->e.X_op == O_big)
i += ((p->e.X_add_number * CHARS_PER_LITTLENUM) >> 2);
i += (p->e.X_add_number & 1) +
((p->e.X_add_number * CHARS_PER_LITTLENUM) >> 2);
else
i += (p->isdouble ? 2 : 1);
}