Deutsch English Français Italiano |
<d491513fc46ed375dd1d3764dbdf9b6f@www.novabbs.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news-out.netnews.com!netnews.com!s1-4.netnews.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!i2pn.org!i2pn2.org!.POSTED!not-for-mail From: mitchalsup@aol.com (MitchAlsup1) Newsgroups: comp.arch Subject: Re: My 66000 and High word facility Date: Tue, 13 Aug 2024 01:23:12 +0000 Organization: Rocksolid Light Message-ID: <d491513fc46ed375dd1d3764dbdf9b6f@www.novabbs.org> References: <v98asi$rulo$1@dont-email.me> <38055f09c5d32ab77b9e3f1c7b979fb4@www.novabbs.org> <v991kh$vu8g$1@dont-email.me> <2024Aug11.163333@mips.complang.tuwien.ac.at> <v9ath5$2qgnb$1@dont-email.me> <2024Aug12.082936@mips.complang.tuwien.ac.at> <130df049c4c97984986767736b5b037a@www.novabbs.org> <v9dnmv$3efnj$1@dont-email.me> <acb76cee233f19672f2ad0380c9cd06e@www.novabbs.org> <v9dt2a$3fdml$1@dont-email.me> <27b9630c6cd23b6ac1251bb3416ce1cf@www.novabbs.org> <v9e9nk$3i0qi$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: i2pn2.org; logging-data="2384472"; mail-complaints-to="usenet@i2pn2.org"; posting-account="65wTazMNTleAJDh/pRqmKE7ADni/0wesT78+pyiDW8A"; User-Agent: Rocksolid Light X-Spam-Checker-Version: SpamAssassin 4.0.0 X-Rslight-Posting-User: ac58ceb75ea22753186dae54d967fed894c3dce8 X-Rslight-Site: $2y$10$.AoYKJsdqIHbv8jiH1zDhuo/IxJNqqwJYosVi6PPG3zYdYVVFDx3q Bytes: 3470 Lines: 61 On Tue, 13 Aug 2024 0:34:55 +0000, BGB wrote: > On 8/12/2024 5:35 PM, MitchAlsup1 wrote: >> On Mon, 12 Aug 2024 20:58:45 +0000, BGB wrote: >> >>> On 8/12/2024 3:12 PM, MitchAlsup1 wrote: >> >>>> See polpak:: r8_erf() >>>> >>>> >>>> r8_erf: ; @r8_erf <snip> >> >> Why don't yuo download polpack, compile it, and state how many >> instructions it takes and how many words of storage it takes ?? > > Found what I assume you are talking about. > > Needed to add "polpak_test.c" as otherwise BGBCC lacks a main and prunes > everything; > Also needed to hack over some compiler holes related to "complex > _Double" to get it to build; > Also needed to stub over some library functions that were added in C99 > but missing in my C library. I only ask for r8_erf() > <snip> > As for "r8_erf()": > > <=== > > r8_erf: <snip> I count 283 instructions compared to my 85 including the 104 instructions it takes your compiler to get to the 1st instruction in My 66000 code !! In the middle I see much the same problems as RISC-V has:: while you have the ability to poof constants, you can't use them without wasting registers and in general an inefficient FP instruction set {no FMAC, no sign control on operands, no transcendental instructions, and at least you are not as poor of FP compare-branches as RISC-V} It is true that LLVM can unroll loops and when the loop is consuming only constants Brian's compiler just emits the polynomial directly with nary a LD or ST, just constants as operands, whereas your compiler poofs constants into existence rather than forwarding them directly into execution. Every poof cost you an instruction, mine just cost instruction space not pipeline delay. I think this demonstrates my point perfectly--universal constants inside a RISC instruction set is a BIG WIN. It also illustrates the fact that a RIOSC ISA needs a good compiler.