[PATCH] sparc: Add SPARC_USE_SAFE_FP_SUPPORT

2015-05-30 Thread Sebastian Huber
The SPARC ABI is a bit special with respect to the floating point context. The complete floating point context is volatile. Thus from an ABI point of view nothing needs to be saved and restored during a context switch. Instead the floating point context must be saved and restored during interrupt

Re: [PATCH] sparc: Add SPARC_USE_SAFE_FP_SUPPORT

2015-06-01 Thread Gedare Bloom
On Sat, May 30, 2015 at 11:59 AM, Sebastian Huber wrote: > The SPARC ABI is a bit special with respect to the floating point context. > The complete floating point context is volatile. Thus from an ABI point > of view nothing needs to be saved and restored during a context switch. > Instead the f

Re: [PATCH] sparc: Add SPARC_USE_SAFE_FP_SUPPORT

2015-06-01 Thread Sebastian Huber
- Gedare Bloom schrieb: > On Sat, May 30, 2015 at 11:59 AM, Sebastian Huber [...] > > @@ -577,6 +602,9 @@ typedef struct { > > * This structure defines floating point context area. > > */ > > typedef struct { > > +#if defined(SPARC_USE_SAFE_FP_SUPPORT) > > + char dummy_to_make_the_works