You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/doc/unstable-book/src/library-features/asm.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -886,6 +886,6 @@ The compiler performs some additional checks on options:
886
886
- The set of memory locations that you may access is the intersection of those allowed by the `asm!` blocks you entered and exited.
887
887
- 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.
888
888
- On x86, inline assembly must not end with an instruction prefix (such as `LOCK`) that would apply to instructions generated by the compiler.
889
-
- The compiler is currently unable to detect this due to the way inline assembly is compiled.
889
+
- 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.
890
890
891
891
> **Note**: As a general rule, the flags covered by `preserves_flags` are those which are *not* preserved when performing a function call.
0 commit comments