4 ms·
https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_load_ps&expand=3330 https://software.intel.com/sites/landingpage/IntrinsicsGuide... Not
by __s 7y ago
https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_load_ps&expand=3330 https://software.intel.com/sites/landingpage/IntrinsicsGuide...
Not all intrinsics are memory safe
- glangdale 7y agoI get that; obviously if you use an intrinsic that reads from memory it's a raw load. However, surely there's a great big pile of them that are really just different ways of doing things to a (slightly bigger than usual) Plain Old Data structure?
- nicoburns 7y agoI think it's partly architecture compatibility. The SIMD functions exposed by Rust at the moment are all CPU-architecture-specific, but Rust code is generally expected to work seamlessly cross-platform. I believe there are plans to expose higher-level functionality as a safe interface at a later date (the API design work just hasn't been done yet). For now you can get this functionality as a 3rd-party crate https://github.com/AdamNiederer/faster https://github.com/AdamNiederer/faster