[PATCH 1/6] powerpc: Put FP/VSX and VR state into structures

2013-09-10 Thread Paul Mackerras
This creates new 'thread_fp_state' and 'thread_vr_state' structures to store FP/VSX state (including FPSCR) and Altivec/VSX state (including VSCR), and uses them in the thread_struct. In the thread_fp_state, the FPRs and VSRs are represented as u64 rather than double, since we rarely perform float

Re: [PATCH 1/6] powerpc: Put FP/VSX and VR state into structures

2013-09-10 Thread Alexander Graf
On 10.09.2013, at 05:20, Paul Mackerras wrote: > This creates new 'thread_fp_state' and 'thread_vr_state' structures > to store FP/VSX state (including FPSCR) and Altivec/VSX state > (including VSCR), and uses them in the thread_struct. In the > thread_fp_state, the FPRs and VSRs are represented

Re: [PATCH 1/6] powerpc: Put FP/VSX and VR state into structures

2013-09-10 Thread Paul Mackerras
On Tue, Sep 10, 2013 at 12:07:46PM -0500, Alexander Graf wrote: > > On 10.09.2013, at 05:20, Paul Mackerras wrote: > > @@ -897,7 +897,7 @@ int fix_alignment(struct pt_regs *regs) > > return -EFAULT; > > } > > } else if (flags & F) { > > - data.