stdarch
stdarch copied to clipboard
Can non-temporal loads use the LLVM intrinsic instead?
According to @Amanieu:
I checked and only non-temporal stores have special memory orderings on x86. x86 non-temporal loads work just like normal loads.
Using inline assembly produces suboptimal code, see https://godbolt.org/z/os8bG3Efr.
References:
- https://github.com/rust-lang/stdarch/pull/1929#issuecomment-3368661660
- https://github.com/rust-lang/stdarch/pull/1594#issuecomment-4641464733
@rustbot label +A-x86 +A-llvm