Author: Paul Robinson
Date: 2023-04-19T09:57:33-07:00
New Revision: 12426441ea2a9fdfcf6121a0061fa91d6112781d

URL: 
https://github.com/llvm/llvm-project/commit/12426441ea2a9fdfcf6121a0061fa91d6112781d
DIFF: 
https://github.com/llvm/llvm-project/commit/12426441ea2a9fdfcf6121a0061fa91d6112781d.diff

LOG: [Header][doc] Tweak wording for MWAIT[X] intrinsics

Added: 
    

Modified: 
    clang/lib/Headers/mwaitxintrin.h
    clang/lib/Headers/pmmintrin.h

Removed: 
    


################################################################################
diff  --git a/clang/lib/Headers/mwaitxintrin.h 
b/clang/lib/Headers/mwaitxintrin.h
index 4d51892ec234a..65f427105b41b 100644
--- a/clang/lib/Headers/mwaitxintrin.h
+++ b/clang/lib/Headers/mwaitxintrin.h
@@ -40,7 +40,7 @@ _mm_monitorx(void * __p, unsigned __extensions, unsigned 
__hints)
 
 /// Used with the \c MONITORX instruction to wait while the processor is in
 ///    the monitor event pending state. Data stored in the monitored address
-///    range causes the processor to exit the pending state.
+///    range, or an interrupt, causes the processor to exit the pending state.
 ///
 /// \headerfile <x86intrin.h>
 ///

diff  --git a/clang/lib/Headers/pmmintrin.h b/clang/lib/Headers/pmmintrin.h
index ce06695558e61..203c0aa0f8c67 100644
--- a/clang/lib/Headers/pmmintrin.h
+++ b/clang/lib/Headers/pmmintrin.h
@@ -275,7 +275,7 @@ _mm_monitor(void const *__p, unsigned __extensions, 
unsigned __hints)
 
 /// Used with the \c MONITOR instruction to wait while the processor is in
 ///    the monitor event pending state. Data stored in the monitored address
-///    range causes the processor to exit the pending state.
+///    range, or an interrupt, causes the processor to exit the pending state.
 ///
 /// The \c MWAIT instruction can be used in kernel mode, and in other modes if
 /// MSR <c> C001_0015h[MonMwaitUserEn] </c> is set.


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to