Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/arch/arm/arm
Module Name: src
Committed By: bjh21
Date: Fri Jan 16 10:28:24 UTC 2009
Modified Files:
src/sys/arch/arm/arm: lock_cas.S
Log Message:
Simplify the pre-ARMv6 code. Specifically:
* Take advantage of conditional instructions to avoid branching.
* Tweak register allocation to remove some MOVs from the debug code.
* In the debug code, only the address of the counter varies between
the success and failure cases, so make the rest of the code common.
Also correct the initial comment: _lock_cas returns the old value, not a
boolean.
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/sys/arch/arm/arm/lock_cas.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index