Re: Problems porting Boost.Context to aarch64 gcc

2015-02-24 Thread Peter Maydell
On 24 February 2015 at 23:53, Edward Nevill wrote: > However, there is a problem with this because gcc may store integer value in > floating point registers around a function call. > > So, I have no way of knowing whether it is actually necessary to save/restore > floating point context. > > Eve

Re: Problems porting Boost.Context to aarch64 gcc

2015-02-24 Thread Kugan
Hi Ed, > However, there is a problem with this because gcc may store integer value in > floating point registers around a function call. Are you talking about FP registers being allocated for integer values such that you dont know if FP registers are used in integer application and you have to b

RE: Problems porting Boost.Context to aarch64 gcc

2015-02-24 Thread Pinski, Andrew
Why don't you just have Boost.Context be a wrapper around getcontext/setcontext/swapcontext and ignore the save_fp argument? Then you don't need to write anything special for AARCH64 or any new target? Thanks, Andrew -Original Message- From: linaro-toolchain-boun...@lists.linaro.org [