Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: i386 and amd64 AVX support



On Tue, Mar 11, 2014 at 08:51:06PM +0000, Alexander Nasonov wrote:
> David Laight wrote:
> > I've committed code to the amd64 and i386 kernels that enables
> > AVX for userspace.
> > In particular the high ymm registers should be saved on context switches.
> > 
> > Any additional testing would be welcome.
> 
> Thanks for working on it. I resumed playing with avx instructions
> and I haven't found any problem so far.

Still some stuff to tidy up.
Mostly:
- make avx registers available to signal handlers.
- and to process core dumps
- add to ptrace for gdb.

The process core dump code is particularly problematical (especially
for cpus that support avx512) since it relies on several on-stack
copies of the fpu state (over 2k with avx512).

Might require major rework of the core dump code (made more complicated
by the requirement to be able to write core dumps to pipes).

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index