diff options
author | Alan Modra <amodra@gmail.com> | 2016-03-02 08:58:07 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-03-02 13:35:41 +1030 |
commit | 62de1c630f16c21418464727692bcd29e23ef1b0 (patch) | |
tree | c668a9536a57051a0e24f44444168d4ae7fd3805 /opcodes/fr30-ibld.c | |
parent | e14ec281fb9f6c4cc7bf59ed18d2acaf02d4d0f9 (diff) | |
download | fsf-binutils-gdb-62de1c630f16c21418464727692bcd29e23ef1b0.zip fsf-binutils-gdb-62de1c630f16c21418464727692bcd29e23ef1b0.tar.gz fsf-binutils-gdb-62de1c630f16c21418464727692bcd29e23ef1b0.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |