diff options
author | cognet <cognet@FreeBSD.org> | 2005-10-04 20:42:42 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2005-10-04 20:42:42 +0000 |
commit | 8502ccfe17518f33d9bdeee9f6fc158e1e2159fd (patch) | |
tree | bb66c217dfbe5c60d9fc087fb2c785641a3f71f2 /sys | |
parent | fe5395b8466b8831e8d84f58b692e346c379c002 (diff) | |
download | FreeBSD-src-8502ccfe17518f33d9bdeee9f6fc158e1e2159fd.zip FreeBSD-src-8502ccfe17518f33d9bdeee9f6fc158e1e2159fd.tar.gz |
strd needs the destination to be double-word aligned, but the pointer passed
to savectx isn't always, so always use stmia, savectx isn't called enough
to need that kind of optimization.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arm/arm/swtch.S | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/arm/arm/swtch.S b/sys/arm/arm/swtch.S index f4fffe8..926d8bb 100644 --- a/sys/arm/arm/swtch.S +++ b/sys/arm/arm/swtch.S @@ -455,14 +455,8 @@ ENTRY(savectx) * r0 = pcb */ /* Store all the registers in the process's pcb */ -#ifndef __XSCALE__ add r2, r0, #(PCB_R8) stmia r2, {r8-r13} -#else - strd r8, [r0, #(PCB_R8)] - strd r10, [r0, #(PCB_R10)] - strd r12, [r0, #(PCB_R12)] -#endif ldmfd sp!, {r4-r7, pc} RET |