setjmp cleanup
Here is a patch to remove the unnecessary "loadrs" from setjmp.
--david
2001-02-15 David Mosberger <[email protected]>
* sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to do "loadrs". Writing to bspstore already takes care of invalidating the "clean" partition.
Index: sysdeps/unix/sysv/linux/ia64/__longjmp.S
=================================RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/ia64/__longjmp.S,v retrieving revision 1.1
__longjmp.S +0 -2
@@ -67,7 +67,6 @@ and r8=0x3f,r8 ;; cmp.lt pNeg,pPos=r8,r0 - dep r11=r0,r11,16,14 // clear ar.rsc.loadrs mov r2=in0 ;; (pPos) mov r16=r8
@@ -117,7 +116,6 @@ ld8.nta r11=[r2],16 // ar.pfs ld8.nta r22=[r3],56 // ar.lc ;; - loadrs // invalidate stacked regs (must be first in insn group) ld8.nta r24=[r2],32 // pr mov b0=r16 ;;
Quoted 1 line · David Mosberger
Here is a patch to remove the unnecessary "loadrs" from setjmp.
Thanks, I've applied it.
Signature · 3 lines
---------------. ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Red Hat `--' drepper at redhat.com `------------------------