From 303090e00f1720eb8836487d177ea0e0f821a992 Mon Sep 17 00:00:00 2001 From: bugzilla-daemon Date: Sat, 23 May 2020 12:51:01 +0000 Subject: [PATCH] [libre-riscv-dev] [Bug 336] ALU CompUnit needs to recognise that RA (src1) can be zero --- 80/e7cd57b3896c18084e02553ecbf55d631bf842 | 98 +++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 80/e7cd57b3896c18084e02553ecbf55d631bf842 diff --git a/80/e7cd57b3896c18084e02553ecbf55d631bf842 b/80/e7cd57b3896c18084e02553ecbf55d631bf842 new file mode 100644 index 0000000..b4efed2 --- /dev/null +++ b/80/e7cd57b3896c18084e02553ecbf55d631bf842 @@ -0,0 +1,98 @@ +Return-path: +Envelope-to: publicinbox@libre-riscv.org +Delivery-date: Sat, 23 May 2020 13:51:05 +0100 +Received: from localhost ([::1] helo=libre-riscv.org) + by libre-soc.org with esmtp (Exim 4.89) + (envelope-from ) + id 1jcTcE-0003pW-NV; Sat, 23 May 2020 13:51:02 +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 1jcTcD-0003pC-3C + for libre-riscv-dev@lists.libre-riscv.org; Sat, 23 May 2020 13:51:01 +0100 +From: bugzilla-daemon@libre-soc.org +To: libre-riscv-dev@lists.libre-riscv.org +Date: Sat, 23 May 2020 12:51:01 +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: cestrauss@gmail.com +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 336] ALU CompUnit needs to recognise that RA + (src1) can be zero +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" + +aHR0cHM6Ly9idWdzLmxpYnJlLXNvYy5vcmcvc2hvd19idWcuY2dpP2lkPTMzNgoKLS0tIENvbW1l +bnQgIzUgZnJvbSBMdWtlIEtlbm5ldGggQ2Fzc29uIExlaWdodG9uIDxsa2NsQGxrY2wubmV0PiAt +LS0KQ2VzYXIsIGhpLAoKanVzdCB0byBsZXQgeW91IGtub3csIHRoaXMgc2hvdWxkICpub3QqIGlu +dGVyZmVyZSB3aXRoIGFkZGluZyBpc196ZXJvIHN1cHBvcnQuIAppdCBob3dldmVyIHdpbGwgYmUg +bmVjZXNzYXJ5IHRvIHVzZSB0aGlzOgoKwqAgwqAgaWYgaGFzYXR0cihzZWxmLm9wZXJfaSwgInpl +cm9fYSIpOgogICAgICAgICMgb2sgbm93IHdlIGtub3cgdGhhdCB0aGlzIG9wZXJhdGlvbiByZXF1 +aXJlcyB6ZXJvX2Egc3VwcG9ydCwgd2UgY2FuwqAgwqAgCiAgICAgICAgIyBtdXggaW4gemVyb19h +LiDCoG90aGVyd2lzZSB3ZSBtdXN0IHB1dCByZWdpc3RlciBhIHN0cmFpZ2h0IHRocm91Z2gKCmkg +YW0gZG9pbmcgYSBtaW5vciBjb2RlLW1vcnBoIG9uIE11bHRpQ29tcFVuaXQgd2hpY2ggbWFrZXMg +aXQgc3VpdGFibGUgZm9yCmdlbmVyYWwgdXNlIGFjcm9zcy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