mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-20 15:51:52 -09:00
07b358a53963fee0b8cb52e8eb51ea503cb8c24b
Commit1f7efaf89f("package/qemu: do not support x86_steamroller or x86_core_avx2") excluded BR2_x86_core_avx2 from BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS because binaries built for that CPU variant crashed under qemu-user. This was done at the time of Qemu 4.2, whose TCG engine did not implement AVX at all. Since Qemu 7.2, the TCG engine implements AVX, AVX2, F16C, FMA3 and VAES. In Qemu 11.0.0 (the version we currently package) and 11.1.1, target/i386/cpu.c has: #define TCG_EXT_FEATURES (... | CPUID_EXT_AVX | CPUID_EXT_F16C | \ CPUID_EXT_FMA | ...) #define TCG_7_0_EBX_FEATURES (... | CPUID_7_0_EBX_BMI1 | \ CPUID_7_0_EBX_BMI2 | CPUID_7_0_EBX_AVX2 | ...) which covers everything gcc generates for -march=core-avx2. In addition, the exclusion was inconsistent: gcc's core-avx2 is a deprecated alias for haswell, both variants select exactly the same BR2_X86_CPU_HAS_* symbols in arch/Config.in.x86, and haswell was never excluded. The same goes for broadwell, skylake, zen*, x86-64-v3, ..., which all enable AVX2 and build fine on the autobuilders. So drop the BR2_x86_core_avx2 exclusion. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Assisted-by: Claude:claude-opus-5 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit8d80efe017) Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
…
…
Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation. The documentation can be found in docs/manual. You can generate a text document with 'make manual-text' and read output/docs/manual/manual.text. Online documentation can be found at https://buildroot.org/docs.html To build and use the buildroot stuff, do the following: 1) run 'make menuconfig' 2) select the target architecture and the packages you wish to compile 3) run 'make' 4) wait while it compiles 5) find the kernel, bootloader, root filesystem, etc. in output/images You do not need to be root to build or run buildroot. Have fun! Buildroot comes with a basic configuration for a number of boards. Run 'make list-defconfigs' to view the list of provided configurations. Please feed suggestions, bug reports, insults, and bribes back to the buildroot mailing list: buildroot@buildroot.org You can also find us on #buildroot on OFTC IRC. If you would like to contribute patches, please read https://buildroot.org/manual.html#submitting-patches
Description
Languages
Makefile
62.2%
Python
19.3%
C
8.4%
Shell
6.1%
PHP
1.4%
Other
2.2%