mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[common] no need to use AVX operands here either
This commit is contained in:
parent
a72ad4e46c
commit
9f8c20c3e7
@ -59,22 +59,22 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
// perform SIMD block copy
|
||||
"loop_%=: \n\t"
|
||||
"vmovaps 0x00(%[src]),%%xmm0 \n\t"
|
||||
"vmovaps 0x10(%[src]),%%xmm1 \n\t"
|
||||
"vmovaps 0x20(%[src]),%%xmm2 \n\t"
|
||||
"vmovaps 0x30(%[src]),%%xmm3 \n\t"
|
||||
"vmovaps 0x40(%[src]),%%xmm4 \n\t"
|
||||
"vmovaps 0x50(%[src]),%%xmm5 \n\t"
|
||||
"vmovaps 0x60(%[src]),%%xmm6 \n\t"
|
||||
"vmovaps 0x70(%[src]),%%xmm7 \n\t"
|
||||
"vmovntdq %%xmm0 ,0x00(%[dst]) \n\t"
|
||||
"vmovntdq %%xmm1 ,0x10(%[dst]) \n\t"
|
||||
"vmovntdq %%xmm2 ,0x20(%[dst]) \n\t"
|
||||
"vmovntdq %%xmm3 ,0x30(%[dst]) \n\t"
|
||||
"vmovntdq %%xmm4 ,0x40(%[dst]) \n\t"
|
||||
"vmovntdq %%xmm5 ,0x50(%[dst]) \n\t"
|
||||
"vmovntdq %%xmm6 ,0x60(%[dst]) \n\t"
|
||||
"vmovntdq %%xmm7 ,0x70(%[dst]) \n\t"
|
||||
"movaps 0x00(%[src]),%%xmm0 \n\t"
|
||||
"movaps 0x10(%[src]),%%xmm1 \n\t"
|
||||
"movaps 0x20(%[src]),%%xmm2 \n\t"
|
||||
"movaps 0x30(%[src]),%%xmm3 \n\t"
|
||||
"movaps 0x40(%[src]),%%xmm4 \n\t"
|
||||
"movaps 0x50(%[src]),%%xmm5 \n\t"
|
||||
"movaps 0x60(%[src]),%%xmm6 \n\t"
|
||||
"movaps 0x70(%[src]),%%xmm7 \n\t"
|
||||
"movntdq %%xmm0 ,0x00(%[dst]) \n\t"
|
||||
"movntdq %%xmm1 ,0x10(%[dst]) \n\t"
|
||||
"movntdq %%xmm2 ,0x20(%[dst]) \n\t"
|
||||
"movntdq %%xmm3 ,0x30(%[dst]) \n\t"
|
||||
"movntdq %%xmm4 ,0x40(%[dst]) \n\t"
|
||||
"movntdq %%xmm5 ,0x50(%[dst]) \n\t"
|
||||
"movntdq %%xmm6 ,0x60(%[dst]) \n\t"
|
||||
"movntdq %%xmm7 ,0x70(%[dst]) \n\t"
|
||||
"add $0x80,%[dst] \n\t"
|
||||
"add $0x80,%[src] \n\t"
|
||||
"cmp %[dst],%[end] \n\t"
|
||||
@ -94,20 +94,20 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
"ret \n\t"
|
||||
|
||||
"BlockTable_%=:\n\t"
|
||||
"vmovaps 0x60(%[src]),%%xmm6 \n\t"
|
||||
"vmovntdq %%xmm6 ,0x60(%[dst]) \n\t"
|
||||
"vmovaps 0x50(%[src]),%%xmm5 \n\t"
|
||||
"vmovntdq %%xmm5 ,0x50(%[dst]) \n\t"
|
||||
"vmovaps 0x40(%[src]),%%xmm4 \n\t"
|
||||
"vmovntdq %%xmm4 ,0x40(%[dst]) \n\t"
|
||||
"vmovaps 0x30(%[src]),%%xmm3 \n\t"
|
||||
"vmovntdq %%xmm3 ,0x30(%[dst]) \n\t"
|
||||
"vmovaps 0x20(%[src]),%%xmm2 \n\t"
|
||||
"vmovntdq %%xmm2 ,0x20(%[dst]) \n\t"
|
||||
"vmovaps 0x10(%[src]),%%xmm1 \n\t"
|
||||
"vmovntdq %%xmm1 ,0x10(%[dst]) \n\t"
|
||||
"vmovaps 0x00(%[src]),%%xmm0 \n\t"
|
||||
"vmovntdq %%xmm0 ,0x00(%[dst]) \n\t"
|
||||
"movaps 0x60(%[src]),%%xmm6 \n\t"
|
||||
"movntdq %%xmm6 ,0x60(%[dst]) \n\t"
|
||||
"movaps 0x50(%[src]),%%xmm5 \n\t"
|
||||
"movntdq %%xmm5 ,0x50(%[dst]) \n\t"
|
||||
"movaps 0x40(%[src]),%%xmm4 \n\t"
|
||||
"movntdq %%xmm4 ,0x40(%[dst]) \n\t"
|
||||
"movaps 0x30(%[src]),%%xmm3 \n\t"
|
||||
"movntdq %%xmm3 ,0x30(%[dst]) \n\t"
|
||||
"movaps 0x20(%[src]),%%xmm2 \n\t"
|
||||
"movntdq %%xmm2 ,0x20(%[dst]) \n\t"
|
||||
"movaps 0x10(%[src]),%%xmm1 \n\t"
|
||||
"movntdq %%xmm1 ,0x10(%[dst]) \n\t"
|
||||
"movaps 0x00(%[src]),%%xmm0 \n\t"
|
||||
"movntdq %%xmm0 ,0x00(%[dst]) \n\t"
|
||||
"nop\n\t"
|
||||
"nop\n\t"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user