coreboot-kgpe-d16/src/cpu/amd
Kyösti Mälkki bf3091bae6 binaryPI: Fix SSE regression and align stack early
When allowing use of SSE instructions, stack must be
aligned to 16 bytes. Adjust x86 entry to C accordingly,
by pushing values to maintain the alignment.

For some builds, new toolchain and GCC-6.3 could emit
SSE instruction 'andps (%esp),%xmm0' with incorrectly
aligned esp, raising exception and thus preventing boot.

Change-Id: I452d40eadac2b743d0d8431809c9a81bf28c330a
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/18691
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins)
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
2017-03-16 15:23:19 +01:00
..
agesa AGESA f14: Fix infinite loop 2017-03-15 14:11:50 +01:00
car amdfam10: Perform major include ".c" cleanup 2017-01-04 18:56:01 +01:00
dualcore src/cpu/amd: Update/Add license headers to all files 2017-02-22 22:22:49 +01:00
family_10h-family_15h amdfam10: Perform major include ".c" cleanup 2017-01-04 18:56:01 +01:00
geode_gx2 AMD geode: Avoid conflicting main() declaration 2017-03-08 03:19:46 +01:00
geode_lx AMD geode: Avoid conflicting main() declaration 2017-03-08 03:19:46 +01:00
microcode src/cpu: Add required space before opening parenthesis '(' 2016-08-28 18:47:23 +02:00
model_fxx src/cpu/amd: Update/Add license headers to all files 2017-02-22 22:22:49 +01:00
mtrr src/cpu: Add required space before opening parenthesis '(' 2016-08-28 18:47:23 +02:00
pi binaryPI: Fix SSE regression and align stack early 2017-03-16 15:23:19 +01:00
quadcore amdfam10: Perform major include ".c" cleanup 2017-01-04 18:56:01 +01:00
smm x86 SMM: Fix use with RELOCATABLE_RAMSTAGE 2016-12-11 08:56:40 +01:00
socket_754 x86: remove cpu_incs as romstage Make variable 2015-09-04 15:09:32 +00:00
socket_939 x86: remove cpu_incs as romstage Make variable 2015-09-04 15:09:32 +00:00
socket_940 x86: remove cpu_incs as romstage Make variable 2015-09-04 15:09:32 +00:00
socket_AM2 x86: remove cpu_incs as romstage Make variable 2015-09-04 15:09:32 +00:00
socket_AM2r2 cpu/amd: Move model_10xxx to family_10h-family_15h 2015-11-02 23:37:24 +01:00
socket_AM3 cpu/amd: Move model_10xxx to family_10h-family_15h 2015-11-02 23:37:24 +01:00
socket_ASB2 cpu/amd: Move model_10xxx to family_10h-family_15h 2015-11-02 23:37:24 +01:00
socket_C32 cpu/amd: Move model_10xxx to family_10h-family_15h 2015-11-02 23:37:24 +01:00
socket_F x86: remove cpu_incs as romstage Make variable 2015-09-04 15:09:32 +00:00
socket_F_1207 cpu/amd: Move model_10xxx to family_10h-family_15h 2015-11-02 23:37:24 +01:00
socket_FM2 cpu/amd: Add socket FM2 2016-02-18 01:29:17 +01:00
socket_G34 cpu/amd: Move model_10xxx to family_10h-family_15h 2015-11-02 23:37:24 +01:00
socket_S1G1 x86: remove cpu_incs as romstage Make variable 2015-09-04 15:09:32 +00:00
Kconfig cpu/amd: Add socket FM2 2016-02-18 01:29:17 +01:00
Makefile.inc cpu/amd: Add socket FM2 2016-02-18 01:29:17 +01:00