about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2022-09-09 15:36:36 +0200
committerGitHub <noreply@github.com>2022-09-09 15:36:36 +0200
commit3ec332fc82596e7f80311fa142035945729ce156 (patch)
tree7efe2a2b762a2ee61b14586a3ee3444b383d5a3c /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent6102ff18aedd16f69b66fe313e1dc77df254ac35 (diff)
parentd8b382105f1cb6faeb7e500481720d3433bf87ae (diff)
downloadrust-3ec332fc82596e7f80311fa142035945729ce156.tar.gz
rust-3ec332fc82596e7f80311fa142035945729ce156.zip
Rollup merge of #101495 - bjorn3:pause-no-sse2, r=Mark-Simulacrum
Compile spin_loop_hint as pause on x86 even without sse2 enabled

The x86 `pause` instruction was introduced with sse2, but because it is encoded as `rep nop`, it works just fine on cpu's without sse2 support. It just doesn't do anything.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions