summaryrefslogtreecommitdiff
path: root/opcodes
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
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')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/fr30-ibld.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 0a78719cb2e..63361e4f6ac 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2016-03-02 Alan Modra <amodra@gmail.com>
+
+ * fr30-ibld.c: Regenerate.
+
2016-03-01 Nick Clifton <nickc@redhat.com>
PR target/19747
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;