mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Core: Fix in svo_memset form unaligned CPUs
git-svn-id: svn://ultimatepp.org/upp/trunk@14489 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
c9691e8ad0
commit
31845bb1db
1 changed files with 1 additions and 1 deletions
|
|
@ -229,7 +229,7 @@ void svo_memset(void *p, byte val, size_t len)
|
|||
return;
|
||||
}
|
||||
byte *t = (byte *)p;
|
||||
while(len & 16) {
|
||||
if(len & 16) {
|
||||
t[0] = val; t[1] = val; t[2] = val; t[3] = val;
|
||||
t[4] = val; t[5] = val; t[6] = val; t[7] = val;
|
||||
t[8] = val; t[9] = val; t[10] = val; t[11] = val;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue