[RFC PATCH] LoongArch: Fix intermittent nptl/tst-cancel32 failure

Wilco Dijkstra <[email protected]> Tue, 4 Aug 2026 13:50:07 +0000
Newsgroups gmane.comp.lib.glibc.alpha
Message-ID <PAWPR08MB8982C508807F5B068A44AEC383D42@PAWPR08MB8982.eurprd08.prod.outlook.com>
Hi Mengqinggang,=0A=
=0A=
> 	REG_L t0, a0, 0*SZREG=0A=
> -	PTR_DEMANGLE (ra, t0, t1)=0A=
> +	PTR_DEMANGLE (ra, t0, t1, t2)=0A=
>	REG_L t0, a0, 1*SZREG=0A=
>-	PTR_DEMANGLE2 (sp, t0, t1)=0A=
>+	PTR_DEMANGLE2 (sp, t0, t1, t2)=0A=
=0A=
Isn't t0 already a temporary in PTR_DEMANGE as the code above shows?=0A=
For mangling, dst is the temporary (and thus cannot be SP), for demangling,=
=0A=
src is the temporary (and thus cannot be SP).=0A=
=0A=
Cheers,=0A=
Wilco=