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>
This commit is contained in:
parent
1347571f9b
commit
e249b1a313
|
@ -39,19 +39,24 @@ config ARCH_ALL_STAGES_X86_32
|
||||||
|
|
||||||
config ARCH_BOOTBLOCK_X86_64
|
config ARCH_BOOTBLOCK_X86_64
|
||||||
bool
|
bool
|
||||||
|
select SSE2
|
||||||
|
|
||||||
config ARCH_VERSTAGE_X86_64
|
config ARCH_VERSTAGE_X86_64
|
||||||
bool
|
bool
|
||||||
|
select SSE2
|
||||||
|
|
||||||
config ARCH_ROMSTAGE_X86_64
|
config ARCH_ROMSTAGE_X86_64
|
||||||
bool
|
bool
|
||||||
|
select SSE2
|
||||||
|
|
||||||
config ARCH_POSTCAR_X86_64
|
config ARCH_POSTCAR_X86_64
|
||||||
bool
|
bool
|
||||||
default ARCH_ROMSTAGE_X86_64 && POSTCAR_STAGE
|
default ARCH_ROMSTAGE_X86_64 && POSTCAR_STAGE
|
||||||
|
select SSE2
|
||||||
|
|
||||||
config ARCH_RAMSTAGE_X86_64
|
config ARCH_RAMSTAGE_X86_64
|
||||||
bool
|
bool
|
||||||
|
select SSE2
|
||||||
|
|
||||||
config ARCH_ALL_STAGES_X86_64
|
config ARCH_ALL_STAGES_X86_64
|
||||||
bool
|
bool
|
||||||
|
|
Loading…
Reference in New Issue