Lines Matching refs:mem
50 void pp_Mem ( char* who, Mem* mem ) { in pp_Mem() argument
55 pp_UWord128( &mem->dqw[i] ); in pp_Mem()
78 void setup_regs_mem ( XMMRegs* regs, Mem* mem ) { in setup_regs_mem() argument
87 mem->dqw[i].b[j] = 0x52 + (ctr++ % 13); in setup_regs_mem()
91 void before_test ( XMMRegs* regs, Mem* mem ) { in before_test() argument
92 setup_regs_mem( regs, mem ); in before_test()
95 void after_test ( char* who, XMMRegs* regs, Mem* mem ) { in after_test() argument
101 xor_Mem( mem, &mdiff ); in after_test()
151 before_test( regs, mem );
159 : /*out*/ : /*in*/ "r"(regs), "r"( -x + (char*)&mem->dqw[2] )
163 after_test( "", regs, mem );
170 Mem* mem; in main() local
172 mem = memalign16(sizeof(Mem) + 16); in main()
176 before_test( regs, mem ); in main()
184 : /*out*/ : /*in*/ "r"(regs), "r"( -0 + (char*)&mem->dqw[2] ) in main()
188 after_test( "rex.WB addpd 0x0(%r8),%xmm1", regs, mem ); in main()
193 before_test( regs, mem ); in main()
201 : /*out*/ : /*in*/ "r"(regs), "r"( -0 + (char*)&mem->dqw[2] ) in main()
205 after_test( "rex.W addsd (%rdi),%xmm4", regs, mem ); in main()
210 before_test( regs, mem ); in main()
218 : /*out*/ : /*in*/ "r"(regs), "r"( -0 + (char*)&mem->dqw[2] ) in main()
222 after_test( "rex.W movapd (%rdx),%xmm1", regs, mem ); in main()
227 before_test( regs, mem ); in main()
235 : /*out*/ : /*in*/ "r"(regs), "r"( -0 + (char*)&mem->dqw[2] ) in main()
239 after_test( "rex.W movapd %xmm1,(%rdx)", regs, mem ); in main()
244 before_test( regs, mem ); in main()
252 : /*out*/ : /*in*/ "r"(regs), "r"( -0x30 + (char*)&mem->dqw[2] ) in main()
256 after_test( "movaps 0x30(%rdx),%xmm0", regs, mem ); in main()
261 before_test( regs, mem ); in main()
269 : /*out*/ : /*in*/ "r"(regs), "r"( -0 + (char*)&mem->dqw[2] ) in main()
273 after_test( "rex.WB movaps %xmm1,0x0(%r8)", regs, mem ); in main()
278 before_test( regs, mem ); in main()
286 : /*out*/ : /*in*/ "r"(regs), "r"( -0 + (char*)&mem->dqw[2] ) in main()
290 after_test( "movddup (%rdx),%xmm5", regs, mem ); in main()
295 before_test( regs, mem ); in main()
303 : /*out*/ : /*in*/ "r"(regs), "r"( -0 + (char*)&mem->dqw[2] ) in main()
307 after_test( "rex.W movhpd (%rsi),%xmm0", regs, mem ); in main()
312 before_test( regs, mem ); in main()
320 : /*out*/ : /*in*/ "r"(regs), "r"( -0 + (char*)&mem->dqw[2] ) in main()
324 after_test( "rex.W movhpd %xmm0,(%rdi)", regs, mem ); in main()
329 before_test( regs, mem ); in main()
337 : /*out*/ : /*in*/ "r"(regs), "r"( -0 + (char*)&mem->dqw[2] ) in main()
341 after_test( "rex.W movhps (%rsi),%xmm6", regs, mem ); in main()
345 before_test( regs, mem ); in main()
353 : /*out*/ : /*in*/ "r"(regs), "r"( 0 + (char*)&mem->dqw[2] ) in main()
357 after_test( "rex.WB movhps %xmm0,(%r11)", regs, mem ); in main()
362 before_test( regs, mem ); in main()
370 : /*out*/ : /*in*/ "r"(regs), "r"( -0 + (char*)&mem->dqw[2] ) in main()
374 after_test( "rex.W movlpd 0x0(%rdx),%xmm1", regs, mem ); in main()
379 before_test( regs, mem ); in main()
387 : /*out*/ : /*in*/ "r"(regs), "r"( -0 + (char*)&mem->dqw[2] ) in main()
391 after_test( "rex.W movlpd %xmm6,(%rax)", regs, mem ); in main()
396 before_test( regs, mem ); in main()
404 : /*out*/ : /*in*/ "r"(regs), "r"( -0 + (char*)&mem->dqw[2] ) in main()
408 after_test( "rex.W movlps (%rdi),%xmm0", regs, mem ); in main()
413 before_test( regs, mem ); in main()
421 : /*out*/ : /*in*/ "r"(regs), "r"( -0 + (char*)&mem->dqw[2] ) in main()
425 after_test( "rex.WB movlps %xmm0,(%r10)", regs, mem ); in main()
430 before_test( regs, mem ); in main()
438 : /*out*/ : /*in*/ "r"(regs), "r"( -0 + (char*)&mem->dqw[2] ) in main()
442 after_test( "rex.W movq (%rax),%xmm0", regs, mem ); in main()
447 before_test( regs, mem ); in main()
455 : /*out*/ : /*in*/ "r"(regs), "r"( -0 + (char*)&mem->dqw[2] ) in main()
459 after_test( "rex.W movq %xmm0,(%rax)", regs, mem ); in main()
464 before_test( regs, mem ); in main()
472 : /*out*/ : /*in*/ "r"(regs), "r"( -0 + (char*)&mem->dqw[2] ) in main()
476 after_test( "rex.W movsd (%rcx),%xmm2", regs, mem ); in main()
481 before_test( regs, mem ); in main()
489 : /*out*/ : /*in*/ "r"(regs), "r"( -0 + (char*)&mem->dqw[2] ) in main()
493 after_test( "rex.W movsd %xmm7,(%rdi)", regs, mem ); in main()
498 before_test( regs, mem ); in main()
506 : /*out*/ : /*in*/ "r"(regs), "r"( -0x4 + (char*)&mem->dqw[2] ) in main()
510 after_test( "rex.W movss 0x4(%rsi),%xmm3", regs, mem ); in main()
515 before_test( regs, mem ); in main()
523 : /*out*/ : /*in*/ "r"(regs), "r"( -0 + (char*)&mem->dqw[2] ) in main()
527 after_test( "rex.W movupd %xmm0,(%rdi)", regs, mem ); in main()
532 before_test( regs, mem ); in main()
540 : /*out*/ : /*in*/ "r"(regs), "r"( -0 + (char*)&mem->dqw[2] ) in main()
544 after_test( "rex.W mulpd 0x0(%rcx),%xmm4", regs, mem ); in main()
549 before_test( regs, mem ); in main()
557 : /*out*/ : /*in*/ "r"(regs), "r"( -0 + (char*)&mem->dqw[2] ) in main()
561 after_test( "rex.W mulsd (%rdi),%xmm3", regs, mem ); in main()
566 before_test( regs, mem ); in main()
575 : /*out*/ : /*in*/ "r"(regs), "r"( - -0x60 + (char*)&mem->dqw[2] ) in main()
579 after_test( "rex.WB prefetcht0 -0x60(%r10,%rsi,8)", regs, mem ); in main()
584 before_test( regs, mem ); in main()
592 : /*out*/ : /*in*/ "r"(regs), "r"( - -0x8 + (char*)&mem->dqw[2] ) in main()
596 after_test( "rex.WB subsd -0x8(%r13),%xmm1", regs, mem ); in main()
601 before_test( regs, mem ); in main()
609 : /*out*/ : /*in*/ "r"(regs), "r"( -0 + (char*)&mem->dqw[2] ) in main()
613 after_test( "rex.W cvtps2pd (%rdi),%xmm0", regs, mem ); in main()
617 free(mem); in main()