From 3af8d5c7bc1f1a32cdad048ee9c8a54ec4a3fbc5 Mon Sep 17 00:00:00 2001 From: bugzilla-daemon Date: Sun, 7 Jun 2020 20:19:47 +0000 Subject: [PATCH] [libre-riscv-dev] [Bug 363] inconsistency between isel and mfcr and crand unit test on bit-ordering of CR --- bc/5ac6b977773b562a402b7dbc7cae010a2ff324 | 103 ++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 bc/5ac6b977773b562a402b7dbc7cae010a2ff324 diff --git a/bc/5ac6b977773b562a402b7dbc7cae010a2ff324 b/bc/5ac6b977773b562a402b7dbc7cae010a2ff324 new file mode 100644 index 0000000..d95db40 --- /dev/null +++ b/bc/5ac6b977773b562a402b7dbc7cae010a2ff324 @@ -0,0 +1,103 @@ +Return-path: +Envelope-to: publicinbox@libre-riscv.org +Delivery-date: Sun, 07 Jun 2020 21:19:49 +0100 +Received: from localhost ([::1] helo=libre-riscv.org) + by libre-soc.org with esmtp (Exim 4.89) + (envelope-from ) + id 1ji1lk-0002K7-Io; Sun, 07 Jun 2020 21:19:48 +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 1ji1li-0002Jy-NF + for libre-riscv-dev@lists.libre-riscv.org; Sun, 07 Jun 2020 21:19:46 +0100 +From: bugzilla-daemon@libre-soc.org +To: libre-riscv-dev@lists.libre-riscv.org +Date: Sun, 07 Jun 2020 20:19:47 +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: RESOLVED +X-Bugzilla-Resolution: FIXED +X-Bugzilla-Priority: --- +X-Bugzilla-Assigned-To: mtnolan2640@gmail.com +X-Bugzilla-Flags: +X-Bugzilla-Changed-Fields: bug_status resolution +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 363] inconsistency between isel and mfcr and + crand unit test on bit-ordering of CR +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" + +aHR0cHM6Ly9idWdzLmxpYnJlLXNvYy5vcmcvc2hvd19idWcuY2dpP2lkPTM2MwoKTHVrZSBLZW5u +ZXRoIENhc3NvbiBMZWlnaHRvbiA8bGtjbEBsa2NsLm5ldD4gY2hhbmdlZDoKCiAgICAgICAgICAg +V2hhdCAgICB8UmVtb3ZlZCAgICAgICAgICAgICAgICAgICAgIHxBZGRlZAotLS0tLS0tLS0tLS0t +LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t +LS0tLS0tCiAgICAgICAgICAgICBTdGF0dXN8Q09ORklSTUVEICAgICAgICAgICAgICAgICAgIHxS +RVNPTFZFRAogICAgICAgICBSZXNvbHV0aW9ufC0tLSAgICAgICAgICAgICAgICAgICAgICAgICB8 +RklYRUQKCi0tLSBDb21tZW50ICM4IGZyb20gTHVrZSBLZW5uZXRoIENhc3NvbiBMZWlnaHRvbiA8 +bGtjbEBsa2NsLm5ldD4gLS0tCm1pY2hhZWwgaSd2ZSBqdXN0IGJlZW4gaW52ZXN0aWdhdGluZyBi +eSBhZGRpbmcgZXh0cmEgdW5pdCB0ZXN0cyB0aGF0CmkgYmVsaWV2ZSB0byBiZSByZWFzb25hYmxl +Ogo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