3 ms·
Microsoft declined to extend its inline assembly syntax to support x64 or ARM-based processors. If you want to use a single specific instruction or two, it's u
by jcranmer 6y ago
Microsoft declined to extend its inline assembly syntax to support x64 or ARM-based processors.
If you want to use a single specific instruction or two, it's usually better to just use the compiler's intrinsics (Rust has already stabilized the x86 SSE and AVX intrinsics) than inline assembly. When you go to more complex assembly fragments, you tend to need more control over how the inline assembly fragment interacts with scheduling and the register allocator, and making that control work ergonomically is that much more challenging.
- deleted 6y ago[deleted]