From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Libre-RISCV General Development <libre-riscv-dev@lists.libre-riscv.org>
Subject: Re: [libre-riscv-dev] daily kan-ban update, 22jul2020
Date: Thu, 23 Jul 2020 17:42:07 +0100
Message-ID: <CAPweEDzsho_Jemrm03UG1UmwxtjnGx5+G47JBbGSVgH4DLc3TQ@mail.gmail.com> (raw)
In-Reply-To: <CAC2bXD71j6QJ309ttahw0xzX5iUhhfZfP4e-O8CuBQNLjb3FNA@mail.gmail.com>
On Thursday, July 23, 2020, Jacob Lifshay <programmerjake@gmail.com> wrote:
> On Thu, Jul 23, 2020, 02:40 Luke Kenneth Casson Leighton <lkcl@lkcl.net>
> wrote:
>
> > On Thursday, July 23, 2020, Luke Kenneth Casson Leighton <lkcl@lkcl.net>
> > wrote:
> >
> > >
> > >
> > > On Thursday, July 23, 2020, Jacob Lifshay <programmerjake@gmail.com>
> > > wrote:
> > >
> > >>
> > >> SimOnly, I discovered that for test_divwuo_regression_1 (0xc4e32b68 /
> > >> 0x32867d69), the pipeline (SimOnly) is giving the correct results
> > >> (rt=0x3), it's the ISA simulator code that's messed up
> > >> (rt=0xFFFFFFFF).
> > >
> > >
> > > please raise a bugreport for it.
> > >
> >
> > saw it, thank you for doing that.
> >
> > these look great btw
> >
> >
> >
> > https://git.libre-soc.org/?p=soc.git;a=commitdiff;h=
> 78096b62db0345846cca70ab2f75f9c3519006c4
>
>
> Thanks! I used the same list of test values as in
> power-instruction-analyzer.
i wondered if, like in the ieee754fp tests, if some random values could be
added, too.
also, some exponentially scaled numbers.
two random uniform distributed numbers for div, the answer pretty much
averages out to 1 which is of course a fairly useless test.
by doing this you get a much better distribution suited to testing divide
full range:
x = random(1,32)
return random(0,1<<x)
l.
> Jacob
> _______________________________________________
> libre-riscv-dev mailing list
> libre-riscv-dev@lists.libre-riscv.org
> http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
>
--
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
next prev parent reply index
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-23 0:13 Jacob Lifshay
2020-07-23 1:53 ` Cole Poirier
2020-07-23 2:29 ` Luke Kenneth Casson Leighton
2020-07-23 9:40 ` Luke Kenneth Casson Leighton
2020-07-23 16:31 ` Jacob Lifshay
2020-07-23 16:42 ` Luke Kenneth Casson Leighton [this message]
2020-07-23 17:06 ` Jacob Lifshay
2020-07-23 17:11 ` Luke Kenneth Casson Leighton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPweEDzsho_Jemrm03UG1UmwxtjnGx5+G47JBbGSVgH4DLc3TQ@mail.gmail.com \
--to=lkcl@lkcl.net \
--cc=libre-riscv-dev@lists.libre-riscv.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Libre RISC-V Mailing list Archives (accessible via public-inbox)
Archives are clonable: git clone --mirror https://inbox.libre-soc.org/libre-riscv-dev
Example config snippet for mirrors
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git