On Mon, Feb 17, 2014 at 09:25:49PM +, David Laight wrote:
I'm adding code to i386 and amd64 to save the ymm registers on process
switch - allowing userspace to use the AVX instructions.
[ensuing crap about the u area]
Why put it in the u area at all? It's a legacy concept
On Feb 19, 2014, at 8:34 AM, David Holland dholland-t...@netbsd.org wrote:
On Mon, Feb 17, 2014 at 09:25:49PM +, David Laight wrote:
I'm adding code to i386 and amd64 to save the ymm registers on process
switch - allowing userspace to use the AVX instructions.
[ensuing crap about the u
On Wed, Feb 19, 2014 at 09:14:05AM -0800, Matt Thomas wrote:
For the aarch64 port, the only thing in the PCB is the fpu register set.
Everything else is in mdlwp. Now the context switch code can ignore
the PCB entirely. I've been thinking of doing something similar for
other ports i
On Sun, Feb 16, 2014 at 01:27:50PM -0800, Matt Thomas wrote:
An alternative would be to place the FP save area at the start of the uarea.
This would mean that, on stack overflow, the FP save area would be trashed
before some random piece of memory.
It might even be worth putting the pcb at
On Sun, Feb 16, 2014 at 09:41:08PM +, David Laight wrote:
I'm adding code to i386 and amd64 to save the ymm registers on process
switch - allowing userspace to use the AVX instructions.
[ensuing crap about the u area]
Why put it in the u area at all? It's a legacy concept of little
On Mon, Feb 17, 2014 at 06:39:26PM +, David Holland wrote:
On Sun, Feb 16, 2014 at 09:41:08PM +, David Laight wrote:
I'm adding code to i386 and amd64 to save the ymm registers on process
switch - allowing userspace to use the AVX instructions.
[ensuing crap about the u area]
I'm adding code to i386 and amd64 to save the ymm registers on process
switch - allowing userspace to use the AVX instructions.
I also don't want to have to do it all again when the next set of
extensions appear.
This means that the size of the FPU save area (currently embedded in
the pcb) can't
On Feb 16, 2014, at 1:41 PM, David Laight da...@l8s.co.uk wrote:
I'm adding code to i386 and amd64 to save the ymm registers on process
switch - allowing userspace to use the AVX instructions.
I also don't want to have to do it all again when the next set of
extensions appear.
This means