1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
#![unstable(feature = "stdsimd", issue = "27731")] #![feature( const_fn, const_fn_union, custom_inner_attributes, link_llvm_intrinsics, platform_intrinsics, repr_simd, simd_ffi, asm, proc_macro_hygiene, stmt_expr_attributes, core_intrinsics, no_core, rustc_attrs, stdsimd, staged_api, doc_cfg, mmx_target_feature, tbm_target_feature, sse4a_target_feature, arm_target_feature, aarch64_target_feature, cmpxchg16b_target_feature, avx512_target_feature, mips_target_feature, powerpc_target_feature, wasm_target_feature, abi_unadjusted, adx_target_feature, rtm_target_feature, f16c_target_feature, external_doc )] #[cfg(target_arch = "aarch64")] pub mod aarch64; #[cfg(any(target_arch = "arm", target_arch = "aarch64"))] pub mod arm; #[cfg(any(target_arch = "arm", target_arch = "aarch64"))] mod cmparm; mod simd_llvm; pub trait NeonInit { type From; type Element; fn new(input: Self::From) -> Self; } #[cfg(test)] mod tests { #[test] fn it_works() { assert_eq!(2 + 2, 4); } }