]> git.ipfire.org Git - thirdparty/grub.git/commit
lib/hwfeatures-gcry: Enable SSE and AVX for x86_64 EFI
authorGary Lin <glin@suse.com>
Wed, 22 Oct 2025 01:28:53 +0000 (09:28 +0800)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 23 Oct 2025 17:15:00 +0000 (19:15 +0200)
commit8423176f1f29d398a0d5ae1c2961acef9c4751a2
treeee152757bd5151c87a108fe7e35f8c27205f5506
parent06a5b88bafa0fbd6313125ffe956ad2b0f7dde76
lib/hwfeatures-gcry: Enable SSE and AVX for x86_64 EFI

Implement the necessary functions to dynamically enable SSE and AVX
on x86_64 EFI systems when the hardware is capable.

Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/Makefile.core.def
grub-core/lib/hwfeatures-gcry.c
grub-core/lib/x86_64/efi/hwfeatures-gcry.c [new file with mode: 0644]
include/grub/x86_64/cpuid.h [new file with mode: 0644]
include/grub/x86_64/efi/hwfeatures-gcry.h [new file with mode: 0644]