diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-09-22 08:49:59 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-09-22 09:01:18 (GMT) |
commit | 9333dd84757086c93b95a60e66f891883c36974e (patch) | |
tree | 8a84de474350913902c47a048a73d920d737567e | |
parent | 60c195a1865e06026b54a5d8fd0036aaa010b8bc (diff) | |
download | Qt-9333dd84757086c93b95a60e66f891883c36974e.zip Qt-9333dd84757086c93b95a60e66f891883c36974e.tar.gz Qt-9333dd84757086c93b95a60e66f891883c36974e.tar.bz2 |
Update the ICC mkspec: keep the stack aligned to 16-byte
After discussing with Intel, turns out that ICC defaults to aligning
the stack when it needs to (e.g., when issuing aligned operations), but
doesn't care otherwise. GCC, on the other hand, expects the stack to
always be aligned and will issue instructions without checking.
We'll probably add __attribute__((force_align_arg_pointer)) to some
functions in our code, but we won't be able to catch everything.
Reviewed-By: Bradley T. Hughes
-rw-r--r-- | mkspecs/linux-icc/qmake.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/linux-icc/qmake.conf b/mkspecs/linux-icc/qmake.conf index 3b26f7d..af56a9a 100644 --- a/mkspecs/linux-icc/qmake.conf +++ b/mkspecs/linux-icc/qmake.conf @@ -21,7 +21,7 @@ QMAKE_LEX = flex QMAKE_LEXFLAGS = QMAKE_YACC = yacc QMAKE_YACCFLAGS = -d -QMAKE_CFLAGS = +QMAKE_CFLAGS = -falign-stack=maintain-16-byte QMAKE_CFLAGS_DEPS = -M QMAKE_CFLAGS_WARN_ON = -w1 -Wcheck -wd654,1572,411,873,1125 QMAKE_CFLAGS_WARN_OFF = -w |