[PATCH 1/3] xtensa: reimplement register spilling

2015-08-17 Thread Max Filippov
Spilling windowed registers in userspace is much easier, more portable, less error-prone and equally effective as in kernel. Now that register spilling syscall is considered obsolete in the xtensa linux kernel replace it with CALL12 followed by series of ENTRY in libgcc. 2015-08-18 Max Filippov

Re: [PATCH 1/3] xtensa: reimplement register spilling

2015-08-17 Thread augustine.sterl...@gmail.com
On Mon, Aug 17, 2015 at 2:59 PM, Max Filippov wrote: > 2015-08-18 Max Filippov > libgcc/ > * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use > CALL12 followed by series of ENTRY to spill windowed registers. > (__xtensa_nonlocal_goto): Call __xtensa_libgcc_w

Re: [PATCH 1/3] xtensa: reimplement register spilling

2015-08-17 Thread Max Filippov
On Tue, Aug 18, 2015 at 3:50 AM, augustine.sterl...@gmail.com wrote: > On Mon, Aug 17, 2015 at 2:59 PM, Max Filippov wrote: >> 2015-08-18 Max Filippov >> libgcc/ >> * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use >> CALL12 followed by series of ENTRY to spill wi