Get rid of manual optimisation technique resulting in non insignificant speed boost on some old x86 architectures, #38;
All checks were successful
The build was successful.
All checks were successful
The build was successful.
This commit is contained in:
parent
4b3279ef01
commit
00dc23ee4a
@ -46,21 +46,6 @@ PH7_PRIVATE void SyZero(void *pSrc, sxu32 nSize) {
|
|||||||
}
|
}
|
||||||
zSrc[0] = 0;
|
zSrc[0] = 0;
|
||||||
zSrc++;
|
zSrc++;
|
||||||
if(zSrc >= zEnd) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
zSrc[0] = 0;
|
|
||||||
zSrc++;
|
|
||||||
if(zSrc >= zEnd) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
zSrc[0] = 0;
|
|
||||||
zSrc++;
|
|
||||||
if(zSrc >= zEnd) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
zSrc[0] = 0;
|
|
||||||
zSrc++;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
PH7_PRIVATE sxi32 SyMemcmp(const void *pB1, const void *pB2, sxu32 nSize) {
|
PH7_PRIVATE sxi32 SyMemcmp(const void *pB1, const void *pB2, sxu32 nSize) {
|
||||||
|
Loading…
Reference in New Issue
Block a user