From 805d4d6bdeac057198b453f8d393f63603701394 Mon Sep 17 00:00:00 2001 From: bugzilla-daemon Date: Sun, 24 May 2020 21:51:56 +0000 Subject: [PATCH] [libre-riscv-dev] [Bug 349] privileged-instruction decoding function needed --- 05/b86d7ee1fba5c2a4aa165a88eff614f349bf44 | 76 +++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 05/b86d7ee1fba5c2a4aa165a88eff614f349bf44 diff --git a/05/b86d7ee1fba5c2a4aa165a88eff614f349bf44 b/05/b86d7ee1fba5c2a4aa165a88eff614f349bf44 new file mode 100644 index 0000000..360a06f --- /dev/null +++ b/05/b86d7ee1fba5c2a4aa165a88eff614f349bf44 @@ -0,0 +1,76 @@ +Return-path: +Envelope-to: publicinbox@libre-riscv.org +Delivery-date: Sun, 24 May 2020 22:51:59 +0100 +Received: from localhost ([::1] helo=libre-riscv.org) + by libre-soc.org with esmtp (Exim 4.89) + (envelope-from ) + id 1jcyXG-0001VQ-Nr; Sun, 24 May 2020 22:51:58 +0100 +Received: from localhost ([127.0.0.1] helo=bugs.libre-soc.org) + by libre-soc.org with esmtp (Exim 4.89) + (envelope-from ) id 1jcyXE-0001VI-1p + for libre-riscv-dev@lists.libre-riscv.org; Sun, 24 May 2020 22:51:56 +0100 +From: bugzilla-daemon@libre-soc.org +To: libre-riscv-dev@lists.libre-riscv.org +Date: Sun, 24 May 2020 21:51:56 +0000 +X-Bugzilla-Reason: CC +X-Bugzilla-Type: changed +X-Bugzilla-Watch-Reason: None +X-Bugzilla-Product: Libre-SOC's first SoC +X-Bugzilla-Component: Source Code +X-Bugzilla-Version: unspecified +X-Bugzilla-Keywords: +X-Bugzilla-Severity: enhancement +X-Bugzilla-Who: lkcl@lkcl.net +X-Bugzilla-Status: CONFIRMED +X-Bugzilla-Resolution: +X-Bugzilla-Priority: --- +X-Bugzilla-Assigned-To: lkcl@lkcl.net +X-Bugzilla-Flags: +X-Bugzilla-Changed-Fields: +Message-ID: +In-Reply-To: +References: +X-Bugzilla-URL: https://bugs.libre-soc.org/ +Auto-Submitted: auto-generated +MIME-Version: 1.0 +Subject: [libre-riscv-dev] [Bug 349] privileged-instruction decoding + function needed +X-BeenThere: libre-riscv-dev@lists.libre-riscv.org +X-Mailman-Version: 2.1.23 +Precedence: list +List-Id: Libre-RISCV General Development + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +Reply-To: Libre-RISCV General Development + +Content-Type: text/plain; charset="utf-8" +Content-Transfer-Encoding: base64 +Errors-To: libre-riscv-dev-bounces@lists.libre-riscv.org +Sender: "libre-riscv-dev" + +aHR0cHM6Ly9idWdzLmxpYnJlLXNvYy5vcmcvc2hvd19idWcuY2dpP2lkPTM0OQoKLS0tIENvbW1l +bnQgIzEgZnJvbSBMdWtlIEtlbm5ldGggQ2Fzc29uIExlaWdodG9uIDxsa2NsQGxrY2wubmV0PiAt +LS0KZnJvbSBodHRwczovL2dpdGh1Yi5jb20vYW50b25ibGFuY2hhcmQvbWljcm93YXR0L2Jsb2Iv +bWFzdGVyL2V4ZWN1dGUxLnZoZGwKCiAgICB0eXBlIHByaXZpbGVnZV9sZXZlbCBpcyAoVVNFUiwg +U1VQRVIpOwogICAgdHlwZSBvcF9wcml2aWxlZ2VfYXJyYXkgaXMgYXJyYXkoaW5zbl90eXBlX3Qp +IG9mIHByaXZpbGVnZV9sZXZlbDsKICAgIGNvbnN0YW50IG9wX3ByaXZpbGVnZTogb3BfcHJpdmls +ZWdlX2FycmF5IDo9ICgKICAgICAgICBPUF9BVFROID0+IFNVUEVSLAogICAgICAgIE9QX01GTVNS +ID0+IFNVUEVSLAogICAgICAgIE9QX01UTVNSRCA9PiBTVVBFUiwKICAgICAgICBPUF9SRklEID0+ +IFNVUEVSLAogICAgICAgIG90aGVycyA9PiBVU0VSCiAgICAgICAgKTsKCiAgICBmdW5jdGlvbiBp +bnN0cl9pc19wcml2aWxlZ2VkKG9wOiBpbnNuX3R5cGVfdDsgaW5zbjogc3RkX3Vsb2dpY192ZWN0 +b3IoMzEKZG93bnRvIDApKQogICAgICAgIHJldHVybiBib29sZWFuIGlzCiAgICBiZWdpbgogICAg +ICAgIGlmIG9wX3ByaXZpbGVnZShvcCkgPSBTVVBFUiB0aGVuCiAgICAgICAgICAgIHJldHVybiB0 +cnVlOwogICAgICAgIGVsc2lmIG9wID0gT1BfTUZTUFIgb3Igb3AgPSBPUF9NVFNQUiB0aGVuCiAg +ICAgICAgICAgIHJldHVybiBpbnNuKDIwKSA9ICcxJzsKICAgICAgICBlbHNlCiAgICAgICAgICAg +IHJldHVybiBmYWxzZTsKICAgIGVuZDsKCi0tIApZb3UgYXJlIHJlY2VpdmluZyB0aGlzIG1haWwg +YmVjYXVzZToKWW91IGFyZSBvbiB0aGUgQ0MgbGlzdCBmb3IgdGhlIGJ1Zy4KX19fX19fX19fX19f +X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlicmUtcmlzY3YtZGV2IG1haWxp +bmcgbGlzdApsaWJyZS1yaXNjdi1kZXZAbGlzdHMubGlicmUtcmlzY3Yub3JnCmh0dHA6Ly9saXN0 +cy5saWJyZS1yaXNjdi5vcmcvbWFpbG1hbi9saXN0aW5mby9saWJyZS1yaXNjdi1kZXYK + -- 2.30.2