]> sourceware.org Git - glibc.git/commit
x86-64: Simplify minimum ISA check ifdef conditional with if
authorSunil K Pandey <skpgkp2@gmail.com>
Fri, 1 Mar 2024 01:57:02 +0000 (17:57 -0800)
committerFlorian Weimer <fweimer@redhat.com>
Sat, 13 Apr 2024 18:22:28 +0000 (20:22 +0200)
commit7b92f46f04c6cbce19d19ae1099628431858996c
treef554aac8c20a45849ddc1a8d36a37b5f2621c9af
parent9883f4304cfb1558d0f1e6d9f48c4ab0a35355fe
x86-64: Simplify minimum ISA check ifdef conditional with if

Replace minimum ISA check ifdef conditional with if.  Since
MINIMUM_X86_ISA_LEVEL and AVX_X86_ISA_LEVEL are compile time constants,
compiler will perform constant folding optimization, getting same
results.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
(cherry picked from commit b6e3898194bbae78910bbe9cd086937014961e45)
sysdeps/x86/cpu-features.c
This page took 0.172858 seconds and 5 git commands to generate.