1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-10-28 23:34:53 +03:00
Files
glibc/sysdeps
Noah Goldstein 5b54a33435 x86: Fix value for x86_memset_non_temporal_threshold when it is undesirable
When we don't want to use non-temporal stores for memset, we set
`x86_memset_non_temporal_threshold` to SIZE_MAX.

The current code, however, we using `maximum_non_temporal_threshold`
as the upper bound which is `SIZE_MAX >> 4` so we ended up with a
value of `0`.

Fix is to just use `SIZE_MAX` as the upper bound for when setting the
tunable.
Tested-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
2024-06-14 17:25:05 -05:00
..
2024-05-20 13:12:23 -03:00
2024-06-14 21:24:24 +02:00
2024-06-10 21:56:13 +02:00
2024-05-03 18:28:18 +01:00
2024-04-10 14:53:39 -03:00
2024-05-24 09:53:49 +02:00
2024-06-12 15:25:54 -03:00