Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
fdb6bda
Add note about x86 instruction prefixes in asm!
syvb Nov 3, 2021
3f496b5
Simplify js tester a bit
GuillaumeGomez Nov 3, 2021
9057936
Demote metadata load warning to "info".
ehuss Nov 3, 2021
754455e
Clean up some `-Z unstable-options` in tests.
ehuss Nov 4, 2021
dc2c260
Add more text and examples to `carrying_{add|mul}"
scottmcm Nov 4, 2021
056af9d
rustbot: Allow applying relnotes label
joshtriplett Nov 4, 2021
7e02934
rustbot: Allow applying needs-fcp label
joshtriplett Nov 4, 2021
773cc4f
Mention possible future rejections
syvb Nov 4, 2021
aa17e1c
Fix missing bottom border for headings in sidebar
GuillaumeGomez Nov 4, 2021
3ad6d12
Sort scraped call locations before serializing
willcrichton Nov 4, 2021
4846d10
Fix ICE when rustdoc is scraping examples inside of a proc macro
willcrichton Nov 4, 2021
50a5ebe
rustc_llvm: update PassWrapper for recent LLVM
durin42 Nov 4, 2021
e6368c3
Rollup merge of #90530 - GuillaumeGomez:simplify-js-tester, r=notriddle
matthiaskrgr Nov 4, 2021
1b3b0e4
Rollup merge of #90533 - Smittyvb:patch-1, r=joshtriplett
matthiaskrgr Nov 4, 2021
f2266bb
Rollup merge of #90544 - ehuss:demote-locator-warn, r=petrochenkov
matthiaskrgr Nov 4, 2021
91bface
Rollup merge of #90554 - ehuss:unstable-options-cleanup, r=joshtriplett
matthiaskrgr Nov 4, 2021
f8ffbf5
Rollup merge of #90556 - scottmcm:carrying_comments, r=joshtriplett
matthiaskrgr Nov 4, 2021
468cade
Rollup merge of #90563 - joshtriplett:rustbot-allow-labels, r=Mark-Si…
matthiaskrgr Nov 4, 2021
448d1b8
Rollup merge of #90571 - GuillaumeGomez:missing-bottom-border-sidebar…
matthiaskrgr Nov 4, 2021
5360e37
Rollup merge of #90583 - willcrichton:example-analyzer, r=jyn514
matthiaskrgr Nov 4, 2021
167777f
Rollup merge of #90589 - durin42:llvm-14-ASO-now-struct, r=nikic
matthiaskrgr Nov 4, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Mention possible future rejections
Co-authored-by: Josh Triplett <[email protected]>
  • Loading branch information
syvb and joshtriplett authored Nov 4, 2021
commit 773cc4f52b7f6bfa5b9ad0878583fb0ac9e9f2ea
2 changes: 1 addition & 1 deletion src/doc/unstable-book/src/library-features/asm.md
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,6 @@ The compiler performs some additional checks on options:
- The set of memory locations that you may access is the intersection of those allowed by the `asm!` blocks you entered and exited.
- You cannot assume that an `asm!` block will appear exactly once in the output binary. The compiler is allowed to instantiate multiple copies of the `asm!` block, for example when the function containing it is inlined in multiple places.
- On x86, inline assembly must not end with an instruction prefix (such as `LOCK`) that would apply to instructions generated by the compiler.
- The compiler is currently unable to detect this due to the way inline assembly is compiled.
- The compiler is currently unable to detect this due to the way inline assembly is compiled, but may catch and reject this in the future.

> **Note**: As a general rule, the flags covered by `preserves_flags` are those which are *not* preserved when performing a function call.