From ba1d453df1ea110752da2b2d846e7abce2107b15 Mon Sep 17 00:00:00 2001 From: bugzilla-daemon Date: Thu, 16 Apr 2020 16:46:58 +0000 Subject: [PATCH] [libre-riscv-dev] [Bug 208] implement CORDIC in a general way sufficient to do transcendentals --- 57/2005177a838e406506a60a92845da32b686778 | 117 ++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 57/2005177a838e406506a60a92845da32b686778 diff --git a/57/2005177a838e406506a60a92845da32b686778 b/57/2005177a838e406506a60a92845da32b686778 new file mode 100644 index 0000000..4afbbb4 --- /dev/null +++ b/57/2005177a838e406506a60a92845da32b686778 @@ -0,0 +1,117 @@ +Return-path: +Envelope-to: publicinbox@libre-riscv.org +Delivery-date: Thu, 16 Apr 2020 17:47:01 +0100 +Received: from localhost ([::1] helo=libre-riscv.org) + by libre-soc.org with esmtp (Exim 4.89) + (envelope-from ) + id 1jP7fI-0008UJ-GT; Thu, 16 Apr 2020 17:47:00 +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 1jP7fF-0008U3-UP + for libre-riscv-dev@lists.libre-riscv.org; Thu, 16 Apr 2020 17:46:58 +0100 +From: bugzilla-daemon@libre-soc.org +To: libre-riscv-dev@lists.libre-riscv.org +Date: Thu, 16 Apr 2020 16:46:58 +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: ALU (including IEEE754 16/32/64-bit FPU) +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: mtnolan2640@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 208] implement CORDIC in a general way + sufficient to do transcendentals +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" + +aHR0cHM6Ly9idWdzLmxpYnJlLXNvYy5vcmcvc2hvd19idWcuY2dpP2lkPTIwOAoKLS0tIENvbW1l +bnQgIzE5IGZyb20gTHVrZSBLZW5uZXRoIENhc3NvbiBMZWlnaHRvbiA8bGtjbEBsa2NsLm5ldD4g +LS0tCihJbiByZXBseSB0byBKYWNvYiBMaWZzaGF5IGZyb20gY29tbWVudCAjMTgpCj4gKEluIHJl +cGx5IHRvIE1pY2hhZWwgTm9sYW4gZnJvbSBjb21tZW50ICMxNykKPiA+IEknbSB3b3JraW5nIG9u +IGNvbnZlcnRpbmcgdGhlIGZsb2F0aW5nIHBvaW50IGlucHV0IHRvIHRoZSBmaXhlZCBwb2ludCB2 +YWx1ZQo+ID4gbmVlZGVkIGJ5IHRoZSBjb3JkaWMuIEkndmUgZ290IG15IG1vZHVsZSBkZWNvZGlu +ZyB0aGUgZmxvYXQgaW50byBzaWduLAo+ID4gZXhwb25lbnQsIGFuZCBtYW50aXNzYSB3aXRoIEZQ +TnVtRGVjb2RlLCBhbmQgdGhlIG1hbnRpc3NhIGlzIG1pc3NpbmcgdGhlCj4gPiAoaW1wbGllZCkg +bGVhZGluZyAxIGJpdC4gSSdtIGFsc28gbG9va2luZyBhdCB0aGUgbW9kdWxlcyBvZiBmcGRpdiAo +ZGl2MC5weQo+ID4gYW5kIG5taWdlbl9kaXZfZXhwZXJpb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