Simply two cfg attributes

This commit is contained in:
Michael McConville
2015-12-23 22:31:53 -05:00
parent 4ce1dafd1d
commit d958cfc2de
+2 -2
View File
@@ -47,11 +47,11 @@ pub fn foo(x: f32x4) -> f32x4 {
fn integer(a: i32x4, b: i32x4) -> i32x4;
// vmaxq_s32
#[cfg(any(target_arch = "arm"))]
#[cfg(target_arch = "arm")]
#[link_name = "llvm.arm.neon.vmaxs.v4i32"]
fn integer(a: i32x4, b: i32x4) -> i32x4;
// vmaxq_s32
#[cfg(any(target_arch = "aarch64"))]
#[cfg(target_arch = "aarch64")]
#[link_name = "llvm.aarch64.neon.maxs.v4i32"]
fn integer(a: i32x4, b: i32x4) -> i32x4;