845c778fa6ebb3ff3feaac0c268d93f4017c0cda |
|
19-Dec-2013 |
Serban Constantinescu <serban.constantinescu@arm.com> |
ARM: Change dmb domain for bionic_atomic_barrier() This patch changes the domain that the memory barrier operates on. Assumes that the scope of bionic_atomic_barrier() does not include device memory, memory shared with the GPU or any other memory external to the processor cluster. Change-Id: I291e741c98a64c86f3a3cf99811bbf1e714ac9aa Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
|
4c186ffb837a2bd852e7983f217a945d415cefbc |
|
16-Dec-2013 |
Elliott Hughes <enh@google.com> |
Fix typo. Change-Id: I85157a6b2056b6c17cae193200960b8cae3cb3b3
|
2b333b97a241eec63d531874e28f2a894bc06aa0 |
|
14-Dec-2013 |
Elliott Hughes <enh@google.com> |
Clean up the pthread-only atomic stuff a little. It looks like we can probably just use the generic GCC stuff instead; the generated code looks pretty similar. We should come back to that. These routines are only used by the pthread implementation, and __bionic_atomic_inc isn't used, so we can remove it. Change-Id: I8b5b8cb30a1b159f0e85c3675aee06ddef39b429
|
c54ca40aef48009e7b0e5b2b3069aad62ffd3453 |
|
13-Dec-2013 |
Elliott Hughes <enh@google.com> |
Clean up some ARMv4/ARMv5 cruft. Change-Id: I29e836fea4b53901e29f96c6888869c35f6726be
|
e91f71783bf86cb10ad52f5618ad07d4e7152b2f |
|
03-Jul-2013 |
Nick Kralevich <nnk@google.com> |
bionic_atomic_arm.h: Remove < ARMv6 support This is dead code for most modern Android devices. Bug: 9674955 Change-Id: Ic63a66b0331a0f07b9183f14a1d5e678c25e4b12
|
e31bfae2baa96742f998155ee26e56c826a8ce3a |
|
15-Nov-2011 |
David 'Digit' Turner <digit@android.com> |
bionic: Do not use <sys/atomics.h> for platform code. We're going to modify the __atomic_xxx implementation to provide full memory barriers, to avoid problems for NDK machine code that link to these functions. First step is to remove their usage from our platform code. We now use inlined versions of the same functions for a slight performance boost. + remove obsolete atomics_x86.c (was never compiled) NOTE: This improvement was benchmarked on various devices. Comparing a pthread mutex lock + atomic increment + unlock we get: - ARMv7 emulator, running on a 2.4 GHz Xeon: before: 396 ns after: 288 ns - x86 emulator in KVM mode on same machine: before: 27 ns after: 27 ns - Google Nexus S, in ARMv7 mode (single-core): before: 82 ns after: 76 ns - Motorola Xoom, in ARMv7 mode (multi-core): before: 121 ns after: 120 ns The code has also been rebuilt in ARMv5TE mode for correctness. Change-Id: Ic1dc72b173d59b2e7af901dd70d6a72fb2f64b17
|