Add -mstackrealign option to ix86 build 82/218182/2
authorDongkyun Son <dongkyun.s@samsung.com>
Wed, 20 Nov 2019 06:16:32 +0000 (15:16 +0900)
committerDongkyun Son <dongkyun.s@samsung.com>
Wed, 27 Nov 2019 04:11:44 +0000 (13:11 +0900)
commit19759c43f836bd477371486fec69b9b2002cbf83
tree373b7eff366b6dc400fdee41bc2a8245680f07bc
parentcbe8626b2c3364ec78e5650c0f102d8c1af3cbbe
Add -mstackrealign option to ix86 build

To support compilation with SSE instuctions(that are requires 16-alinging)
applying -mstackrealign is perfectly fine, the %ebp will be 16-aligned in the
function prologue.

According to definition on "Intel 386 and AMD x86-64 Options":
Realign the stack at entry. On the Intel x86, the -mstackrealign option
will generate an alternate prologue and epilogue that realigns the
runtime stack if necessary. This supports mixing legacy codes that keep
a 4-byte aligned stack with modern codes that keep a 16-byte stack for
SSE compatibility. See also the attribute force_align_arg_pointer,
applicable to individual functions.

Change-Id: Ifd4fdd397e7911148bbad6c3b53f993ccd14cc06
Signed-off-by: Mikhail Kashkarov <m.kashkarov@partner.samsung.com>
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
Tizen:5.5:Base/_config
Tizen:Base/_config