Browse Source

Get rid of manual optimisation technique resulting in non insignificant speed boost on some old x86 architectures, #38;

release/v0.1
Rafal Kupiec 2 years ago
parent
commit
00dc23ee4a
1 changed files with 0 additions and 15 deletions
  1. +0
    -15
      engine/lib/memory.c

+ 0
- 15
engine/lib/memory.c View File

@ -46,21 +46,6 @@ PH7_PRIVATE void SyZero(void *pSrc, sxu32 nSize) {
}
zSrc[0] = 0;
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) {

Loading…
Cancel
Save