Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

My little brother got this fortune: nohup rm -fr /& So he did...


devel / comp.lang.forth / Join the risc-V bandwagon!

SubjectAuthor
* Join the risc-V bandwagon!none
+* Re: Join the risc-V bandwagon!Zbig
|+* Re: Join the risc-V bandwagon!none
||`- Re: Join the risc-V bandwagon!Zbig
|`* Re: Join the risc-V bandwagon!Brian Fox
| +* Re: Join the risc-V bandwagon!Anton Ertl
| |+- Re: Join the risc-V bandwagon!Brian Fox
| |`* Re: Join the risc-V bandwagon!Paul Rubin
| | `- Re: Join the risc-V bandwagon!Anton Ertl
| `- Re: Join the risc-V bandwagon!none
+* Re: Join the risc-V bandwagon!Marcel Hendrix
|+* Re: Join the risc-V bandwagon!Marcel Hendrix
||+* Re: Join the risc-V bandwagon!none
|||`- Re: Join the risc-V bandwagon!Zbig
||`* Re: Join the risc-V bandwagon!Anton Ertl
|| `- Re: Join the risc-V bandwagon!none
|`- Re: Join the risc-V bandwagon!Jan Coombs
`* Re: Join the risc-V bandwagon!Andy Valencia
 +- Re: Join the risc-V bandwagon!Marcel Hendrix
 +* Re: Join the risc-V bandwagon!JKN
 |`- Re: Join the risc-V bandwagon!Jan Coombs
 `- Re: Join the risc-V bandwagon!Jan Coombs

1
Join the risc-V bandwagon!

<nnd$0b96129a$5e30f2df@c649e8f947b928ea>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21927&group=comp.lang.forth#21927

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
Subject: Join the risc-V bandwagon!
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
From: alb...@cherry (none)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$0b96129a$5e30f2df@c649e8f947b928ea>
Organization: KPN B.V.
Date: Wed, 11 Jan 2023 11:12:00 +0100
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe005.abavia.com!abp002.abavia.com!news.kpn.nl!not-for-mail
Lines: 33
Injection-Date: Wed, 11 Jan 2023 11:12:00 +0100
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 1945
 by: none - Wed, 11 Jan 2023 10:12 UTC

In 2020 the noforth team (Albert Nijhof and Willem Ouwerkerk)
has made a 32 bit noforth for the risc-V .
Latest official version : mid 2021
Subject: Join the risc-V bandwagon!
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)

I have now a DshangNezha STU board on my desk with a tinalinux
running right of the box. 64 bits 1 Ghz .5 Gbyte.

The first stage of porting ciforth succeed, the assembler source
gives no errors on cross assembling.

Riscv is in the long run to obliterate Intel AMD and ARM, because
it is royalty free, such that Chinese companies can no longer be
strong armed. The smaller ARM royalties has had already an impact.

The Orange pi came with a 1000 page manual of the Soc and
schematics. Nezha goes a step further. They supply the design
and gerber files such that you have your own boards manufactured.
I had no problem running tmanx (instrument control) on the
Orange pi, and turning on leds is much easier than with
Python.

What are you doing? Has gforth been checked out on rics V linux
boards?

Groetjes Albert
--
Don't praise the day before the evening. One swallow doesn't make
spring. You must not say "hey" before you have crossed the bridge.
Don't sell the hide of the bear until you shot it. Better one bird in
the hand than ten in the air. - the Wise from Antrim -

Re: Join the risc-V bandwagon!

<19664fe2-596e-43bf-9d70-7ad207fb33edn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21929&group=comp.lang.forth#21929

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a0c:e7c6:0:b0:534:24a6:d7b7 with SMTP id c6-20020a0ce7c6000000b0053424a6d7b7mr108927qvo.55.1673435114117;
Wed, 11 Jan 2023 03:05:14 -0800 (PST)
X-Received: by 2002:a05:622a:1a19:b0:3af:3d5e:332c with SMTP id
f25-20020a05622a1a1900b003af3d5e332cmr178819qtb.517.1673435113874; Wed, 11
Jan 2023 03:05:13 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Wed, 11 Jan 2023 03:05:13 -0800 (PST)
In-Reply-To: <nnd$0b96129a$5e30f2df@c649e8f947b928ea>
Injection-Info: google-groups.googlegroups.com; posting-host=89.64.51.10; posting-account=cxuXKwoAAABQpPOMD55A9IPz7pPrw6ml
NNTP-Posting-Host: 89.64.51.10
References: <nnd$0b96129a$5e30f2df@c649e8f947b928ea>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <19664fe2-596e-43bf-9d70-7ad207fb33edn@googlegroups.com>
Subject: Re: Join the risc-V bandwagon!
From: zbigniew...@gmail.com (Zbig)
Injection-Date: Wed, 11 Jan 2023 11:05:14 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1389
 by: Zbig - Wed, 11 Jan 2023 11:05 UTC

> Riscv is in the long run to obliterate Intel AMD and ARM, because
> it is royalty free, such that Chinese companies can no longer be
> strong armed. The smaller ARM royalties has had already an impact.

Competition is good. At the moment RISC V boards still are expensive
compared to ARM-based ones.

Re: Join the risc-V bandwagon!

<nnd$3d0165d4$7dfc5db1@c95dea609f6e9517>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21930&group=comp.lang.forth#21930

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
Subject: Re: Join the risc-V bandwagon!
References: <nnd$0b96129a$5e30f2df@c649e8f947b928ea> <19664fe2-596e-43bf-9d70-7ad207fb33edn@googlegroups.com>
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
From: alb...@cherry (none)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$3d0165d4$7dfc5db1@c95dea609f6e9517>
Organization: KPN B.V.
Date: Wed, 11 Jan 2023 16:35:06 +0100
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe004.abavia.com!abp003.abavia.com!news.kpn.nl!not-for-mail
Lines: 19
Injection-Date: Wed, 11 Jan 2023 16:35:06 +0100
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 1530
 by: none - Wed, 11 Jan 2023 15:35 UTC

In article <19664fe2-596e-43bf-9d70-7ad207fb33edn@googlegroups.com>,
Zbig <zbigniew2011@gmail.com> wrote:
>> Riscv is in the long run to obliterate Intel AMD and ARM, because
>> it is royalty free, such that Chinese companies can no longer be
>> strong armed. The smaller ARM royalties has had already an impact.
>
>Competition is good. At the moment RISC V boards still are expensive
>compared to ARM-based ones.

The board I have costs 17 dollars plus shipping. 64 bit 1 Ghz.
Not an expensive hobby.

Groetjes Albert
--
Don't praise the day before the evening. One swallow doesn't make
spring. You must not say "hey" before you have crossed the bridge.
Don't sell the hide of the bear until you shot it. Better one bird in
the hand than ten in the air. - the Wise from Antrim -

Re: Join the risc-V bandwagon!

<a133f174-0bcd-4b6b-b422-a1e26fb1ed24n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21931&group=comp.lang.forth#21931

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a0c:e7c6:0:b0:534:24a6:d7b7 with SMTP id c6-20020a0ce7c6000000b0053424a6d7b7mr151868qvo.55.1673451371986;
Wed, 11 Jan 2023 07:36:11 -0800 (PST)
X-Received: by 2002:a0c:dd13:0:b0:532:3b2e:ee89 with SMTP id
u19-20020a0cdd13000000b005323b2eee89mr519727qvk.19.1673451371815; Wed, 11 Jan
2023 07:36:11 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Wed, 11 Jan 2023 07:36:11 -0800 (PST)
In-Reply-To: <19664fe2-596e-43bf-9d70-7ad207fb33edn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=99.242.210.36; posting-account=2z7GawoAAADc70p5SM5AbaCyzjLblS3g
NNTP-Posting-Host: 99.242.210.36
References: <nnd$0b96129a$5e30f2df@c649e8f947b928ea> <19664fe2-596e-43bf-9d70-7ad207fb33edn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a133f174-0bcd-4b6b-b422-a1e26fb1ed24n@googlegroups.com>
Subject: Re: Join the risc-V bandwagon!
From: brian....@brianfox.ca (Brian Fox)
Injection-Date: Wed, 11 Jan 2023 15:36:11 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1867
 by: Brian Fox - Wed, 11 Jan 2023 15:36 UTC

On Wednesday, January 11, 2023 at 6:05:15 AM UTC-5, Zbig wrote:
> > Riscv is in the long run to obliterate Intel AMD and ARM, because
> > it is royalty free, such that Chinese companies can no longer be
> > strong armed. The smaller ARM royalties has had already an impact.
> Competition is good. At the moment RISC V boards still are expensive
> compared to ARM-based ones.

I read an article by Sam Falvo on trying to make machine Forth for
RISC V and the instruction set seemed to require a lot of
instructions per Forth primitive. Is that the "state of the art" for
"risc".

I am wondering how the Netherlands team found RISC V handled Forth?
Is the source available to be reviewed?

Re: Join the risc-V bandwagon!

<9424b07f-39fb-4a2f-8da5-f36e26b44ae4n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21932&group=comp.lang.forth#21932

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a37:9207:0:b0:6ff:afd8:f08e with SMTP id u7-20020a379207000000b006ffafd8f08emr4809634qkd.337.1673453615010;
Wed, 11 Jan 2023 08:13:35 -0800 (PST)
X-Received: by 2002:ac8:51cc:0:b0:3a9:8716:528f with SMTP id
d12-20020ac851cc000000b003a98716528fmr3218038qtn.686.1673453614803; Wed, 11
Jan 2023 08:13:34 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Wed, 11 Jan 2023 08:13:34 -0800 (PST)
In-Reply-To: <nnd$3d0165d4$7dfc5db1@c95dea609f6e9517>
Injection-Info: google-groups.googlegroups.com; posting-host=89.64.51.10; posting-account=cxuXKwoAAABQpPOMD55A9IPz7pPrw6ml
NNTP-Posting-Host: 89.64.51.10
References: <nnd$0b96129a$5e30f2df@c649e8f947b928ea> <19664fe2-596e-43bf-9d70-7ad207fb33edn@googlegroups.com>
<nnd$3d0165d4$7dfc5db1@c95dea609f6e9517>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9424b07f-39fb-4a2f-8da5-f36e26b44ae4n@googlegroups.com>
Subject: Re: Join the risc-V bandwagon!
From: zbigniew...@gmail.com (Zbig)
Injection-Date: Wed, 11 Jan 2023 16:13:35 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1323
 by: Zbig - Wed, 11 Jan 2023 16:13 UTC

> The board I have costs 17 dollars plus shipping. 64 bit 1 Ghz.
> Not an expensive hobby.

Where it can be bought for 17 USD (+ shipping)?

Re: Join the risc-V bandwagon!

<2023Jan11.184907@mips.complang.tuwien.ac.at>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21933&group=comp.lang.forth#21933

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: Join the risc-V bandwagon!
Date: Wed, 11 Jan 2023 17:49:07 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 57
Message-ID: <2023Jan11.184907@mips.complang.tuwien.ac.at>
References: <nnd$0b96129a$5e30f2df@c649e8f947b928ea> <19664fe2-596e-43bf-9d70-7ad207fb33edn@googlegroups.com> <a133f174-0bcd-4b6b-b422-a1e26fb1ed24n@googlegroups.com>
Injection-Info: reader01.eternal-september.org; posting-host="b0ca673e9ee57e4b44d64642eae288f0";
logging-data="1035915"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19jxZwwnHEmfpsRlmGawuFq"
Cancel-Lock: sha1:6NCyNQIk+/P6D7oFIbnjm+NVzms=
X-newsreader: xrn 10.11
 by: Anton Ertl - Wed, 11 Jan 2023 17:49 UTC

Brian Fox <brian.fox@brianfox.ca> writes:
>I read an article by Sam Falvo on trying to make machine Forth for
>RISC V and the instruction set seemed to require a lot of
>instructions per Forth primitive. Is that the "state of the art" for
>"risc".

RISC-V and ARM A64 (aka Aarch64) are both RISCs in my book (they are
load/store architectures), but follow quite different design
philosophies.

ARM A64 has 32-bit wide instructions and puts as much functionality in
as fits and fits the basic RISC principles, sometimes crossing the
border. It does not try for minimal implementation, ARM has another
instruction set (T32/A32, the 32-bit ARM instruction set with Thumb2
compression) for that.

By contrast, RISC-V tends to keep instructions minimal, supports a
compressed extension (that supports common instructions in 16 bits in
addition to the 32-bit encoding for all instructions), allowing for
smaller minimal implementations; for more sophisticated
implementations, the idea is that the instruction decoder combines
instructions into more capable microinstructions (sometimes called
macroinstructions because they are actually larger than the
architectural instructions). But of course you don't see that on the
architectural level. E.g., here's gforth-fast's +:

RISC-V ARM A64 AMD64 RTL
ld a5,$8(s8) ldr x0, [x25,#0x8]! tmp = load(SP+8)
addi s10,s10,8 add x26, x26, #0x8 add r13,$08 IP = IP+8
addi s8,s8,8 add r15,$08 SP = SP+8
add s7,s7,a5 add x27, x0, x27 add r8,[r15] TOS = TOS+tmp
ld a4,$-8(s10) ldur x1, [x26,#-0x8] mov rcx,-$08[r13] tmp = load(IP-8)
jr a4 br x1 jmp ecx jmp tmp

RTL is "register-transfer language", a pseudocode for describing
instructions. I use Forth virtual machine register names here.

I rearranged the AMD64 instructions to match the order of the others;
originally the first and second AMD64 instructions were swapped.

Here A64 combines the first and third instruction of the RISC-V code
in its first instruction. We wrote it such that the last two
instructions can be separated from the others, otherwise the compiler
would probably have combined the second A64 instruction with the ldur
into one instruction.

As a non-RISC, AMD64 has load-and-op instructions, as demonstrated by
combining the first and fourth RISC-V instruction into the third AMD64
instruction. AMD64 also could combine the last two instructions into
one, but gcc has not done that after gcc-2.95 (there for IA-32).

- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: https://forth-standard.org/
EuroForth 2022: https://euro.theforth.net

Re: Join the risc-V bandwagon!

<6c6750d4-c30d-4dbe-bd73-4e710128be0an@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21934&group=comp.lang.forth#21934

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:890:b0:6fe:ab3e:3d09 with SMTP id b16-20020a05620a089000b006feab3e3d09mr2376659qka.111.1673459802002;
Wed, 11 Jan 2023 09:56:42 -0800 (PST)
X-Received: by 2002:a05:620a:1251:b0:702:3a86:32d7 with SMTP id
a17-20020a05620a125100b007023a8632d7mr4945967qkl.328.1673459801751; Wed, 11
Jan 2023 09:56:41 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Wed, 11 Jan 2023 09:56:41 -0800 (PST)
In-Reply-To: <2023Jan11.184907@mips.complang.tuwien.ac.at>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:fea8:2a60:9ae:467:f691:b073:ca00;
posting-account=2z7GawoAAADc70p5SM5AbaCyzjLblS3g
NNTP-Posting-Host: 2607:fea8:2a60:9ae:467:f691:b073:ca00
References: <nnd$0b96129a$5e30f2df@c649e8f947b928ea> <19664fe2-596e-43bf-9d70-7ad207fb33edn@googlegroups.com>
<a133f174-0bcd-4b6b-b422-a1e26fb1ed24n@googlegroups.com> <2023Jan11.184907@mips.complang.tuwien.ac.at>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6c6750d4-c30d-4dbe-bd73-4e710128be0an@googlegroups.com>
Subject: Re: Join the risc-V bandwagon!
From: brian....@brianfox.ca (Brian Fox)
Injection-Date: Wed, 11 Jan 2023 17:56:41 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 58
 by: Brian Fox - Wed, 11 Jan 2023 17:56 UTC

On Wednesday, January 11, 2023 at 12:50:50 PM UTC-5, Anton Ertl wrote:
> Brian Fox <bria...@brianfox.ca> writes:
> >I read an article by Sam Falvo on trying to make machine Forth for
> >RISC V and the instruction set seemed to require a lot of
> >instructions per Forth primitive. Is that the "state of the art" for
> >"risc".
> RISC-V and ARM A64 (aka Aarch64) are both RISCs in my book (they are
> load/store architectures), but follow quite different design
> philosophies.
>
> ARM A64 has 32-bit wide instructions and puts as much functionality in
> as fits and fits the basic RISC principles, sometimes crossing the
> border. It does not try for minimal implementation, ARM has another
> instruction set (T32/A32, the 32-bit ARM instruction set with Thumb2
> compression) for that.
>
> By contrast, RISC-V tends to keep instructions minimal, supports a
> compressed extension (that supports common instructions in 16 bits in
> addition to the 32-bit encoding for all instructions), allowing for
> smaller minimal implementations; for more sophisticated
> implementations, the idea is that the instruction decoder combines
> instructions into more capable microinstructions (sometimes called
> macroinstructions because they are actually larger than the
> architectural instructions). But of course you don't see that on the
> architectural level. E.g., here's gforth-fast's +:
>
> RISC-V ARM A64 AMD64 RTL
> ld a5,$8(s8) ldr x0, [x25,#0x8]! tmp = load(SP+8)
> addi s10,s10,8 add x26, x26, #0x8 add r13,$08 IP = IP+8
> addi s8,s8,8 add r15,$08 SP = SP+8
> add s7,s7,a5 add x27, x0, x27 add r8,[r15] TOS = TOS+tmp
> ld a4,$-8(s10) ldur x1, [x26,#-0x8] mov rcx,-$08[r13] tmp = load(IP-8)
> jr a4 br x1 jmp ecx jmp tmp
>
> RTL is "register-transfer language", a pseudocode for describing
> instructions. I use Forth virtual machine register names here.
>
> I rearranged the AMD64 instructions to match the order of the others;
> originally the first and second AMD64 instructions were swapped.
>
> Here A64 combines the first and third instruction of the RISC-V code
> in its first instruction. We wrote it such that the last two
> instructions can be separated from the others, otherwise the compiler
> would probably have combined the second A64 instruction with the ldur
> into one instruction.
>
> As a non-RISC, AMD64 has load-and-op instructions, as demonstrated by
> combining the first and fourth RISC-V instruction into the third AMD64
> instruction. AMD64 also could combine the last two instructions into
> one, but gcc has not done that after gcc-2.95 (there for IA-32).
>
> - anton
> --
> M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
> comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
> New standard: https://forth-standard.org/
> EuroForth 2022: https://euro.theforth.net

Thanks Anton.

Re: Join the risc-V bandwagon!

<393612e7-913b-4549-b800-052d9a04786fn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21935&group=comp.lang.forth#21935

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:2150:b0:702:698:9025 with SMTP id m16-20020a05620a215000b0070206989025mr4768083qkm.498.1673465354226;
Wed, 11 Jan 2023 11:29:14 -0800 (PST)
X-Received: by 2002:a05:620a:2091:b0:6ff:2f2a:2c4a with SMTP id
e17-20020a05620a209100b006ff2f2a2c4amr2780637qka.686.1673465354028; Wed, 11
Jan 2023 11:29:14 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Wed, 11 Jan 2023 11:29:13 -0800 (PST)
In-Reply-To: <nnd$0b96129a$5e30f2df@c649e8f947b928ea>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:1c05:2f14:600:71ce:407b:cdba:727c;
posting-account=-JQ2RQoAAAB6B5tcBTSdvOqrD1HpT_Rk
NNTP-Posting-Host: 2001:1c05:2f14:600:71ce:407b:cdba:727c
References: <nnd$0b96129a$5e30f2df@c649e8f947b928ea>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <393612e7-913b-4549-b800-052d9a04786fn@googlegroups.com>
Subject: Re: Join the risc-V bandwagon!
From: mhx...@iae.nl (Marcel Hendrix)
Injection-Date: Wed, 11 Jan 2023 19:29:14 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1907
 by: Marcel Hendrix - Wed, 11 Jan 2023 19:29 UTC

On Wednesday, January 11, 2023 at 11:12:03 AM UTC+1, none albert wrote:
> In 2020 the noforth team (Albert Nijhof and Willem Ouwerkerk)
> has made a 32 bit noforth for the risc-V .
> Latest official version : mid 2021
> Subject: Join the risc-V bandwagon!
> X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
>
> I have now a DshangNezha STU board on my desk with a tinalinux
> running right of the box. 64 bits 1 Ghz .5 Gbyte.

Please, be more specific. "DshangNezha STU board" is something even Google
can't find.
"Join the risc-V bandwagon" is a thread that is unknown.

I know AN and WO, but I didn't know they added stack instructions to RISC-V
(AFAIK that is really possible). Or did you mean they ported noforth to a
specific RISC-V board?

-marcel

Re: Join the risc-V bandwagon!

<46db7bb8-fe84-466c-898a-4a1e93714559n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21936&group=comp.lang.forth#21936

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:1013:b0:6fe:fb09:ec2e with SMTP id z19-20020a05620a101300b006fefb09ec2emr2261888qkj.214.1673465842318;
Wed, 11 Jan 2023 11:37:22 -0800 (PST)
X-Received: by 2002:a05:620a:2f5:b0:6ff:aeee:b2c9 with SMTP id
a21-20020a05620a02f500b006ffaeeeb2c9mr2544972qko.517.1673465842165; Wed, 11
Jan 2023 11:37:22 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Wed, 11 Jan 2023 11:37:21 -0800 (PST)
In-Reply-To: <393612e7-913b-4549-b800-052d9a04786fn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:1c05:2f14:600:71ce:407b:cdba:727c;
posting-account=-JQ2RQoAAAB6B5tcBTSdvOqrD1HpT_Rk
NNTP-Posting-Host: 2001:1c05:2f14:600:71ce:407b:cdba:727c
References: <nnd$0b96129a$5e30f2df@c649e8f947b928ea> <393612e7-913b-4549-b800-052d9a04786fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <46db7bb8-fe84-466c-898a-4a1e93714559n@googlegroups.com>
Subject: Re: Join the risc-V bandwagon!
From: mhx...@iae.nl (Marcel Hendrix)
Injection-Date: Wed, 11 Jan 2023 19:37:22 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1864
 by: Marcel Hendrix - Wed, 11 Jan 2023 19:37 UTC

On Wednesday, January 11, 2023 at 8:29:15 PM UTC+1, Marcel Hendrix wrote:
> On Wednesday, January 11, 2023 at 11:12:03 AM UTC+1, none albert wrote:
[..]
> > I have now a DshangNezha STU board on my desk with a tinalinux
> > running right of the box. 64 bits 1 Ghz .5 Gbyte.
> Please, be more specific. "DshangNezha STU board" is something even Google
> can't find.
> "Join the risc-V bandwagon" is a thread that is unknown.
[..]
Wait, you meant "Sipeed Nezha 64bit RISC-V Linux Sbc Board,
Allwinner D1@1.0GHz, 1Gbyte DDR3, support for Tina/Debian System?"
But that board is $133, with $13.72 transportation cost, no power supply.

-marcel

Re: Join the risc-V bandwagon!

<nnd$7231ba9a$08f3fdec@bfab693539748c61>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21937&group=comp.lang.forth#21937

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
References: <nnd$0b96129a$5e30f2df@c649e8f947b928ea> <19664fe2-596e-43bf-9d70-7ad207fb33edn@googlegroups.com> <a133f174-0bcd-4b6b-b422-a1e26fb1ed24n@googlegroups.com>
Subject: Re: Join the risc-V bandwagon!
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
From: alb...@cherry (none)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$7231ba9a$08f3fdec@bfab693539748c61>
Organization: KPN B.V.
Date: Wed, 11 Jan 2023 20:39:52 +0100
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe005.abavia.com!abp003.abavia.com!news.kpn.nl!not-for-mail
Lines: 40
Injection-Date: Wed, 11 Jan 2023 20:39:52 +0100
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 2573
 by: none - Wed, 11 Jan 2023 19:39 UTC

In article <a133f174-0bcd-4b6b-b422-a1e26fb1ed24n@googlegroups.com>,
Brian Fox <brian.fox@brianfox.ca> wrote:
>On Wednesday, January 11, 2023 at 6:05:15 AM UTC-5, Zbig wrote:
>> > Riscv is in the long run to obliterate Intel AMD and ARM, because
>> > it is royalty free, such that Chinese companies can no longer be
>> > strong armed. The smaller ARM royalties has had already an impact.
>> Competition is good. At the moment RISC V boards still are expensive
>> compared to ARM-based ones.
>
>I read an article by Sam Falvo on trying to make machine Forth for
>RISC V and the instruction set seemed to require a lot of
>instructions per Forth primitive. Is that the "state of the art" for
>"risc".
>
>I am wondering how the Netherlands team found RISC V handled Forth?
>Is the source available to be reviewed?
>

It can be found by googling "noforth riscv".
https://home.hccnet.nl/anij/nof/noforth.html
These sources are gpl-ed. The source can be cross compiled by
win32forth (newest version). I tried gforth (the authors didn't)
and that does not yet work.

The ciforth source will be available as soon as it runs. (gpl).
Then it will be a mature Forth, because the tests are comprehensive
and the documentation (pdf ps info and html) is generated automatically.
Additions to the library probably takes some more time, especially
regarding i/o.

It took a few days to transform the arm source to riscv.
As mentioned the assembler accepts it without syntax errors.

Groetjes Albert
--
Don't praise the day before the evening. One swallow doesn't make
spring. You must not say "hey" before you have crossed the bridge.
Don't sell the hide of the bear until you shot it. Better one bird in
the hand than ten in the air. - the Wise from Antrim -

Re: Join the risc-V bandwagon!

<20230111194950.79197c90@t530>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21938&group=comp.lang.forth#21938

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: jan4comp...@murray-microft.co.uk (Jan Coombs)
Newsgroups: comp.lang.forth
Subject: Re: Join the risc-V bandwagon!
Date: Wed, 11 Jan 2023 19:49:50 +0000
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <20230111194950.79197c90@t530>
References: <nnd$0b96129a$5e30f2df@c649e8f947b928ea>
<393612e7-913b-4549-b800-052d9a04786fn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: reader01.eternal-september.org; posting-host="a0b6470011897f6dfadc7dab22e55c15";
logging-data="1063002"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/RuvsoDrI3cXWoqZNIcBAEkPq2Eyt8ZMI="
Cancel-Lock: sha1:3IgFiwSf7KvbcfTrEKinTv1yOgg=
X-Newsreader: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
 by: Jan Coombs - Wed, 11 Jan 2023 19:49 UTC

On Wed, 11 Jan 2023 11:29:13 -0800 (PST)
Marcel Hendrix <mhx@iae.nl> wrote:

> Please, be more specific. "DshangNezha STU board" is something even Google
> can't find.

The provessr is an Allwinner part (Their ARM SOCs were/are common in cheap tablets):

Dongshan Nezha STU devkit features Allwinner D1 RISC-V SoM/SBC
https://www.cnx-software.com/2022/03/25/dongshan-nezha-stu-devkit-features-allwinner-d1-risc-v-som-sbc/

More RISC-V boards:
https://riscv.org/exchanges/boards/

Jan Coombs
--

Re: Join the risc-V bandwagon!

<nnd$7a3a6458$35dd2789@e9b18328ba5e6365>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21939&group=comp.lang.forth#21939

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
References: <nnd$0b96129a$5e30f2df@c649e8f947b928ea> <393612e7-913b-4549-b800-052d9a04786fn@googlegroups.com> <46db7bb8-fe84-466c-898a-4a1e93714559n@googlegroups.com>
Subject: Re: Join the risc-V bandwagon!
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
From: alb...@cherry (none)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$7a3a6458$35dd2789@e9b18328ba5e6365>
Organization: KPN B.V.
Date: Wed, 11 Jan 2023 21:03:54 +0100
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe006.abavia.com!abp003.abavia.com!news.kpn.nl!not-for-mail
Lines: 38
Injection-Date: Wed, 11 Jan 2023 21:03:54 +0100
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 2671
 by: none - Wed, 11 Jan 2023 20:03 UTC

In article <46db7bb8-fe84-466c-898a-4a1e93714559n@googlegroups.com>,
Marcel Hendrix <mhx@iae.nl> wrote:
>On Wednesday, January 11, 2023 at 8:29:15 PM UTC+1, Marcel Hendrix wrote:
>> On Wednesday, January 11, 2023 at 11:12:03 AM UTC+1, none albert wrote:
>[..]
>> > I have now a DshangNezha STU board on my desk with a tinalinux
>> > running right of the box. 64 bits 1 Ghz .5 Gbyte.
>> Please, be more specific. "DshangNezha STU board" is something even Google
>> can't find.
>> "Join the risc-V bandwagon" is a thread that is unknown.
>[..]
>Wait, you meant "Sipeed Nezha 64bit RISC-V Linux Sbc Board,
>Allwinner D1@1.0GHz, 1Gbyte DDR3, support for Tina/Debian System?"
>But that board is $133, with $13.72 transportation cost, no power supply.

This is aliexpress : sorry for the long url.
https://www.aliexpress.com/item/1005004250215625.html?spm=a2g0o.productlist.main.25.643a469eojjM3I&algo_pvid=a14f42de-1088-49d7-86ba-3be3daa9aa25&algo_exp_id=a14f42de-1088-49d7-86ba-3be3daa9aa25-12&pdp_ext_f=%7B%22sku_id%22%3A%2212000029831944775%22%7D&pdp_npi=2%40dis%21EUR%2116.83%2116.83%21%21%21%21%21%402100b69816711052077171985d074b%2112000029831944775%21sea&curPageLogUid=E96plc0zRmyq

The cheapest board is 13 dollar with 7 dollar shipping.

I ordered the same board with a docking station for 30 dollar at
https://www.analoglamb.com/
You find the board under linux boards, not riscv boards.
I could not find Holland in the order form, I sent an e-mail and
promptly an e-mail came back with an advise to look up "Netherlands".

I payed with my visa card.

>
>-marcel

Groetjes Albert
--
Don't praise the day before the evening. One swallow doesn't make
spring. You must not say "hey" before you have crossed the bridge.
Don't sell the hide of the bear until you shot it. Better one bird in
the hand than ten in the air. - the Wise from Antrim -

Re: Join the risc-V bandwagon!

<66d0293a-15b8-422a-a7d7-8387d100aa19n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21940&group=comp.lang.forth#21940

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:4720:b0:6ff:cbda:a128 with SMTP id bs32-20020a05620a472000b006ffcbdaa128mr4031629qkb.697.1673470476086;
Wed, 11 Jan 2023 12:54:36 -0800 (PST)
X-Received: by 2002:a05:620a:12fc:b0:702:2939:8cf5 with SMTP id
f28-20020a05620a12fc00b0070229398cf5mr4111281qkl.75.1673470475858; Wed, 11
Jan 2023 12:54:35 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Wed, 11 Jan 2023 12:54:35 -0800 (PST)
In-Reply-To: <nnd$7a3a6458$35dd2789@e9b18328ba5e6365>
Injection-Info: google-groups.googlegroups.com; posting-host=89.64.51.10; posting-account=cxuXKwoAAABQpPOMD55A9IPz7pPrw6ml
NNTP-Posting-Host: 89.64.51.10
References: <nnd$0b96129a$5e30f2df@c649e8f947b928ea> <393612e7-913b-4549-b800-052d9a04786fn@googlegroups.com>
<46db7bb8-fe84-466c-898a-4a1e93714559n@googlegroups.com> <nnd$7a3a6458$35dd2789@e9b18328ba5e6365>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <66d0293a-15b8-422a-a7d7-8387d100aa19n@googlegroups.com>
Subject: Re: Join the risc-V bandwagon!
From: zbigniew...@gmail.com (Zbig)
Injection-Date: Wed, 11 Jan 2023 20:54:36 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Zbig - Wed, 11 Jan 2023 20:54 UTC

> The cheapest board is 13 dollar with 7 dollar shipping.

But if I'm correct one also needs that „DIY base board” too?
Both in set (+porto) are a bit more than 40 USD.
Still not that expensive, I agree, but not 13 USD anymore.

Meanwhile I also found on Amazon:
https://www.amazon.com/dp/B0BGM1KQXQ/?coliid=I1VEL7EIZI6SRT&colid=BZJLTTL0P92I&psc=1&ref_=lv_ov_lig_dp_it
But this one sells at rather „normal” (for RISC V) price, unfortunately.

Re: Join the risc-V bandwagon!

<87wn5svgmr.fsf@nightsong.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21941&group=comp.lang.forth#21941

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: no.em...@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.forth
Subject: Re: Join the risc-V bandwagon!
Date: Wed, 11 Jan 2023 14:41:16 -0800
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <87wn5svgmr.fsf@nightsong.com>
References: <nnd$0b96129a$5e30f2df@c649e8f947b928ea>
<19664fe2-596e-43bf-9d70-7ad207fb33edn@googlegroups.com>
<a133f174-0bcd-4b6b-b422-a1e26fb1ed24n@googlegroups.com>
<2023Jan11.184907@mips.complang.tuwien.ac.at>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="4d31d803965ae8084a2e712a11c6a74b";
logging-data="1102164"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18grPxKkbP7nlLrw5U9OI/4"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:Ru1Eoqpg38H4UEQVK2wWqi7sJ+0=
sha1:8IF+tm3vezXnGXG6bX/wSzlf6Lk=
 by: Paul Rubin - Wed, 11 Jan 2023 22:41 UTC

anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:
> RISC-V
> ld a5,$8(s8)
> addi s10,s10,8
> addi s8,s8,8
> add s7,s7,a5
> ld a4,$-8(s10)
> jr a4

It looks like you could get smaller code by choosing lower register
numbers, so that more of the instructions could use the compressed
encoding supported by almost all RISC-V chips.

Re: Join the risc-V bandwagon!

<2023Jan12.080330@mips.complang.tuwien.ac.at>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21944&group=comp.lang.forth#21944

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: Join the risc-V bandwagon!
Date: Thu, 12 Jan 2023 07:03:30 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 27
Message-ID: <2023Jan12.080330@mips.complang.tuwien.ac.at>
References: <nnd$0b96129a$5e30f2df@c649e8f947b928ea> <393612e7-913b-4549-b800-052d9a04786fn@googlegroups.com> <46db7bb8-fe84-466c-898a-4a1e93714559n@googlegroups.com>
Injection-Info: reader01.eternal-september.org; posting-host="de605e8ec13bcf11ed4a6bb50493f775";
logging-data="1280221"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//P37iblnphR7Z8I6/8ddD"
Cancel-Lock: sha1:A2bkE4GIwuzYskNKyNBGOjtXPMM=
X-newsreader: xrn 10.11
 by: Anton Ertl - Thu, 12 Jan 2023 07:03 UTC

Marcel Hendrix <mhx@iae.nl> writes:
>Wait, you meant "Sipeed Nezha 64bit RISC-V Linux Sbc Board,
>Allwinner D1@1.0GHz, 1Gbyte DDR3, support for Tina/Debian System?"
>But that board is $133, with $13.72 transportation cost, no power supply.

If you are in the market for this kind of money: We have a Starfive
Visionfive 1 with 8GB RAM and very slow SD-card access (even slightly
slower than using NFS, both at slightly above 20MB/s), but apart from
its sluggishness works flawlessly. Some time ago I saw the
announcement for the Visionfive 2, which supposedly has some of the
bugs fixed that led to sluggish workarounds on the Visionfive 1, and
the announcement has also been for a slightly lower price.

For Gforth the Visionfive 1 is quite a bit slower than the Odroid C2
(and I expect that it is also slower than the Raspi 3, but by a
smaller margin). The numbers below are times in seconds:

sieve bubble matrix fib fft release; CPU; gcc
0.519 0.555 0.483 0.797 0.729 20220226 (3 regs); 1GHz U74 Visionfive V1
0.350 0.390 0.240 0.470 0.280 20190124; Odroid C2 (1536MHz Cortex-A53)

- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: https://forth-standard.org/
EuroForth 2022: https://euro.theforth.net

Re: Join the risc-V bandwagon!

<2023Jan12.082220@mips.complang.tuwien.ac.at>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21945&group=comp.lang.forth#21945

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: Join the risc-V bandwagon!
Date: Thu, 12 Jan 2023 07:22:20 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 31
Message-ID: <2023Jan12.082220@mips.complang.tuwien.ac.at>
References: <nnd$0b96129a$5e30f2df@c649e8f947b928ea> <19664fe2-596e-43bf-9d70-7ad207fb33edn@googlegroups.com> <a133f174-0bcd-4b6b-b422-a1e26fb1ed24n@googlegroups.com> <2023Jan11.184907@mips.complang.tuwien.ac.at> <87wn5svgmr.fsf@nightsong.com>
Injection-Info: reader01.eternal-september.org; posting-host="de605e8ec13bcf11ed4a6bb50493f775";
logging-data="1292070"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18L4G39KwumF7ZehTKY/dT/"
Cancel-Lock: sha1:RLRnPGuznD+xnjhWRGONdDir2Qs=
X-newsreader: xrn 10.11
 by: Anton Ertl - Thu, 12 Jan 2023 07:22 UTC

Paul Rubin <no.email@nospam.invalid> writes:
>anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:
>> RISC-V
>> ld a5,$8(s8)
>> addi s10,s10,8
>> addi s8,s8,8
>> add s7,s7,a5
>> ld a4,$-8(s10)
>> jr a4
>
>It looks like you could get smaller code by choosing lower register
>numbers, so that more of the instructions could use the compressed
>encoding supported by almost all RISC-V chips.

Everything except the loads uses the compressed 16-bit encodings. If
gcc had chosen the right registers for both operands, (x8-x15 =
s0-s1,a0-a5), it could have compressed the first load to 16 bits. For
the second load we would have to get the offset into the range
(0..31)*8, which is possible, but would require changes to Gforth; and
gcc did not choose the right ip register to compress the second load
anyway.

Looking at the compressed load instructions, they have really funky
immediate encodings.

- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: https://forth-standard.org/
EuroForth 2022: https://euro.theforth.net

Re: Join the risc-V bandwagon!

<nnd$53dda1c3$208d9318@3349d4151c8fffbd>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21946&group=comp.lang.forth#21946

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
Subject: Re: Join the risc-V bandwagon!
References: <nnd$0b96129a$5e30f2df@c649e8f947b928ea> <393612e7-913b-4549-b800-052d9a04786fn@googlegroups.com> <46db7bb8-fe84-466c-898a-4a1e93714559n@googlegroups.com> <2023Jan12.080330@mips.complang.tuwien.ac.at>
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
From: alb...@cherry (none)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$53dda1c3$208d9318@3349d4151c8fffbd>
Organization: KPN B.V.
Date: Thu, 12 Jan 2023 10:13:23 +0100
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!feeder.usenetexpress.com!tr1.eu1.usenetexpress.com!94.232.112.246.MISMATCH!feed.abavia.com!abe006.abavia.com!abp002.abavia.com!news.kpn.nl!not-for-mail
Lines: 21
Injection-Date: Thu, 12 Jan 2023 10:13:23 +0100
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
 by: none - Thu, 12 Jan 2023 09:13 UTC

In article <2023Jan12.080330@mips.complang.tuwien.ac.at>,
Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
<SNIP>
>For Gforth the Visionfive 1 is quite a bit slower than the Odroid C2
>(and I expect that it is also slower than the Raspi 3, but by a
>smaller margin). The numbers below are times in seconds:
>
> sieve bubble matrix fib fft release; CPU; gcc
> 0.519 0.555 0.483 0.797 0.729 20220226 (3 regs); 1GHz U74 Visionfive V1
> 0.350 0.390 0.240 0.470 0.280 20190124; Odroid C2 (1536MHz Cortex-A53)

This is quite respectable. A program like tmanx runs excellently
on a 1 Mhz Pentium, so it will have not problems.

>- anton
--
Don't praise the day before the evening. One swallow doesn't make
spring. You must not say "hey" before you have crossed the bridge.
Don't sell the hide of the bear until you shot it. Better one bird in
the hand than ten in the air. - the Wise from Antrim -

Re: Join the risc-V bandwagon!

<167356971439.29425.12907871548598839236@media.vsta.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21965&group=comp.lang.forth#21965

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: van...@vsta.org (Andy Valencia)
Newsgroups: comp.lang.forth
Subject: Re: Join the risc-V bandwagon!
Date: Thu, 12 Jan 2023 16:28:34 -0800
Lines: 15
Message-ID: <167356971439.29425.12907871548598839236@media.vsta.org>
References: <393612e7-913b-4549-b800-052d9a04786fn@googlegroups.com> <nnd$0b96129a$5e30f2df@c649e8f947b928ea>
X-Trace: individual.net CJR8ZS9dqhDoplM2M6UJPAPFk/QcoAW2gNhx5VOv1B0Q+0eAuS
X-Orig-Path: media
Cancel-Lock: sha1:Cu5lFqN8jEue9iwRkHNZ10RERKc=
User-Agent: rn.py v0.0.1
 by: Andy Valencia - Fri, 13 Jan 2023 00:28 UTC

Marcel Hendrix <mhx@iae.nl> writes:
> Please, be more specific. "DshangNezha STU board" is something even Google
> can't find.
> "Join the risc-V bandwagon" is a thread that is unknown.

It's "Dshang" "Nezha", not the two run together. For instance:

https://liliputing.com/nezha-is-a-99-single-board-pc-with-a-risc-v-processor/

I'm seeing prices more around USD $100 than $17, but we'll see.
It may have been discounted as it _is_ pretty modest in specs.

Andy Valencia
Home page: https://www.vsta.org/andy/
To contact me: https://www.vsta.org/contact/andy.html

Re: Join the risc-V bandwagon!

<1887bcc6-1772-46c2-b44d-f305a94eebc0n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21970&group=comp.lang.forth#21970

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:6214:3509:b0:532:1605:97fe with SMTP id nk9-20020a056214350900b00532160597femr2789747qvb.15.1673596431544;
Thu, 12 Jan 2023 23:53:51 -0800 (PST)
X-Received: by 2002:a25:4683:0:b0:7b8:6b6d:cdc4 with SMTP id
t125-20020a254683000000b007b86b6dcdc4mr2769403yba.635.1673596431151; Thu, 12
Jan 2023 23:53:51 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Thu, 12 Jan 2023 23:53:50 -0800 (PST)
In-Reply-To: <167356971439.29425.12907871548598839236@media.vsta.org>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:1c05:2f14:600:6517:62a6:4496:ab92;
posting-account=-JQ2RQoAAAB6B5tcBTSdvOqrD1HpT_Rk
NNTP-Posting-Host: 2001:1c05:2f14:600:6517:62a6:4496:ab92
References: <393612e7-913b-4549-b800-052d9a04786fn@googlegroups.com>
<nnd$0b96129a$5e30f2df@c649e8f947b928ea> <167356971439.29425.12907871548598839236@media.vsta.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1887bcc6-1772-46c2-b44d-f305a94eebc0n@googlegroups.com>
Subject: Re: Join the risc-V bandwagon!
From: mhx...@iae.nl (Marcel Hendrix)
Injection-Date: Fri, 13 Jan 2023 07:53:51 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1828
 by: Marcel Hendrix - Fri, 13 Jan 2023 07:53 UTC

On Friday, January 13, 2023 at 1:30:08 AM UTC+1, Andy Valencia wrote:
> Marcel Hendrix <m...@iae.nl> writes:
> > Please, be more specific. "DshangNezha STU board" is something even Google
> > can't find.
> > "Join the risc-V bandwagon" is a thread that is unknown.
> It's "Dshang" "Nezha", not the two run together. For instance:
>
> https://liliputing.com/nezha-is-a-99-single-board-pc-with-a-risc-v-processor/

Thanks Andy, I really couldn't find it, even with some text modification.

The review at that link is pretty level-headed.

-marcel

Re: Join the risc-V bandwagon!

<2fe23d36-9096-4076-a03b-83c988742d58n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21971&group=comp.lang.forth#21971

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:622a:4a0e:b0:3ab:c68a:de4f with SMTP id fv14-20020a05622a4a0e00b003abc68ade4fmr918663qtb.511.1673597716725;
Fri, 13 Jan 2023 00:15:16 -0800 (PST)
X-Received: by 2002:a25:dd44:0:b0:753:20c:915f with SMTP id
u65-20020a25dd44000000b00753020c915fmr8275401ybg.5.1673597716490; Fri, 13 Jan
2023 00:15:16 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Fri, 13 Jan 2023 00:15:16 -0800 (PST)
In-Reply-To: <167356971439.29425.12907871548598839236@media.vsta.org>
Injection-Info: google-groups.googlegroups.com; posting-host=84.92.96.37; posting-account=xy4V0QkAAAAoGgkMsSsv6bfFPHkQXvOY
NNTP-Posting-Host: 84.92.96.37
References: <393612e7-913b-4549-b800-052d9a04786fn@googlegroups.com>
<nnd$0b96129a$5e30f2df@c649e8f947b928ea> <167356971439.29425.12907871548598839236@media.vsta.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2fe23d36-9096-4076-a03b-83c988742d58n@googlegroups.com>
Subject: Re: Join the risc-V bandwagon!
From: jkn...@nicorp.f9.co.uk (JKN)
Injection-Date: Fri, 13 Jan 2023 08:15:16 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1998
 by: JKN - Fri, 13 Jan 2023 08:15 UTC

On Friday, January 13, 2023 at 12:30:08 AM UTC, Andy Valencia wrote:
> Marcel Hendrix <m...@iae.nl> writes:
> > Please, be more specific. "DshangNezha STU board" is something even Google
> > can't find.
> > "Join the risc-V bandwagon" is a thread that is unknown.
> It's "Dshang" "Nezha", not the two run together. For instance:
>
> https://liliputing.com/nezha-is-a-99-single-board-pc-with-a-risc-v-processor/
>
> I'm seeing prices more around USD $100 than $17, but we'll see.
> It may have been discounted as it _is_ pretty modest in specs.
>
> Andy Valencia
> Home page: https://www.vsta.org/andy/
> To contact me: https://www.vsta.org/contact/andy.html

Thanks for the link. From the photos, it is a clone of the
Sipeed Nezha 64bit RISC-V Linux SBC ?

Re: Join the risc-V bandwagon!

<20230113093607.06bad5b2@t530>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21973&group=comp.lang.forth#21973

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: jan4comp...@murray-microft.co.uk (Jan Coombs)
Newsgroups: comp.lang.forth
Subject: Re: Join the risc-V bandwagon!
Date: Fri, 13 Jan 2023 09:36:07 +0000
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <20230113093607.06bad5b2@t530>
References: <393612e7-913b-4549-b800-052d9a04786fn@googlegroups.com>
<nnd$0b96129a$5e30f2df@c649e8f947b928ea>
<167356971439.29425.12907871548598839236@media.vsta.org>
<2fe23d36-9096-4076-a03b-83c988742d58n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: reader01.eternal-september.org; posting-host="c669831b3c96a764e4368b58eb048e8c";
logging-data="1660854"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Q3AZWAYQ7ACHEBo+FAWct/9MFthnJkzM="
Cancel-Lock: sha1:HQwCoK0tKXGA1mlJcieFcmdNOpQ=
X-Newsreader: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
 by: Jan Coombs - Fri, 13 Jan 2023 09:36 UTC

On Fri, 13 Jan 2023 00:15:16 -0800 (PST)
JKN <jkn_gg@nicorp.f9.co.uk> wrote:

> On Friday, January 13, 2023 at 12:30:08 AM UTC, Andy Valencia wrote:
> > Marcel Hendrix <m...@iae.nl> writes:
> > > Please, be more specific. "DshangNezha STU board" is something even Google
> > > can't find.
> > > "Join the risc-V bandwagon" is a thread that is unknown.
> > It's "Dshang" "Nezha", not the two run together. For instance:
> >
> > https://liliputing.com/nezha-is-a-99-single-board-pc-with-a-risc-v-processor/
> >
> > I'm seeing prices more around USD $100 than $17, but we'll see.
> > It may have been discounted as it _is_ pretty modest in specs.
> >
> > Andy Valencia
> > Home page: https://www.vsta.org/andy/
> > To contact me: https://www.vsta.org/contact/andy.html
>
> Thanks for the link. From the photos, it is a clone of the
> Sipeed Nezha 64bit RISC-V Linux SBC ?
>

Re: Join the risc-V bandwagon!

<20230113094820.3a9c4e4e@t530>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21974&group=comp.lang.forth#21974

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: jan4comp...@murray-microft.co.uk (Jan Coombs)
Newsgroups: comp.lang.forth
Subject: Re: Join the risc-V bandwagon!
Date: Fri, 13 Jan 2023 09:48:20 +0000
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <20230113094820.3a9c4e4e@t530>
References: <393612e7-913b-4549-b800-052d9a04786fn@googlegroups.com>
<nnd$0b96129a$5e30f2df@c649e8f947b928ea>
<167356971439.29425.12907871548598839236@media.vsta.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: reader01.eternal-september.org; posting-host="c669831b3c96a764e4368b58eb048e8c";
logging-data="1660854"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+p3By641W3YLgMoSDq99L0+Y8jNkt1Qy8="
Cancel-Lock: sha1:gEcDEeJgrpIwtYGiou2VYUB8rHI=
X-Newsreader: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
 by: Jan Coombs - Fri, 13 Jan 2023 09:48 UTC

On Thu, 12 Jan 2023 16:28:34 -0800
Andy Valencia <vandys@vsta.org> wrote:

> I'm seeing prices more around USD $100 than $17, but we'll see.
> It may have been discounted as it _is_ pretty modest in specs.

Cheapest D1 board set I've seen (on eBay & AliExpress) is €28,40
SipEED Lichee RV Dock Reviews here:

https://hackaday.com/2022/01/06/new-part-day-the-risc-v-lichee-rv-module-and-dock/

https://liliputing.com/this-5-dock-turns-the-17-sipeed-lichee-rv-into-a-fully-functional-risc-v-computer/

No Ethernet, but has a companion mic array board.

Jan Coombs

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor