Re: [PATCH] add xfloat thread state interface

2024-08-05 Thread Sergey Bugaev
On Mon, Aug 5, 2024 at 9:23 PM Samuel Thibault wrote: > Luca Dariz, le lun. 05 août 2024 14:52:24 +0200, a ecrit: > > Il 05/08/24 00:32, Samuel Thibault ha scritto: > > > Luca Dariz, le ven. 02 août 2024 17:32:34 +0200, a ecrit: > > > > +#define XFP_STATE_BYTES (sizeof (struct i386_xfp_save)) > >

Re: [PATCH] add xfloat thread state interface

2024-08-05 Thread Samuel Thibault
Hello, Luca Dariz, le lun. 05 août 2024 14:52:24 +0200, a ecrit: > Il 05/08/24 00:32, Samuel Thibault ha scritto: > > Luca Dariz, le ven. 02 août 2024 17:32:34 +0200, a ecrit: > > > +#define XFP_STATE_BYTES (sizeof (struct i386_xfp_save)) > > > > That is not sufficient: depending on the sse level

Re: [PATCH] add xfloat thread state interface

2024-08-05 Thread Luca Dariz
Il 05/08/24 00:32, Samuel Thibault ha scritto: Hello, Luca Dariz, le ven. 02 août 2024 17:32:34 +0200, a ecrit: +#define XFP_STATE_BYTES (sizeof (struct i386_xfp_save)) That is not sufficient: depending on the sse level and the saving style, we have various amount of data to store. See fp_xsa