Lines Matching defs:ecx
28 static inline void __monitor(const void *eax, unsigned long ecx,
31 /* "monitor %eax, %ecx, %edx;" */
33 :: "a" (eax), "c" (ecx), "d"(edx));
36 static inline void __monitorx(const void *eax, unsigned long ecx,
39 /* "monitorx %eax, %ecx, %edx;" */
41 :: "a" (eax), "c" (ecx), "d"(edx));
44 static inline void __mwait(unsigned long eax, unsigned long ecx)
48 /* "mwait %eax, %ecx;" */
50 :: "a" (eax), "c" (ecx));
80 unsigned long ecx)
84 /* "mwaitx %eax, %ebx, %ecx;" */
86 :: "a" (eax), "b" (ebx), "c" (ecx));
89 static inline void __sti_mwait(unsigned long eax, unsigned long ecx)
92 /* "mwait %eax, %ecx;" */
94 :: "a" (eax), "c" (ecx));
107 static inline void mwait_idle_with_hints(unsigned long eax, unsigned long ecx)
118 __mwait(eax, ecx);
129 static inline void __tpause(u32 ecx, u32 edx, u32 eax)
131 /* "tpause %ecx, %edx, %eax;" */
133 asm volatile("tpause %%ecx\n"
135 : "c"(ecx), "d"(edx), "a"(eax));
139 : "c"(ecx), "d"(edx), "a"(eax));