Movatterモバイル変換


[0]ホーム

URL:


This is the mail archive of thelibc-alpha@sourceware.orgmailing list for theglibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav:[Date Prev] [Date Next][Thread Prev] [Thread Next]
Other format:[Raw text]

Re: [PATCH 12/27] arm64/sve: Support vector length resetting for new processes


On Tue, Aug 22, 2017 at 05:22:11PM +0100, Alex Bennée wrote:> > Dave Martin <Dave.Martin@arm.com> writes:> > > It's desirable to be able to reset the vector length to some sane> > default for new processes, since the new binary and its libraries> > processes may or may not be SVE-aware.> >> > This patch tracks the desired post-exec vector length (if any) in a> > new thread member sve_vl_onexec, and adds a new thread flag> > TIF_SVE_VL_INHERIT to control whether to inherit or reset the> > vector length.  Currently these are inactive.  Subsequent patches> > will provide the capability to configure them.> >> > Signed-off-by: Dave Martin <Dave.Martin@arm.com>> > ---> >  arch/arm64/include/asm/processor.h   |  1 +> >  arch/arm64/include/asm/thread_info.h |  1 +> >  arch/arm64/kernel/fpsimd.c           | 13 +++++++++++++> >  3 files changed, 15 insertions(+)> >> > diff --git a/arch/arm64/include/asm/processor.h b/arch/arm64/include/asm/processor.h> > index 969feed..da8802a 100644> > --- a/arch/arm64/include/asm/processor.h> > +++ b/arch/arm64/include/asm/processor.h> > @@ -87,6 +87,7 @@ struct thread_struct {> >  struct fpsimd_statefpsimd_state;> >  void*sve_state;/* SVE registers, if any */> >  u16sve_vl;/* SVE vector length */> > +u16sve_vl_onexec;/* SVE vl after next> > exec */> > Inconsistent size usage here as well...Agreed, the same history applies as for sve_vl.  I'll replace this withan unsigned int.[...]Cheers---Dave

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav:[Date Prev] [Date Next][Thread Prev] [Thread Next]

[8]ページ先頭

©2009-2026 Movatter.jp