Message ID | 20231221111139.26341-1-jaydeep.patil@imgtec.com |
---|---|
Headers |
Return-Path: <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AAD46385C6E8 for <patchwork@sourceware.org>; Thu, 21 Dec 2023 11:12:15 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mx08-00376f01.pphosted.com (mx08-00376f01.pphosted.com [91.207.212.86]) by sourceware.org (Postfix) with ESMTPS id DE05E3858D35 for <gdb-patches@sourceware.org>; Thu, 21 Dec 2023 11:12:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DE05E3858D35 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=imgtec.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=imgtec.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DE05E3858D35 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=91.207.212.86 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703157123; cv=none; b=dogVFnfYkfgYky77WhALkSLqfAbgUPCRwymT7p1XPC+xOnIJDL23nUzVMUs23WXLkJac/qbjBnKoQe7BpHqT1yc3zWYYJd9k9X+R7Ziqpot/Moy0NAbzZK3ZuqRa/3AHlHAOHxXsGfHxjvOmIH+iEVa7Q/sF4WYQkm+uVq5cAeM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703157123; c=relaxed/simple; bh=JIPHfImtTu75QODn8TPezEVNb6ioWMvc+FpCvJP/E9c=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=wWLLPWnr+ADUptzda/PAZ3ONJzlaESgDCfAJKwvpHDa99cE6QI73jsdIMi/qBKnlltnrSmHRPWIpgDCwIdxQ5NnDzMPrEgfIU0cSOykEDSGwDIvbVYAzf8lXjCrQuDbxr1T1/f0/dEU2mOg0MSGM8YXprc4JgP3FUp7HXbOcbcM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0168888.ppops.net [127.0.0.1]) by mx08-00376f01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BL90AEe021506; Thu, 21 Dec 2023 11:11:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=imgtec.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=dk201812; bh=NWARhYrf WyV39TYVh6Lu2GYQ2pWUlVNTsQ1KkY/WrYU=; b=MgwSKnRijdzhaTQ7Kttxy9Sa q0RUTHvWLmHcZH0Da22b8LmkVq4u8iZF0AyhOKU/ZQezZ+E7PWMyycTvouLYoixV sjIbey66P0M6qxKBA64vIBU1ziW4FN/E5cz0GQN4tBc5wsMmc9sUyFsXHzrm2CM0 3qQmXGwpyufhMle7MAWjUwpDCLg8ERm+Clb8abJDSvaqUun5O/SDGi9eyAxIEM9x Z3ii8L/0Vy824sQ01bccK7+3iv8HyYvK4qhN69rStSYnSwhfjopgOTvrpUWZzH47 K4n5j5NbLMQ48JudCvPLbgRGydVwZMUXD0oxA5bMAT5Fh8DsR5zVOvplLryQWQ== Received: from hhmail05.hh.imgtec.org ([217.156.249.195]) by mx08-00376f01.pphosted.com (PPS) with ESMTPS id 3v2kvm22v3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 21 Dec 2023 11:11:50 +0000 (GMT) Received: from hhjpatil.hh.imgtec.org (10.100.136.70) by HHMAIL05.hh.imgtec.org (10.100.10.120) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 21 Dec 2023 11:11:49 +0000 From: <jaydeep.patil@imgtec.com> To: <gdb-patches@sourceware.org> CC: <aburgess@redhat.com>, <vapier@gentoo.org>, <joseph.faulls@imgtec.com>, <bhushan.attarde@imgtec.com>, <jaydeep.patil@imgtec.com> Subject: [PATCH v4 0/2] sim: riscv: Compressed instruction simulation Date: Thu, 21 Dec 2023 11:11:37 +0000 Message-ID: <20231221111139.26341-1-jaydeep.patil@imgtec.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.100.136.70] X-ClientProxiedBy: HHMAIL05.hh.imgtec.org (10.100.10.120) To HHMAIL05.hh.imgtec.org (10.100.10.120) X-EXCLAIMER-MD-CONFIG: 15a78312-3e47-46eb-9010-2e54d84a9631 X-Proofpoint-GUID: NCRud2y6Ur3UVpxWTdo1iP-0a1fSJZy7 X-Proofpoint-ORIG-GUID: NCRud2y6Ur3UVpxWTdo1iP-0a1fSJZy7 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org |
Series |
sim: riscv: Compressed instruction simulation
|
|
Message
Jaydeep Patil
Dec. 21, 2023, 11:11 a.m. UTC
From: Jaydeep Patil <jaydeep.patil@imgtec.com>
Hi Mike, Andrew,
Addressed review comments.
- Fixed riscv opcodes for NULL match_func
- Added models for C extension
- Using RA and SP from sim_riscv_regnum
I have removed the support for semi-hosting from this patch series, will push it
later once the spec is clear.
Jaydeep Patil (2):
[sim/riscv] Fix crash during instruction decoding
[sim/riscv] Add support for compressed integer instructions
opcodes/riscv-dis.c | 2 +-
sim/riscv/model_list.def | 9 +
sim/riscv/sim-main.c | 338 ++++++++++++++++++++++++++++++--
sim/testsuite/riscv/allinsn.exp | 19 ++
sim/testsuite/riscv/c-ext.s | 110 +++++++++++
5 files changed, 466 insertions(+), 12 deletions(-)
create mode 100644 sim/testsuite/riscv/c-ext.s