mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Use an implicit clobber list for asm snipsets
There is no speed gain in a custom clobber list.
This commit is contained in:
parent
54df8acd06
commit
763dccaaed
3 changed files with 36 additions and 126 deletions
12
raid/x86z.c
12
raid/x86z.c
|
|
@ -90,9 +90,7 @@ void raid_genz_sse2(int nd, size_t size, void **vv)
|
|||
asm volatile ("movntdq %%xmm2,%0" : "=m" (r[i]));
|
||||
}
|
||||
|
||||
raid_asm_clobber_xmm8();
|
||||
|
||||
raid_asm_end();
|
||||
raid_asm_sse_end();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
@ -174,9 +172,7 @@ void raid_genz_sse2ext(int nd, size_t size, void **vv)
|
|||
asm volatile ("movntdq %%xmm10,%0" : "=m" (r[i + 16]));
|
||||
}
|
||||
|
||||
raid_asm_clobber_xmm16();
|
||||
|
||||
raid_asm_end();
|
||||
raid_asm_sse_end();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
@ -253,9 +249,7 @@ void raid_genz_avx2ext(int nd, size_t size, void **vv)
|
|||
asm volatile ("vmovntdq %%ymm10,%0" : "=m" (r[i + 32]));
|
||||
}
|
||||
|
||||
raid_asm_clobber_ymm16();
|
||||
|
||||
raid_asm_end();
|
||||
raid_asm_avx_end();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue