This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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]

[Bug libc/6816] Support for POWER7 VSX registers in *context routines


https://sourceware.org/bugzilla/show_bug.cgi?id=6816

Jakub Jelinek <jakub at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at redhat dot com

--- Comment #28 from Jakub Jelinek <jakub at redhat dot com> ---
If the VSX state is indeed call clobbered in the ABI, supposedly glibc should
on successful getcontext and swapcontext syscalls just clear the MSR_VSX bit
from gregs[PT_MSR], because it knows it doesn't have room for the extra halves
of VSX registers and thus feeding it directly to setcontext or another
swapcontext would always fail?  Doing it in the kernel looks less desirable to
me, perhaps some code might be interested in knowing there is VSX state to be
saved and retry swapcontext syscall with a larger context or something (for
something doing the syscall by hand rather than using glibc APIs).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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