diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2022-09-06 20:08:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-06 20:08:04 +0200 |
| commit | d8b382105f1cb6faeb7e500481720d3433bf87ae (patch) | |
| tree | 24bf97aa1864d89b392b3e8b4596823c781a9f7e /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 3c7278846102bb829c9a789e91bc43f0ed612943 (diff) | |
| download | rust-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
