This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r226962 - in /trunk/libgcc: ChangeLog config/xt...
- From: jcmvbkbc at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 18 Aug 2015 01:05:44 -0000
- Subject: r226962 - in /trunk/libgcc: ChangeLog config/xt...
Author: jcmvbkbc
Date: Tue Aug 18 01:05:44 2015
New Revision: 226962
URL: https://gcc.gnu.org/viewcvs?rev=226962&root=gcc&view=rev
Log:
xtensa: reimplement register spilling
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 <jcmvbkbc@gmail.com>
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_window_spill
instead of making linux spill syscall.
Modified:
trunk/libgcc/ChangeLog
trunk/libgcc/config/xtensa/lib2funcs.S