[Libre-soc-dev] bigint-presentation reg alloc and cranelift's reg alloc

Jacob Lifshay programmerjake at gmail.com
Tue Jan 31 21:00:42 GMT 2023


On Tue, Jan 31, 2023, 12:03 Luke Kenneth Casson Leighton <lkcl at lkcl.net>
wrote:

> > chris fallin (main author of cranelift's register allocator) is back from
> > vacation and replied:
> >
> https://bytecodealliance.zulipchat.com/#narrow/stream/217117-cranelift/topic/register.20allocating.20the.20stack/near/324966247
>
> so i saw you mention that you have abandoned one codebase
> and begun another?


not quite, i'm still using most of the python code (everything but the
register allocator, which is just one file). explanation here:
https://git.libre-soc.org/?p=bigint-presentation-code.git;a=blob;f=register_allocator/README.md;h=8d17cde2b6395e0ca1091629120576c27c87d4d1;hb=HEAD

can you point me to the bugtracker
> task on which that has been mentioned?
>

no, since i didn't mention it on a bug tracker iirc, but the bug tracking
it is (needs a bunch of sub-task bugs for reg-alloc, toom-cook, integration
with isacaller, etc.)
https://bugs.libre-soc.org/show_bug.cgi?id=942

>
> you do know that what you are working on
> is not authorised for funding,


actually iirc it has since it's a subtask of the fast rsa modular
exponentiation task.

the reg alloc experimentation is also quite useful for figuring out how
SVP64 will be integrated into llvm, gcc, cranelift, etc.

Jacob


More information about the Libre-soc-dev mailing list