Lines Matching refs:data
18 static inline void _kvm_read_sse_reg(int reg, sse128_t *data) in _kvm_read_sse_reg() argument
21 case 0: asm("movdqa %%xmm0, %0" : "=m"(*data)); break; in _kvm_read_sse_reg()
22 case 1: asm("movdqa %%xmm1, %0" : "=m"(*data)); break; in _kvm_read_sse_reg()
23 case 2: asm("movdqa %%xmm2, %0" : "=m"(*data)); break; in _kvm_read_sse_reg()
24 case 3: asm("movdqa %%xmm3, %0" : "=m"(*data)); break; in _kvm_read_sse_reg()
25 case 4: asm("movdqa %%xmm4, %0" : "=m"(*data)); break; in _kvm_read_sse_reg()
26 case 5: asm("movdqa %%xmm5, %0" : "=m"(*data)); break; in _kvm_read_sse_reg()
27 case 6: asm("movdqa %%xmm6, %0" : "=m"(*data)); break; in _kvm_read_sse_reg()
28 case 7: asm("movdqa %%xmm7, %0" : "=m"(*data)); break; in _kvm_read_sse_reg()
30 case 8: asm("movdqa %%xmm8, %0" : "=m"(*data)); break; in _kvm_read_sse_reg()
31 case 9: asm("movdqa %%xmm9, %0" : "=m"(*data)); break; in _kvm_read_sse_reg()
32 case 10: asm("movdqa %%xmm10, %0" : "=m"(*data)); break; in _kvm_read_sse_reg()
33 case 11: asm("movdqa %%xmm11, %0" : "=m"(*data)); break; in _kvm_read_sse_reg()
34 case 12: asm("movdqa %%xmm12, %0" : "=m"(*data)); break; in _kvm_read_sse_reg()
35 case 13: asm("movdqa %%xmm13, %0" : "=m"(*data)); break; in _kvm_read_sse_reg()
36 case 14: asm("movdqa %%xmm14, %0" : "=m"(*data)); break; in _kvm_read_sse_reg()
37 case 15: asm("movdqa %%xmm15, %0" : "=m"(*data)); break; in _kvm_read_sse_reg()
43 static inline void _kvm_write_sse_reg(int reg, const sse128_t *data) in _kvm_write_sse_reg() argument
46 case 0: asm("movdqa %0, %%xmm0" : : "m"(*data)); break; in _kvm_write_sse_reg()
47 case 1: asm("movdqa %0, %%xmm1" : : "m"(*data)); break; in _kvm_write_sse_reg()
48 case 2: asm("movdqa %0, %%xmm2" : : "m"(*data)); break; in _kvm_write_sse_reg()
49 case 3: asm("movdqa %0, %%xmm3" : : "m"(*data)); break; in _kvm_write_sse_reg()
50 case 4: asm("movdqa %0, %%xmm4" : : "m"(*data)); break; in _kvm_write_sse_reg()
51 case 5: asm("movdqa %0, %%xmm5" : : "m"(*data)); break; in _kvm_write_sse_reg()
52 case 6: asm("movdqa %0, %%xmm6" : : "m"(*data)); break; in _kvm_write_sse_reg()
53 case 7: asm("movdqa %0, %%xmm7" : : "m"(*data)); break; in _kvm_write_sse_reg()
55 case 8: asm("movdqa %0, %%xmm8" : : "m"(*data)); break; in _kvm_write_sse_reg()
56 case 9: asm("movdqa %0, %%xmm9" : : "m"(*data)); break; in _kvm_write_sse_reg()
57 case 10: asm("movdqa %0, %%xmm10" : : "m"(*data)); break; in _kvm_write_sse_reg()
58 case 11: asm("movdqa %0, %%xmm11" : : "m"(*data)); break; in _kvm_write_sse_reg()
59 case 12: asm("movdqa %0, %%xmm12" : : "m"(*data)); break; in _kvm_write_sse_reg()
60 case 13: asm("movdqa %0, %%xmm13" : : "m"(*data)); break; in _kvm_write_sse_reg()
61 case 14: asm("movdqa %0, %%xmm14" : : "m"(*data)); break; in _kvm_write_sse_reg()
62 case 15: asm("movdqa %0, %%xmm15" : : "m"(*data)); break; in _kvm_write_sse_reg()
68 static inline void _kvm_read_mmx_reg(int reg, u64 *data) in _kvm_read_mmx_reg() argument
71 case 0: asm("movq %%mm0, %0" : "=m"(*data)); break; in _kvm_read_mmx_reg()
72 case 1: asm("movq %%mm1, %0" : "=m"(*data)); break; in _kvm_read_mmx_reg()
73 case 2: asm("movq %%mm2, %0" : "=m"(*data)); break; in _kvm_read_mmx_reg()
74 case 3: asm("movq %%mm3, %0" : "=m"(*data)); break; in _kvm_read_mmx_reg()
75 case 4: asm("movq %%mm4, %0" : "=m"(*data)); break; in _kvm_read_mmx_reg()
76 case 5: asm("movq %%mm5, %0" : "=m"(*data)); break; in _kvm_read_mmx_reg()
77 case 6: asm("movq %%mm6, %0" : "=m"(*data)); break; in _kvm_read_mmx_reg()
78 case 7: asm("movq %%mm7, %0" : "=m"(*data)); break; in _kvm_read_mmx_reg()
83 static inline void _kvm_write_mmx_reg(int reg, const u64 *data) in _kvm_write_mmx_reg() argument
86 case 0: asm("movq %0, %%mm0" : : "m"(*data)); break; in _kvm_write_mmx_reg()
87 case 1: asm("movq %0, %%mm1" : : "m"(*data)); break; in _kvm_write_mmx_reg()
88 case 2: asm("movq %0, %%mm2" : : "m"(*data)); break; in _kvm_write_mmx_reg()
89 case 3: asm("movq %0, %%mm3" : : "m"(*data)); break; in _kvm_write_mmx_reg()
90 case 4: asm("movq %0, %%mm4" : : "m"(*data)); break; in _kvm_write_mmx_reg()
91 case 5: asm("movq %0, %%mm5" : : "m"(*data)); break; in _kvm_write_mmx_reg()
92 case 6: asm("movq %0, %%mm6" : : "m"(*data)); break; in _kvm_write_mmx_reg()
93 case 7: asm("movq %0, %%mm7" : : "m"(*data)); break; in _kvm_write_mmx_reg()
112 static inline void kvm_read_sse_reg(int reg, sse128_t *data) in kvm_read_sse_reg() argument
115 _kvm_read_sse_reg(reg, data); in kvm_read_sse_reg()
119 static inline void kvm_write_sse_reg(int reg, const sse128_t *data) in kvm_write_sse_reg() argument
122 _kvm_write_sse_reg(reg, data); in kvm_write_sse_reg()
126 static inline void kvm_read_mmx_reg(int reg, u64 *data) in kvm_read_mmx_reg() argument
129 _kvm_read_mmx_reg(reg, data); in kvm_read_mmx_reg()
133 static inline void kvm_write_mmx_reg(int reg, const u64 *data) in kvm_write_mmx_reg() argument
136 _kvm_write_mmx_reg(reg, data); in kvm_write_mmx_reg()