[Weekly] 16-20 FEB 2015

2015-02-24 Thread Michael Collison
== This week == * Released Linaro 4.8 and 4.9 February 2015 release (2/10) * Vector Extensions Project (7/10) - Design work on C++ classes - Reviewed Boost.simd as alternative implementation - Review of libvpx benchmark * Misc. (1/10) - Conference calls - ARM required online training

Problems porting Boost.Context to aarch64 gcc

2015-02-24 Thread Edward Nevill
Hi, I am trying to port the Boost.Context library (from www.boost.org) to aarch64 gcc and have come across a gnarly problem. Boost.Context essentially does co-routine style context switching. It has a structure f_context which it uses to save and restore contexts. The structure f_context conta

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 [

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 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