Fix compile time warnings when building for the CSKY target on a 32-bit host.

incldue	* opcode/csky.h (CSKY_ISA_FLOAT_7E60): Use a long long type for
	this value.

opcodes	* csky-dis.c (csky_output_operand): Coerce the immediate values to
	long before printing.
This commit is contained in:
Nick Clifton
2020-09-10 09:58:15 +01:00
parent 23bef3fea3
commit 0332f66274
4 changed files with 12 additions and 2 deletions

View File

@@ -58,7 +58,7 @@
/* 807 support (803f & 807f). */
#define CSKY_ISA_FLOAT_3E4 (1L << 28)
/* 860 support. */
#define CSKY_ISA_FLOAT_7E60 (1L << 36)
#define CSKY_ISA_FLOAT_7E60 (1LL << 36)
/* Vector DSP support. */
#define CSKY_ISA_VDSP (1L << 29)
#define CSKY_ISA_VDSP_2 (1L << 30)