aboutsummaryrefslogtreecommitdiff
path: root/scripts/cpp
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-11-05 07:57:46 -0400
committerAndreas Schwab <schwab@redhat.com>2010-12-01 15:35:07 +0100
commit230f03954fc437897ca3f1926462d8b43b80c375 (patch)
treed53e3444e0b569242b9eba68de95c060265f611b /scripts/cpp
parentb200942785ca025f73c3153ccdac7dec5b40656c (diff)
downloadglibc-230f03954fc437897ca3f1926462d8b43b80c375.tar.xz
glibc-230f03954fc437897ca3f1926462d8b43b80c375.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 and adds "raw" cache sizes. (cherry picked from commit c0dde15b5dba7e02ce6f36eab3a4d1c166f9951b)
Diffstat (limited to 'scripts/cpp')
0 files changed, 0 insertions, 0 deletions