diff options
author | LEROY Christophe <christophe.leroy@c-s.fr> | 2015-05-19 12:07:50 +0200 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2015-08-07 22:59:21 -0500 |
commit | 5b2a32e806342f237f68435a50e1071f7f32b5c5 (patch) | |
tree | ab35d6e9fe821c2cdd90d8bdbfce68cddae8c5a8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | df087e450d7ddc0b15bd8824206d964720b4f5e4 (diff) |
powerpc/32: memset(0): use cacheable_memzero
cacheable_memzero uses dcbz instruction and is more efficient than
memset(0) when the destination is in RAM
This patch renames memset as generic_memset, and defines memset
as a prolog to cacheable_memzero. This prolog checks if the byte
to set is 0. If not, it falls back to generic_memcpy()
cacheable_memzero disappears as it is not referenced anywhere anymore
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions