mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
some code cleanups
This commit is contained in:
parent
67555fba91
commit
8eecc1f777
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ inline static void *memset(void* dest, int val, size_t count)
|
|||
"andq $7, %%rcx\n\t"
|
||||
"rep stosb\n\t"
|
||||
: "=&c"(i), "=&D"(j)
|
||||
: "a"((size_t)val), "1"(dest), "0"(count/8), "g"(count): "memory","cc");
|
||||
: "a"(0x00ULL), "1"(dest), "0"(count/8), "g"(count): "memory","cc");
|
||||
}
|
||||
|
||||
return dest;
|
||||
|
|
Loading…
Add table
Reference in a new issue