Re: [PATCH v3 20/20] linux-user: Add RISC-V zicfilp support in VDSO

2024-08-07 Thread Deepak Gupta
On Wed, Aug 07, 2024 at 01:41:37PM +1000, Richard Henderson wrote: On 8/7/24 10:06, Deepak Gupta wrote: Add zicfilp support in VDSO. VDSO functions need lpad instruction so that userspace could call this function when landing pad extension is enabled. This solution only works when toolchain alwa

Re: [PATCH v3 20/20] linux-user: Add RISC-V zicfilp support in VDSO

2024-08-06 Thread Richard Henderson
On 8/7/24 10:06, Deepak Gupta wrote: Add zicfilp support in VDSO. VDSO functions need lpad instruction so that userspace could call this function when landing pad extension is enabled. This solution only works when toolchain always use landing pad label 1. Well, no, the lpad insns *could* use i

[PATCH v3 20/20] linux-user: Add RISC-V zicfilp support in VDSO

2024-08-06 Thread Deepak Gupta
Add zicfilp support in VDSO. VDSO functions need lpad instruction so that userspace could call this function when landing pad extension is enabled. This solution only works when toolchain always use landing pad label 1. Otherwise, If extension is not enabled, lpad instructions will be lui instruct