Re: Contribute a RISC-V 64 JIT backend

Logan Chien <[email protected]> Mon, 29 Jan 2024 18:51:15 -0800
Newsgroups gmane.comp.python.pypy
Message-ID <CALQyFuAzteV9Qur5iEJGa5XdZMT6KgUDv77LORBxfy07=kVxQQ@mail.gmail.com>
--===============0857457465727814748==
Content-Type: multipart/alternative; boundary="000000000000a09599061020d6ae"

--000000000000a09599061020d6ae
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi CF,

Thank you for your reply.

>> I also ran test_ll_random.py with `--repeat=3D20000 --random-seed=3D1234=
`
>> and all test are passing.
>
> How long does that take, in wall clock time? I think for the other
> backends we kept it running for a bunch of days after the last crash
> occurred.

It took only ~6 hrs (wall clock).  If it takes a bunch of days on other
architectures, I guess I must multiply `--repeat` by 40 times or run it on
real hardware.  I'll try it again after I clear other bugs.

Regards,
Logan

On Mon, Jan 29, 2024 at 12:37=E2=80=AFAM CF Bolz-Tereick via pypy-dev <
[email protected]> wrote:

> On 1/29/24 09:27, CF Bolz-Tereick via pypy-dev wrote:
> > This test looks just wrong, in my opinion. Given that the variable name
> > is `fff`, I think it was just meant as a check "does it roughly look
> > like a pointer". So I think somebody just forgot that sys.maxint is not
> > a power of 2 (and then things failed on win32 and darwin and somebody
> > fixed it with the extra if). You can change the test to always use
> > sys.maxint*2+1.
>
> I went ahead and just did that change on the main branch.
>
> Cheers,
>
> CF
> _______________________________________________
> pypy-dev mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mailman3/lists/pypy-dev.python.org/
> Member address: [email protected]
>

--000000000000a09599061020d6ae
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi CF,</div><div><br></div><div>Thank you for your re=
ply.</div><div><br></div><div>&gt;&gt; I also ran test_ll_random.py with `-=
-repeat=3D20000 --random-seed=3D1234`<br>&gt;&gt; and all test are passing.=
<br>&gt;<br>&gt; How long does that take, in wall clock time? I think for t=
he other<br>&gt; backends we kept it running for a bunch of days after the =
last crash<br>&gt; occurred.</div><div><br></div><div>It took only ~6 hrs (=
wall clock).=C2=A0 If it takes a bunch of days on other architectures, I gu=
ess I must multiply `--repeat` by 40 times or run it on real hardware.=C2=
=A0 I&#39;ll try it again after I clear other bugs.</div><div><br></div><di=
v>Regards,</div><div>Logan<br></div></div><br><div class=3D"gmail_quote"><d=
iv dir=3D"ltr" class=3D"gmail_attr">On Mon, Jan 29, 2024 at 12:37=E2=80=AFA=
M CF Bolz-Tereick via pypy-dev &lt;<a href=3D"mailto:[email protected]">p=
[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote=
" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);=
padding-left:1ex">On 1/29/24 09:27, CF Bolz-Tereick via pypy-dev wrote:<br>
&gt; This test looks just wrong, in my opinion. Given that the variable nam=
e<br>
&gt; is `fff`, I think it was just meant as a check &quot;does it roughly l=
ook<br>
&gt; like a pointer&quot;. So I think somebody just forgot that sys.maxint =
is not<br>
&gt; a power of 2 (and then things failed on win32 and darwin and somebody<=
br>
&gt; fixed it with the extra if). You can change the test to always use<br>
&gt; sys.maxint*2+1.<br>
<br>
I went ahead and just did that change on the main branch.<br>
<br>
Cheers,<br>
<br>
CF<br>
_______________________________________________<br>
pypy-dev mailing list -- <a href=3D"mailto:[email protected]" target=3D"_=
blank">[email protected]</a><br>
To unsubscribe send an email to <a href=3D"mailto:[email protected]=
" target=3D"_blank">[email protected]</a><br>
<a href=3D"https://mail.python.org/mailman3/lists/pypy-dev.python.org/" rel=
=3D"noreferrer" target=3D"_blank">https://mail.python.org/mailman3/lists/py=
py-dev.python.org/</a><br>
Member address: <a href=3D"mailto:[email protected]" target=3D"_bla=
nk">[email protected]</a><br>
</blockquote></div>

--000000000000a09599061020d6ae--

--===============0857457465727814748==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
pypy-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/pypy-dev.python.org/
Member address: [email protected]

--===============0857457465727814748==--