Excerpts from Maciej W. Rozycki's message of Januar 23, 2025 6:29 pm:
> On Tue, 21 Jan 2025, Iain Buclaw wrote:
> 
>> This patch adds a MIPS64 implementation of `fiber_switchContext',
>> replacing the generic implementation.  The `core.thread.fiber' module
>> already defines version=AsmExternal on mips64el-linux-gnuabi64 targets.
> 
>  Don't you need similar code for n32 MIPS64 (_ABIN32)?
> 
>  That would be s/daddiu/addiu/ for the stack updates and otherwise the 
> same as this piece.
> 
>  FWIW,
> 

Thanks, I should have clarified only these though go through the 
AsmExternal code paths in core.thread.fiber.

    version = MIPS_O32  // -mabi=32
    version = MIPS_N64  // -mabi=n64

The O64 and N32 versions still go through the generic implementation.  
Perhaps they could be switched over to asm implementations based on your 
suggestion though?

Iain.

Reply via email to