From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2115) id 216633857838; Tue, 22 Nov 2022 12:00:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 216633857838 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Shahab Vahedi To: bfd-cvs@sourceware.org Subject: [binutils-gdb] opcodes: Correct address for ARC's "isa_config" aux reg X-Act-Checkin: binutils-gdb X-Git-Author: Shahab Vahedi X-Git-Refname: refs/heads/master X-Git-Oldrev: dc95ee260cc209c2c4c313ef65fbd0a158d7ca4a X-Git-Newrev: b2059307d86cf02ddd0f81b6d53306a685a9b3b4 Message-Id: <20221122120014.216633857838@sourceware.org> Date: Tue, 22 Nov 2022 12:00:14 +0000 (GMT) X-BeenThere: binutils-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Nov 2022 12:00:14 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Db2059307d86c= f02ddd0f81b6d53306a685a9b3b4 commit b2059307d86cf02ddd0f81b6d53306a685a9b3b4 Author: Shahab Vahedi Date: Mon Nov 21 15:56:31 2022 +0100 opcodes: Correct address for ARC's "isa_config" aux reg =20 This patch changes the address for "isa_config" auxiliary register from 0xC2 to the correct value 0xC1. Moreover, it only exists in arc700+ and not all ARCs. =20 opcodes/ChangeLog: =20 * arc-regs.h: Change isa_config address to 0xc1. isa_config exists for ARC700 and ARCV2 and not ARCALL. Diff: --- opcodes/ChangeLog | 5 +++++ opcodes/arc-regs.h | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 5bddae5c626..8dab47fcbb2 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2022-11-22 Shahab Vahedi + + * arc-regs.h: Change isa_config address to 0xc1. + isa_config exists for ARC700 and ARCV2 and not ARCALL. + 2022-10-31 Yoshinori Sato =20 * rx-decode.opc: Switch arguments of the MVTACGU insn. diff --git a/opcodes/arc-regs.h b/opcodes/arc-regs.h index 2f296639442..aa6b40de1f1 100644 --- a/opcodes/arc-regs.h +++ b/opcodes/arc-regs.h @@ -207,7 +207,8 @@ DEF (0xac, ARC_OPCODE_ARCALL, NONE, se_dbg_data3) DEF (0xad, ARC_OPCODE_ARCALL, NONE, se_watch) DEF (0xc0, ARC_OPCODE_ARCALL, NONE, bpu_build) DEF (0xc1, ARC_OPCODE_ARC600, NONE, arc600_build_config) -DEF (0xc2, ARC_OPCODE_ARCALL, NONE, isa_config) +DEF (0xc1, ARC_OPCODE_ARC700, NONE, isa_config) +DEF (0xc1, ARC_OPCODE_ARCV2, NONE, isa_config) DEF (0xf4, ARC_OPCODE_ARCALL, NONE, hwp_build) DEF (0xf5, ARC_OPCODE_ARCALL, NONE, pct_build) DEF (0xf6, ARC_OPCODE_ARCALL, NONE, cc_build)