Skip to content

Commit

Permalink
Try to fix mac i686?
Browse files Browse the repository at this point in the history
  • Loading branch information
huonw committed Aug 17, 2015
1 parent 6fd0253 commit 3d5cb38
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/test/run-pass/simd-intrinsic-generic-cast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@
extern crate test;

#[repr(simd)]
#[derive(PartialEq)]
#[derive(PartialEq, Debug)]
struct i32x4(i32, i32, i32, i32);
#[repr(simd)]
#[derive(PartialEq)]
#[derive(PartialEq, Debug)]
struct i8x4(i8, i8, i8, i8);

#[repr(simd)]
#[derive(PartialEq)]
#[derive(PartialEq, Debug)]
struct u32x4(u32, u32, u32, u32);
#[repr(simd)]
#[derive(PartialEq)]
#[derive(PartialEq, Debug)]
struct u8x4(u8, u8, u8, u8);

#[repr(simd)]
#[derive(PartialEq)]
#[derive(PartialEq, Debug)]
struct f32x4(f32, f32, f32, f32);

#[repr(simd)]
#[derive(PartialEq)]
#[derive(PartialEq, Debug)]
struct f64x4(f64, f64, f64, f64);


Expand All @@ -60,7 +60,8 @@ fn main() {
c as $to,
d as $to);
assert!(to == from,
"{} -> {}", stringify!($from), stringify!($to));
"{} -> {} ({:?} != {:?})", stringify!($from), stringify!($to),
from, to);
}}
}
macro_rules! tests {
Expand Down

0 comments on commit 3d5cb38

Please sign in to comment.