1 use crate::spec
::{StackProbeType, Target}
;
3 // See https://developer.android.com/ndk/guides/abis.html#x86
4 // for target ABI requirements.
6 pub fn target() -> Target
{
7 let mut base
= super::android_base
::opts();
9 base
.max_atomic_width
= Some(64);
11 // http://developer.android.com/ndk/guides/abis.html#x86
12 base
.cpu
= "pentiumpro".to_string();
13 base
.features
= "+mmx,+sse,+sse2,+sse3,+ssse3".to_string();
14 base
.stack_probes
= StackProbeType
::InlineOrCall { min_llvm_version_for_inline: (11, 0, 1) }
;
17 llvm_target
: "i686-linux-android".to_string(),
19 data_layout
: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
20 f64:32:64-f80:32-n8:16:32-S128"
22 arch
: "x86".to_string(),