aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/math-use-builtins-lrint.h
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2023-06-07 13:18:02 -0500
committerNoah Goldstein <goldstein.w.n@gmail.com>2023-06-12 11:33:39 -0500
commitf193ea20eddc6cef84cba54cf1a647204ee6a86b (patch)
treef0b8c5f9638e612ec9d59cb3d1a87dfd2570f531 /sysdeps/generic/math-use-builtins-lrint.h
parentaf992e7abdc9049714da76cae1e5e18bc4838fb8 (diff)
downloadglibc-f193ea20eddc6cef84cba54cf1a647204ee6a86b.tar
glibc-f193ea20eddc6cef84cba54cf1a647204ee6a86b.tar.gz
glibc-f193ea20eddc6cef84cba54cf1a647204ee6a86b.tar.bz2
glibc-f193ea20eddc6cef84cba54cf1a647204ee6a86b.zip
x86: Refactor Intel `init_cpu_features`
This patch should have no affect on existing functionality. The current code, which has a single switch for model detection and setting prefered features, is difficult to follow/extend. The cases use magic numbers and many microarchitectures are missing. This makes it difficult to reason about what is implemented so far and/or how/where to add support for new features. This patch splits the model detection and preference setting stages so that CPU preferences can be set based on a complete list of available microarchitectures, rather than based on model magic numbers. Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'sysdeps/generic/math-use-builtins-lrint.h')
0 files changed, 0 insertions, 0 deletions