diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2020-08-27 21:07:57 +0200 |
---|---|---|
committer | Arthur Heymans <arthur@aheymans.xyz> | 2022-10-24 12:16:32 +0000 |
commit | e249b1a313b2e7925a12416af8172632588e77cd (patch) | |
tree | b62c1b89b0ae84f14f76e7e03f65ad7545bc265a /src/arch/x86 | |
parent | 1347571f9bc87c5ca634956809bc31b4d1ed8a7f (diff) |
arch/x86: x86_64 implies SSE2 support
Enable SSE2 (and SSE) when compiling for x86_64. Compilers often assume
SSE2 is present and enabled when targeting x86_64.
This fixes:
- lzma decompression code is compiled with the -Ofast flag
- 'everything' when compiling with clang.
This mostly affects qemu targets, which did not have this flag selected
yet.
TESTED on qemu.
Change-Id: I3cdc584c97016e15513df663a54a7bdb549a73e4
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44869
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'src/arch/x86')
-rw-r--r-- | src/arch/x86/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig index c00eb0c3b5..b60f600541 100644 --- a/src/arch/x86/Kconfig +++ b/src/arch/x86/Kconfig @@ -39,19 +39,24 @@ config ARCH_ALL_STAGES_X86_32 config ARCH_BOOTBLOCK_X86_64 bool + select SSE2 config ARCH_VERSTAGE_X86_64 bool + select SSE2 config ARCH_ROMSTAGE_X86_64 bool + select SSE2 config ARCH_POSTCAR_X86_64 bool default ARCH_ROMSTAGE_X86_64 && POSTCAR_STAGE + select SSE2 config ARCH_RAMSTAGE_X86_64 bool + select SSE2 config ARCH_ALL_STAGES_X86_64 bool |