================
@@ -2250,6 +2250,48 @@ Query for this feature with
``__has_extension(gnu_asm_constexpr_strings)``.
asm((std::string_view("nop")) ::: (std::string_view("memory")));
}
+Hard Register Operands for ASM Constraints
+==========================================
+
+Clang supports the ability to specify specific hardware registers in inline
+assembly constraints via the use of curly braces ``{}``.
----------------
efriedma-quic wrote:
Maybe should explicitly say that the register names are the same names used in
the clobber list.
https://github.com/llvm/llvm-project/pull/85846
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits