about summary refs log tree commit diff
path: root/src/setjmp
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-12-05 19:13:47 -0500
committerRich Felker <dalias@aerifal.cx>2012-12-05 19:13:47 -0500
commit4b43f05f3c754df56e8b6f844c012efd4e51a032 (patch)
treef2e905d04e82404445a2bb83107b1590618e5646 /src/setjmp
parent96b3ea53f9ae365a82fb537d4fdac63c2082cc22 (diff)
downloadmusl-4b43f05f3c754df56e8b6f844c012efd4e51a032.tar.gz
musl-4b43f05f3c754df56e8b6f844c012efd4e51a032.tar.xz
musl-4b43f05f3c754df56e8b6f844c012efd4e51a032.zip
remove fenv saving/loading code from setjmp/longjmp on arm
the issue is identical to the recent commit fixing the mips versions:
despite other implementations doing this, it conflicts with the
requirements of ISO C and it's a waste of time and code size.
Diffstat (limited to 'src/setjmp')
-rw-r--r--src/setjmp/arm/longjmp.s2
-rw-r--r--src/setjmp/arm/setjmp.s2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/setjmp/arm/longjmp.s b/src/setjmp/arm/longjmp.s
index 84ddc22f..aff15fbd 100644
--- a/src/setjmp/arm/longjmp.s
+++ b/src/setjmp/arm/longjmp.s
@@ -21,8 +21,6 @@ longjmp:
 2:	tst r1,#0x40
 	beq 2f
 	ldc p11, cr8, [ip], #64
-	ldmia ip!, {r2,r3}
-	mcr p10, 7, r3, cr1, cr0, 0
 2:	tst r1,#0x200
 	beq 3f
 	ldcl p1, cr10, [ip], #8
diff --git a/src/setjmp/arm/setjmp.s b/src/setjmp/arm/setjmp.s
index 904ff102..b74dfc68 100644
--- a/src/setjmp/arm/setjmp.s
+++ b/src/setjmp/arm/setjmp.s
@@ -23,8 +23,6 @@ setjmp:
 2:	tst r1,#0x40
 	beq 2f
 	stc p11, cr8, [ip], #64
-	mrc p10, 7, r2, cr1, cr0, 0
-	stmia ip!, {r0,r2}
 2:	tst r1,#0x200
 	beq 3f
 	stcl p1, cr10, [ip], #8