about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2022-09-06 20:08:04 +0200
committerGitHub <noreply@github.com>2022-09-06 20:08:04 +0200
commitd8b382105f1cb6faeb7e500481720d3433bf87ae (patch)
tree24bf97aa1864d89b392b3e8b4596823c781a9f7e /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent3c7278846102bb829c9a789e91bc43f0ed612943 (diff)
downloadrust-d8b382105f1cb6faeb7e500481720d3433bf87ae.tar.gz
rust-d8b382105f1cb6faeb7e500481720d3433bf87ae.zip
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