summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-09-29 13:42:27 +0000
committerbde <bde@FreeBSD.org>2002-09-29 13:42:27 +0000
commit61d4be4f4d0a6b2f0bbec889950c1a80991938ce (patch)
tree703f7918e90169ebbb2d144a3a1b5157b2db85d1 /release
parent7ce1df07a88c69597f49afb85fe366f4800efdf8 (diff)
downloadFreeBSD-src-61d4be4f4d0a6b2f0bbec889950c1a80991938ce.zip
FreeBSD-src-61d4be4f4d0a6b2f0bbec889950c1a80991938ce.tar.gz
Align the stack suitably for the version of gcc in FreeBSD-4 (provided
-fomit-frame-pointer is not used). This is mostly moot for -current because gcc-3 does the alignment (slightly incorrectly) in main(). This patch is intended for easy MFC'ing and should be backed out in -current soon since it causes compiler warnings and better fixes are possible in -current. The best fix is to do nothing here and wait for gcc to do stack alignment right. gcc-3 aligns the stack in main(), but does it too late for main()'s local variables and too late for anything called before main(). A misaligned stack is now more than an efficiency problem, since some SSE instructions in some or all (hardware) implementations trap on misaligned operands even if alignment checking is not enabled. PR: 41528: Submitted by: NIIMI Satoshi <sa2c@sa2c.net> (original version) MFC after: 3 days
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud