summaryrefslogtreecommitdiff
path: root/opcodes/fr30-ibld.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-03-02 08:58:07 +1030
committerAlan Modra <amodra@gmail.com>2016-03-02 13:35:41 +1030
commit62de1c630f16c21418464727692bcd29e23ef1b0 (patch)
treec668a9536a57051a0e24f44444168d4ae7fd3805 /opcodes/fr30-ibld.c
parente14ec281fb9f6c4cc7bf59ed18d2acaf02d4d0f9 (diff)
downloadbinutils-gdb-62de1c630f16c21418464727692bcd29e23ef1b0.tar.gz
Fix shift left warning at source
cpu/ * fr30.cpu (f-m4): Replace -1 << 4 with -16. opcodes/ * fr30-ibld.c: Regenerate.
Diffstat (limited to 'opcodes/fr30-ibld.c')
-rw-r--r--opcodes/fr30-ibld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/fr30-ibld.c b/opcodes/fr30-ibld.c
index 1293e73ba29..3ebecf92f94 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;