[clang] [Headers][X86] Add more descriptions to ia32intrin.h and immintrin.h (PR #77686)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 10 15:49:51 PST 2024


================
@@ -361,42 +425,146 @@ _wbinvd(void) {
   __builtin_ia32_wbinvd();
 }
 
+/// Rotates an 8-bit value to the left by the specified number of bits.
+///    This operation is undefined if the number of bits exceeds the size of
+///    the value.
+///
+/// \headerfile <x86intrin.h>
+///
+/// This intrinsic corresponds to the \c ROLB instruction.
----------------
topperc wrote:

In the Intel and AMD manuals I think the instruction is just called ROL. ROLB is the name in AT&T assembler syntax to distinquish the size.

https://github.com/llvm/llvm-project/pull/77686


More information about the cfe-commits mailing list