From 5692346c6648b2fa68d38d655fc9fbb6576ff7f5 Mon Sep 17 00:00:00 2001 From: bugzilla-daemon Date: Wed, 15 Apr 2020 19:14:07 +0000 Subject: [PATCH] [libre-riscv-dev] [Bug 208] implement CORDIC in a general way sufficient to do transcendentals --- 2b/8b4f929972845de1f5a4f50d2b742b93ddf206 | 114 ++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 2b/8b4f929972845de1f5a4f50d2b742b93ddf206 diff --git a/2b/8b4f929972845de1f5a4f50d2b742b93ddf206 b/2b/8b4f929972845de1f5a4f50d2b742b93ddf206 new file mode 100644 index 0000000..11678e5 --- /dev/null +++ b/2b/8b4f929972845de1f5a4f50d2b742b93ddf206 @@ -0,0 +1,114 @@ +Return-path: +Envelope-to: publicinbox@libre-riscv.org +Delivery-date: Wed, 15 Apr 2020 20:14:10 +0100 +Received: from localhost ([::1] helo=libre-riscv.org) + by libre-soc.org with esmtp (Exim 4.89) + (envelope-from ) + id 1jOnU9-00077J-Bj; Wed, 15 Apr 2020 20:14:09 +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 1jOnU7-000779-Fy + for libre-riscv-dev@lists.libre-riscv.org; Wed, 15 Apr 2020 20:14:07 +0100 +From: bugzilla-daemon@libre-soc.org +To: libre-riscv-dev@lists.libre-riscv.org +Date: Wed, 15 Apr 2020 19:14:07 +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 +bnQgIzcgZnJvbSBMdWtlIEtlbm5ldGggQ2Fzc29uIExlaWdodG9uIDxsa2NsQGxrY2wubmV0PiAt +LS0KKEluIHJlcGx5IHRvIE1pY2hhZWwgTm9sYW4gZnJvbSBjb21tZW50ICM2KQo+IChJbiByZXBs +eSB0byBMdWtlIEtlbm5ldGggQ2Fzc29uIExlaWdodG9uIGZyb20gY29tbWVudCAjNSkKPiA+IG9r +IHNvIHdvdWxkIHlvdSBsaWtlIHRvIGRvIHRoZSBuZXh0IHN0ZXA/IHdoaWNoIGlzLCB5ZXAgeW91 +IGd1ZXNzZWQgaXQ6Cj4gPiBJRUVFNzU0IEZQIHNpbiBhbmQgY29zIDopCj4gCj4gSSdtIG5vdCBy +ZWFsbHkgc3VyZSBob3cgdG8gZG8gdGhpcyB0aG91Z2guIEkga25vdyB5b3UgZGlkIGEgc2ltaWxh +ciB0aGluZyBvbgo+IHRoZSBkaXZpZGVyLCBkaWQgeW91IGhhbmRsZSBpdCBhcyBhIGZsb2F0IHRo +ZSBlbnRpcmUgd2F5IHRocm91Z2ggb3IgY29udmVydAo+IGl0IHRvIGludGVnZXIuLi4gc29tZWhv +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