about summary refs log tree commit diff
path: root/CANCEL-FCT-WAIVE
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-11-05 07:57:46 -0400
committerPetr Baudis <pasky@suse.cz>2010-11-09 01:33:18 +0100
commit827face44bf189f562225339d015a3b4b5cad023 (patch)
treeaf8556e2a9bc6ff34d7d209c67c3ed8744e74091 /CANCEL-FCT-WAIVE
parentca47880178b8611e37786770c252827d5faba260 (diff)
downloadglibc-827face44bf189f562225339d015a3b4b5cad023.tar.gz
glibc-827face44bf189f562225339d015a3b4b5cad023.tar.xz
glibc-827face44bf189f562225339d015a3b4b5cad023.zip
32bit memset-sse2.S fails with uneven cache size
32bit memset-sse2.S assumes cache size is multiple of 128 bytes.  If
it isn't true, memset-sse2.S will fail.  For example, a processor can
have 24576 KB L3 cache and 20 cores. That is 2516582 byte per core. Half
of it is 1258291, which isn't helpful for vector instructions.  This
patch rounds cache sizes to multiple of 256 bytes.

(cherry picked from commit c0dde15b5dba7e02ce6f36eab3a4d1c166f9951b
but removed introduction of new variables)
Diffstat (limited to 'CANCEL-FCT-WAIVE')
0 files changed, 0 insertions, 0 deletions