Lines Matching refs:__asm
26 __asm __volatile("bsfq %1,%0" : "=r" (result) : "rm" (mask)); in bsfq()
35 __asm __volatile("bsrl %1,%0" : "=r" (result) : "rm" (mask)); in bsrl()
44 __asm __volatile("bsrq %1,%0" : "=r" (result) : "rm" (mask)); in bsrq()
51 __asm __volatile("clts"); in clts()
57 __asm __volatile("cpuid" in do_cpuid()
65 __asm __volatile("cpuid" in cpuid_count()
73 __asm __volatile("cli"); in disable_intr()
79 __asm __volatile("sti"); in enable_intr()
111 __asm __volatile("pushfq; popq %0" : "=r" (rf)); in read_rflags()
123 __asm __volatile("rdmsr" : "=a" (low), "=d" (high) : "c" (msr)); in rdmsr()
134 __asm __volatile("wrmsr" : : "a" (low), "d" (high), "c" (msr)); in wrmsr()
140 __asm __volatile("movq %0,%%cr0" : : "r" (data)); in load_cr0()
148 __asm __volatile("movq %%cr0,%0" : "=r" (data)); in rcr0()
157 __asm __volatile("movq %%cr3,%0" : "=r" (data)); in rcr3()
164 __asm __volatile("movq %0,%%cr4" : : "r" (data)); in load_cr4()
172 __asm __volatile("movq %%cr4,%0" : "=r" (data)); in rcr4()
181 __asm __volatile("xgetbv" : "=a" (low), "=d" (high) : "c" (reg)); in rxcr()
192 __asm __volatile("xsetbv" : : "c" (reg), "a" (low), "d" (high)); in load_xcr()
198 __asm __volatile("pushq %0; popfq" : : "r" (rf)); in write_rflags()
205 __asm __volatile("movq %%dr0,%0" : "=r" (data)); in rdr0()
212 __asm __volatile("movq %0,%%dr0" : : "r" (dr0)); in load_dr0()
219 __asm __volatile("movq %%dr1,%0" : "=r" (data)); in rdr1()
226 __asm __volatile("movq %0,%%dr1" : : "r" (dr1)); in load_dr1()
233 __asm __volatile("movq %%dr2,%0" : "=r" (data)); in rdr2()
240 __asm __volatile("movq %0,%%dr2" : : "r" (dr2)); in load_dr2()
247 __asm __volatile("movq %%dr3,%0" : "=r" (data)); in rdr3()
254 __asm __volatile("movq %0,%%dr3" : : "r" (dr3)); in load_dr3()
261 __asm __volatile("movq %%dr6,%0" : "=r" (data)); in rdr6()
268 __asm __volatile("movq %0,%%dr6" : : "r" (dr6)); in load_dr6()
275 __asm __volatile("movq %%dr7,%0" : "=r" (data)); in rdr7()
282 __asm __volatile("movq %0,%%dr7" : : "r" (dr7)); in load_dr7()