[pypy-dev] Re: Contribute a RISC-V 64 JIT backend

2024-08-11 Thread Logan Chien
. Thank you. Regards, Logan On Fri, Mar 1, 2024 at 11:52 AM Logan Chien wrote: > Hi Armin, > > Thank you for the reply. I'll check (1) the config, (2) the frontend code > that emits guard_not_invalidated, and (3) the actual performance on HW this > weekend. > > Regards, &

[pypy-dev] Re: Contribute a RISC-V 64 JIT backend

2024-03-01 Thread Logan Chien
Hi Armin, Thank you for the reply. I'll check (1) the config, (2) the frontend code that emits guard_not_invalidated, and (3) the actual performance on HW this weekend. Regards, Logan On Thu, Feb 29, 2024 at 4:45 AM Armin Rigo wrote: > Hi Logan, > > On Thu, 29 Feb 2024 at 08:3

[pypy-dev] Re: Contribute a RISC-V 64 JIT backend

2024-02-28 Thread Logan Chien
(e.g. schroot/qemu). I will try to run it on the real board this weekend. On Wed, Feb 21, 2024 at 9:57 PM Logan Chien wrote: > Hi Armin, > > Thank you for the reply. > > Luckily, I found the bug. It was a bug in my write barrier card marking > implementation. I misunderstood w

[pypy-dev] Re: Contribute a RISC-V 64 JIT backend

2024-02-21 Thread Logan Chien
try to figure out the failing guard op first. Regards, Logan On Mon, Feb 19, 2024 at 10:05 PM Armin Rigo wrote: > Hi Logan, > > On Tue, 20 Feb 2024 at 05:08, Logan Chien > wrote: > > > This should just be #defined to do nothing with Boehm, maybe in > rpython/translator/

[pypy-dev] Re: Contribute a RISC-V 64 JIT backend

2024-02-19 Thread Logan Chien
ast/slow paths) 5. realloc_frame Regards, Logan On Sun, Feb 18, 2024 at 11:06 PM Armin Rigo wrote: > Hi Logan, > > On Mon, 19 Feb 2024 at 05:02, Logan Chien > wrote: > > 2890 | OP_GC_INCREASE_ROOT_STACK_DEPTH(l_v498959, /* > nothing */); > > Ah, ye

[pypy-dev] Re: Contribute a RISC-V 64 JIT backend

2024-02-18 Thread Logan Chien
ng is correct, I feel that I have to debug this the hard way. Let's see if I can find more leads or not. Thank you. Regards, Logan On Fri, Feb 16, 2024 at 1:38 AM Armin Rigo wrote: > Hi Logan, > > On Fri, 16 Feb 2024 at 07:46, Logan Chien > wrote: > > pyp

[pypy-dev] Re: Contribute a RISC-V 64 JIT backend

2024-02-15 Thread Logan Chien
: do we have some way to log the allocation/marking/relocation/deallocation in the GC? Or any other suggestions are much appreciated. Thank you. Regards, Logan On Mon, Jan 29, 2024 at 6:51 PM Logan Chien wrote: > Hi CF, > > Thank you for your reply. > > >> I also ran test_

[pypy-dev] Re: Contribute a RISC-V 64 JIT backend

2024-01-29 Thread Logan Chien
Hi CF, Thank you for your reply. >> I also ran test_ll_random.py with `--repeat=2 --random-seed=1234` >> 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

[pypy-dev] Re: Contribute a RISC-V 64 JIT backend

2024-01-28 Thread Logan Chien
on (maybe related to bad malloc_nursery fast path) (untriaged) * Test Suite: pypyjit tests * test_jitlogparser -- (untriaged) * test_micronumpy -- (untriaged) I also ran test_ll_random.py with `--repeat=2 --random-seed=1234` and all test are passing. Regards, Logan On Mon, Jan 22, 202

[pypy-dev] Re: Contribute a RISC-V 64 JIT backend

2024-01-22 Thread Logan Chien
he > default (e.g. whole night) to see if they find issues > > Best, > Maciej Fijalkowski > > On Tue, 16 Jan 2024 at 07:02, Logan Chien > wrote: > > > > Hi, > > > > I have good news: the RISC-V backend can pass as many unit tests as the > AArch64

[pypy-dev] Re: Contribute a RISC-V 64 JIT backend

2024-01-16 Thread Logan Chien
Hi Matti, Thank you for your information. I will try these this weekend. Regards, Logan On Tue, Jan 16, 2024, 12:52 AM Matti Picus wrote: > On 16/1/24 07:02, Logan Chien wrote: > > > Hi, > > > > I have good news: the RISC-V backend can pass as many unit tests as >

[pypy-dev] Re: Contribute a RISC-V 64 JIT backend

2024-01-15 Thread Logan Chien
correctness? 2. How do we measure the performance? Do we have a command line that can run all benchmarks? Thank you in advance. Regards, Logan p.s. All changes are at: https://github.com/loganchien/pypy/tree/rv64 On Mon, Jan 15, 2024 at 8:54 PM Logan Chien wrote: > Hi Maciej, > >

[pypy-dev] Re: Contribute a RISC-V 64 JIT backend

2024-01-15 Thread Logan Chien
Best, > Maciej > > On Wed, 10 Jan 2024 at 08:39, Logan Chien > wrote: > > > > Hi Armin, > > > > > About the V extension, I'm not sure it would be helpful; do you plan > > > to use it in the same way as our x86-64 vector extension suppo

[pypy-dev] Re: Contribute a RISC-V 64 JIT backend

2024-01-09 Thread Logan Chien
AM Armin Rigo wrote: > Hi Logan, > > On Tue, 9 Jan 2024 at 04:01, Logan Chien > wrote: > > Currently, I only target RV64 IMAD: > > > > I - Base instruction set > > M - Integer multiplication > > A - Atomic (used by call_release_gil) > > D - Dou

[pypy-dev] Re: Contribute a RISC-V 64 JIT backend

2024-01-08 Thread Logan Chien
ave not taken any looks at > > all, but can you tell me what kind of setup does one need for testing > > it? Are you using real hardware or emulation? > > > > The approach of starting with tests and getting translation done later > > is very much what we have done

[pypy-dev] Re: Contribute a RISC-V 64 JIT backend

2024-01-07 Thread Logan Chien
Hi, I forgot to include the link in my previous email. If you want to have a look on my prototype, you can find it here: https://github.com/loganchien/pypy/tree/rv64 Thanks. Regards, Logan On Sun, Jan 7, 2024 at 5:18 PM Logan Chien wrote: > Hi all, > > I would like to contribute

[pypy-dev] Contribute a RISC-V 64 JIT backend

2024-01-07 Thread Logan Chien
Hi all, I would like to contribute a RISC-V 64 JIT backend for RPython. I have made some progress at the end of 2023. ## Status My prototype can pass the test cases below: * test_runner.py * test_basic.py and almost all test_ajit.py related tests (except test_rvmprof.py) * test_zrpy_gc_boehm.p