Auto merge of #33651 - Nercury:update-i686-android-target-to-match-abi, r=alexcrichton

Update i686-linux-android features to match android x86 ABI.

Based on [android's official x86 ABI info](http://developer.android.com/ndk/guides/abis.html#x86), the x86 baseline CPU can be safely updated to `pentiumpro`, with the addition of `MMX`, `SSE`, `SSE2`, `SSE3`, `SSSE3` features.

r? @alexcrichton
This commit is contained in:
bors 2016-05-16 22:35:00 -07:00
commit 5743564f2d

View file

@ -12,9 +12,13 @@ use target::Target;
pub fn target() -> Target {
let mut base = super::android_base::opts();
base.cpu = "pentium4".to_string();
base.max_atomic_width = 64;
// http://developer.android.com/ndk/guides/abis.html#x86
base.cpu = "pentiumpro".to_string();
base.features = "+mmx,+sse,+sse2,+sse3,+ssse3".to_string();
Target {
llvm_target: "i686-linux-android".to_string(),
target_endian: "little".to_string(),