eyra 0.22.0

Rust programs written entirely in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![feature(portable_simd)]

extern crate eyra;

//use core::arch::asm;

fn main() {
    // TODO: Reenable this when the crate compiles on nightly.
    /*
    use core_simd::simd::*;
    let mut a = f32x4::splat(2.0);
    unsafe { asm!("# {}", in(reg) &mut a) };
    assert_eq!(a, f32x4::splat(2.0));
    assert_eq!(&a as *const _ as usize & 0xf, 0);
    */
}