From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F134F3858C66; Sat, 27 May 2023 14:52:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F134F3858C66 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1685199133; bh=g6MYzcKM0lhhfsRGlwB0rAh0bT1fG1xfOUWulvZmwmQ=; h=From:To:Subject:Date:From; b=qZ0Jy/Nbkh0zNYlT8NVGNyYp36JKcBBN239xJTbkX+By/dayEb1vZXR0ECjQ5LvY9 7UW2NP7Y/NVYjKhdJ6qs1CtZVJ0VapyOD/x5JiNqH4+jZbqov7hjvWpNgVFBbI3xQN +RxRcLfPTcZIklFwvUzmXHie1dMcFK+F+HjTq2GY= From: "tommy_murphy at hotmail dot com" To: gdb-prs@sourceware.org Subject: [Bug sim/30494] New: ori x0, xn, imm decoded as incorrect instruction class Date: Sat, 27 May 2023 14:52:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: sim X-Bugzilla-Version: 12.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tommy_murphy at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30494 Bug ID: 30494 Summary: ori x0, xn, imm decoded as incorrect instruction class Product: gdb Version: 12.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: sim Assignee: unassigned at sourceware dot org Reporter: tommy_murphy at hotmail dot com CC: vapier at gentoo dot org Target Milestone: --- Originally discussed here: https://github.com/riscv-collab/riscv-gnu-toolchain/issues/1200 As far as I can see (and as outlined here: https://github.com/riscv-collab/riscv-gnu-toolchain/issues/1200#issuecommen= t-1451965016) the ori x0, xn, imm instruction is getting decoded as the wrong class (INSN_CLASS_ZBC_OR_ZBKC instead of INSN_CLASS_I) and the simulator terminat= es with an UNHANDLED_EXTENSION message. If any additional info is needed please let me know - thanks. --=20 You are receiving this mail because: You are on the CC list for the bug.=