Searched hist:ba96f37758412151885d50838d2031623fc2b918 (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/libkern/ |
H A D | memcmp.c | diff ba96f37758412151885d50838d2031623fc2b918 Sat Jun 02 20:03:35 CEST 2018 Mateusz Guzik <mjg@FreeBSD.org> Use __builtin for various mem* and b* (e.g. bzero) routines.
Some of the routines were using artificially limited builtin already, drop the explicit limit.
The use of builtins allows quite often allows the compiler to elide the call or most zeroing to begin with. For instance, if the target object is 32 bytes in size and gets zeroed + has 16 bytes initialized, the compiler can just add code to zero out the rest.
Note not all the primites have asm variants and some of the existing ones are not optimized. Maintaines are strongly encourage to take a look (regardless of this change).
|
H A D | memset.c | diff ba96f37758412151885d50838d2031623fc2b918 Sat Jun 02 20:03:35 CEST 2018 Mateusz Guzik <mjg@FreeBSD.org> Use __builtin for various mem* and b* (e.g. bzero) routines.
Some of the routines were using artificially limited builtin already, drop the explicit limit.
The use of builtins allows quite often allows the compiler to elide the call or most zeroing to begin with. For instance, if the target object is 32 bytes in size and gets zeroed + has 16 bytes initialized, the compiler can just add code to zero out the rest.
Note not all the primites have asm variants and some of the existing ones are not optimized. Maintaines are strongly encourage to take a look (regardless of this change).
|
/freebsd/sys/sys/ |
H A D | libkern.h | diff ba96f37758412151885d50838d2031623fc2b918 Sat Jun 02 20:03:35 CEST 2018 Mateusz Guzik <mjg@FreeBSD.org> Use __builtin for various mem* and b* (e.g. bzero) routines.
Some of the routines were using artificially limited builtin already, drop the explicit limit.
The use of builtins allows quite often allows the compiler to elide the call or most zeroing to begin with. For instance, if the target object is 32 bytes in size and gets zeroed + has 16 bytes initialized, the compiler can just add code to zero out the rest.
Note not all the primites have asm variants and some of the existing ones are not optimized. Maintaines are strongly encourage to take a look (regardless of this change).
|
H A D | systm.h | diff ba96f37758412151885d50838d2031623fc2b918 Sat Jun 02 20:03:35 CEST 2018 Mateusz Guzik <mjg@FreeBSD.org> Use __builtin for various mem* and b* (e.g. bzero) routines.
Some of the routines were using artificially limited builtin already, drop the explicit limit.
The use of builtins allows quite often allows the compiler to elide the call or most zeroing to begin with. For instance, if the target object is 32 bytes in size and gets zeroed + has 16 bytes initialized, the compiler can just add code to zero out the rest.
Note not all the primites have asm variants and some of the existing ones are not optimized. Maintaines are strongly encourage to take a look (regardless of this change).
|