Closed
Description
thread 'rustc' panicked at 'tried to get overflow intrinsic for non-int type', C
:\bot\slave\nightly-dist-rustc-win-64\build\src\librustc_trans\trans\expr.rs:235
2
Here is the code
#![feature(core)]
use std::simd::i16x8;
fn main() {
// create simd vectors
let x = i16x8(1, 2, 3, 4,1, 2, 3, 4);
let y = i16x8(4, 3, 2, 1,1, 2, 3, 4);
// simd product
let z = x * y;
// like any struct, the simd vector can be destructured using `let`
let i16x8(a, b, c, d,e,f,g,h) = z;
println!("{:?}", (a, b, c, d,e,f,g,h));
}