OSDN Git Service

Avoid volatile 64-bit tearing on 32-bit architectures.
authorIan Rogers <irogers@google.com>
Tue, 22 Apr 2014 00:01:02 +0000 (17:01 -0700)
committerIan Rogers <irogers@google.com>
Mon, 28 Apr 2014 16:00:34 +0000 (09:00 -0700)
commita984454098971739a1469d62cba02cda3600268b
tree60b69e4b189bd3a3d0c374c7eccc760648aac295
parent96a4f29350bf279d48bff70e21e3264cce216683
Avoid volatile 64-bit tearing on 32-bit architectures.

Change b122a4bbed34ab22b4c1541ee25e5cf22f12a926 removed inline assembly for
volatile 64bit read/writes. This isn't sound in the general case, reinstate.
Motivating change: https://android-review.googlesource.com/91250
Add optimizations for ARM in the case of LPAE support.

Change-Id: Ie86d8885d27c8f0da75f0c3bd50d4553a331282f
build/Android.common.mk
runtime/atomic.h