From: bugzilla-daemon Date: Sun, 14 Jun 2020 23:42:40 +0000 (+0000) Subject: [libre-riscv-dev] [Bug 336] ALU CompUnit needs to recognise that RA (src1) can be... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=07ef43ff6a4a4a0c32d7845a609b2481db575d0f;p=libre-riscv-dev.git [libre-riscv-dev] [Bug 336] ALU CompUnit needs to recognise that RA (src1) can be zero --- diff --git a/45/509c8f2788651b72d35384c480a8544fe721ff b/45/509c8f2788651b72d35384c480a8544fe721ff new file mode 100644 index 0000000..fea91fd --- /dev/null +++ b/45/509c8f2788651b72d35384c480a8544fe721ff @@ -0,0 +1,119 @@ +Return-path: +Envelope-to: publicinbox@libre-riscv.org +Delivery-date: Mon, 15 Jun 2020 00:42:42 +0100 +Received: from localhost ([::1] helo=libre-riscv.org) + by libre-soc.org with esmtp (Exim 4.89) + (envelope-from ) + id 1jkcGv-0006jZ-Vd; Mon, 15 Jun 2020 00:42:41 +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 1jkcGu-0006jP-7w + for libre-riscv-dev@lists.libre-riscv.org; Mon, 15 Jun 2020 00:42:40 +0100 +From: bugzilla-daemon@libre-soc.org +To: libre-riscv-dev@lists.libre-riscv.org +Date: Sun, 14 Jun 2020 23:42:40 +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 +bnQgIzYwIGZyb20gTHVrZSBLZW5uZXRoIENhc3NvbiBMZWlnaHRvbiA8bGtjbEBsa2NsLm5ldD4g +LS0tCihJbiByZXBseSB0byBDZXNhciBTdHJhdXNzIGZyb20gY29tbWVudCAjNTkpCj4gQ3JlYXRl +ZCBhdHRhY2htZW50IDY0IFtkZXRhaWxzXQo+IFN1Z2dlc3RlZCBwaXBlbGluZSBkZXNpZ24gZm9y +IHRoZSBBTFUgQ29tcCBVbml0Cj4gCj4gKEluIHJlcGx5IHRvIEx1a2UgS2VubmV0aCBDYXNzb24g +TGVpZ2h0b24gZnJvbSBjb21tZW50ICM1OCkKPiA+IChJbiByZXBseSB0byBDZXNhciBTdHJhdXNz +IGZyb20gY29tbWVudCAjNTcpCj4gPiA+IEkgZG9uJ3QgcmVhbGx5IHJlY2FsbCBiZWluZyBtdWNo +IGFmZmxpY3RlZCBieSB0aGlzIHNvcnQgb2YgaXNzdWUuIEJ1dCB0aGVuLAo+ID4gPiBJIG5vcm1h +bGx5IHRyeSB0byBhdm9pZCB1c2luZyBsYXRjaGVzIGFzIG11Y2ggYXMgcG9zc2libGUsIHRoaXMg +bWF5IGJlIHRoZQo+ID4gPiByZWFzb24uCj4gPiAKPiA+IHl5ZWFoIHRoZXkncmUgb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