X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2Fepiphany-ibld.c;h=c23a969294ebdcfd0fda3f2770bb0bc3e78ab7e1;hb=c1a66c0629d3b62075a73793f1a7e7393e23e7e2;hp=6e6fd7be9714919e2af7daec2c83d6e38194941e;hpb=b8e61daa1ad56330fd8931c8a53bfa16d8e4a47a;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/epiphany-ibld.c b/opcodes/epiphany-ibld.c index 6e6fd7be97..c23a969294 100644 --- a/opcodes/epiphany-ibld.c +++ b/opcodes/epiphany-ibld.c @@ -4,7 +4,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN: Cpu tools GENerator. - the resultant file is machine generated, cgen-ibld.in isn't - Copyright (C) 1996-2019 Free Software Foundation, Inc. + Copyright (C) 1996-2020 Free Software Foundation, Inc. This file is part of libopcodes. @@ -480,7 +480,10 @@ extract_normal (CGEN_CPU_DESC cd, abort (); if (fill_cache (cd, ex_info, word_offset / 8, word_length / 8, pc) == 0) - return 0; + { + *valuep = 0; + return 0; + } value = extract_1 (cd, ex_info, start, length, word_length, bufp, pc); } @@ -1092,7 +1095,7 @@ epiphany_cgen_extract_operand (CGEN_CPU_DESC cd, length = extract_normal (cd, ex_info, insn_value, 0, 0, 23, 8, 32, total_length, pc, & fields->f_disp8); if (length <= 0) break; { - FLD (f_sdisp11) = ((SI) (((((((FLD (f_disp8)) << (3))) | (FLD (f_disp3)))) << (21))) >> (21)); + FLD (f_sdisp11) = ((((((((((FLD (f_disp8)) << (3))) | (FLD (f_disp3)))) & (2047))) ^ (1024))) - (1024)); } } break;