From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx07-00376f01.pphosted.com (mx07-00376f01.pphosted.com [185.132.180.163]) by sourceware.org (Postfix) with ESMTPS id 84EB93858C66 for ; Fri, 22 Dec 2023 05:27:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 84EB93858C66 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 84EB93858C66 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=185.132.180.163 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703222843; cv=none; b=gk5Lzfd3Syl8MSJEUlSKDgDNE+LrS5w5ieunszsQa0+NZm3ls+NRUsJ/ojmt/mMMw8neIz3CFqPFggcYRi9WyYfRDJdfihu5ESl9baecTUOpMaPoBc2HTnYExLPN6qkfBDSQyNHu0ToTS7qA+NPsr3F6fiArO0Zdt3NxdnD1PB4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703222843; c=relaxed/simple; bh=fxVccBsH5HmZ6hZI0QmdV0rJY+qRyP0P33Vb/3hDAV4=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=U8rj0inK7hWbJWAZPkDtNXm+IaVHw+k5E7PpOyINHwAAmgHq4xkkuj4/p0D10JvFhIe6F0kGq1t/SScLhgKGDIUx2JgIaxzFWfP5lNt6VbJUtk4fp6yp8h3yvVdSONVPvq1Qss8INTeWZLtekuEtugkvQ6qErcObVAaHr+iStJk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0168889.ppops.net [127.0.0.1]) by mx07-00376f01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BM5K2jt027799; Fri, 22 Dec 2023 05:27:10 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=Epeeutxy QAWE1nH7etKTh+UXXf8Zr62+TNygBaK1+Ig=; b=Om7MZXWleShWKGQYo7o1JnXR OYQRJkywvopuxIup9fXaOlihcKOeh8vf3ouJ5uDHYCTDQ06JgF+F3Y58TZfZz3St BW5kCbun+NS4FjyydZ3I7/f6rtPV+aXGhyR43xK/7/wSGYNHIaxu19mvaMtLJJtX bUHVHQNxCCsHIjrpWRGFeslJ3vHcfBl3zoOl7wUB6dQqoy4PDR9vo2rrM9DUCojp MaA3JqSXNcRzGlIEpWbc74JgwutIIv0ItEGlxI7p+LGTmRVwqVXS+tL9NxDU0pUx oiadx6pA2qqvlkLtSNfQuI+kAxruAOAo4lJJ3B8ZkCKjGK20nHBUfIrRXv3rOA== Received: from hhmail05.hh.imgtec.org ([217.156.249.195]) by mx07-00376f01.pphosted.com (PPS) with ESMTPS id 3v2kvk30ma-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 22 Dec 2023 05:27:10 +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; Fri, 22 Dec 2023 05:27:09 +0000 From: To: CC: , , , , Subject: [PATCH v5 0/2] sim: riscv: Compressed instruction simulation Date: Fri, 22 Dec 2023 05:26:56 +0000 Message-ID: <20231222052658.2102802-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: _RKELSmGKFGA-4owTd4-_vts8vXfsjKy X-Proofpoint-ORIG-GUID: _RKELSmGKFGA-4owTd4-_vts8vXfsjKy X-Spam-Status: No, score=-4.6 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 List-Id: From: Jaydeep Patil Hi Mike, Andrew, Addressed review comments. - Simplified the checking for C extension - Simplified the .exp file for tests. Options moved to individual .s files. 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 | 339 ++++++++++++++++++++++++++++++-- sim/testsuite/riscv/allinsn.exp | 2 +- sim/testsuite/riscv/c-ext.s | 95 +++++++++ sim/testsuite/riscv/jalr.s | 2 +- sim/testsuite/riscv/m-ext.s | 2 +- sim/testsuite/riscv/pass.s | 2 +- 8 files changed, 437 insertions(+), 16 deletions(-) create mode 100644 sim/testsuite/riscv/c-ext.s -- 2.25.1