X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2Fepiphany-ibld.c;h=c23a969294ebdcfd0fda3f2770bb0bc3e78ab7e1;hb=c1a66c0629d3b62075a73793f1a7e7393e23e7e2;hp=37cbe39c1d409c0b5aacd7c664d6250de8ff0eed;hpb=a6743a5420aa02a0550b0f7be004f6c06e90ce21;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/epiphany-ibld.c b/opcodes/epiphany-ibld.c index 37cbe39c1d..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-2018 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; @@ -1100,7 +1103,7 @@ epiphany_cgen_extract_operand (CGEN_CPU_DESC cd, { long value; length = extract_normal (cd, ex_info, insn_value, 0|(1<f_simm24 = value; } break; @@ -1111,7 +1114,7 @@ epiphany_cgen_extract_operand (CGEN_CPU_DESC cd, { long value; length = extract_normal (cd, ex_info, insn_value, 0|(1<f_simm8 = value; } break;