commit | bc84109786d158a454d671566721c2d139c3285c | [log] [tgz] |
---|---|---|
author | Lai Wei-Chih <Robert.Lai@mediatek.com> | Wed May 29 13:29:14 2013 +0800 |
committer | Lai Wei-Chih <Robert.Lai@mediatek.com> | Wed May 29 13:57:58 2013 +0800 |
tree | 6d163357ba28024e66fc754f13601387baf35a8a | |
parent | d5cda7cc02667fcb053c07c4b23cfec3ce584355 [diff] |
Add atomic helper functions for arm. 1. Implement some gcc __sync_* builtins for compatibility See http://gcc.gnu.org/onlinedocs/gcc-4.8.0/gcc/_005f_005fsync-Builtins.html Note that only 4 bytes operation is supported now. The reference implementation: AOSP/system/core/include/cutils/atomic-arm.h 2. Alias __aeabi_fcmpun to __unordsf2. Change-Id: Id44293824b9011876e22dfdefc7b241dfb47e89d