From 62de1c630f16c21418464727692bcd29e23ef1b0 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 2 Mar 2016 08:58:07 +1030 Subject: Fix shift left warning at source cpu/ * fr30.cpu (f-m4): Replace -1 << 4 with -16. opcodes/ * fr30-ibld.c: Regenerate. --- opcodes/fr30-ibld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opcodes/fr30-ibld.c') diff --git a/opcodes/fr30-ibld.c b/opcodes/fr30-ibld.c index 1293e73..3ebecf9 100644 --- a/opcodes/fr30-ibld.c +++ b/opcodes/fr30-ibld.c @@ -881,7 +881,7 @@ fr30_cgen_extract_operand (CGEN_CPU_DESC cd, { long value; length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 4, 16, total_length, pc, & value); - value = ((value) | (((-1UL) << (4)))); + value = ((value) | (-16)); fields->f_m4 = value; } break; -- cgit v1.1