about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-01-15 16:54:11 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-02-03 12:04:30 -0800
commitb5f19795adda1bb2daca891e97bca8c7638916e2 (patch)
tree5cb21f40148dd0b69ed4831fca41e7fdc2007a10 /src/rustllvm/RustWrapper.cpp
parentb00147a99b289b11a210d9fc841b8aca3e59ce0e (diff)
downloadrust-b5f19795adda1bb2daca891e97bca8c7638916e2.tar.gz
rust-b5f19795adda1bb2daca891e97bca8c7638916e2.zip
Enable the +v7 feature on Android by default
With the recently added double word CAS functionality on 32-bit ARM (enabled via
a 64-bit atomic instruction in LLVM IR), without some extra features enabled
LLVM lowers code to function calls which emulate atomic instructions. With the
v7 feature enabled, proper 64-bit CAS instructions are used on 32-bit arm.

I've been told that v7 for arm is what we should have been doing anyway. This is
overridable by providing some other non-empty feature string.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions