aboutsummaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2010-09-17 21:07:09 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2010-09-17 14:07:09 -0700
commite7ed95a24d005410ee3fb772c97189f43dadaee7 (patch)
treede5a48ea5e9cadf018a942934426371b6d2cf5ab /gcc/ChangeLog
parent8cab7c1398a6275c0b8e4132f3c2d1e22181c00b (diff)
downloadgcc-e7ed95a24d005410ee3fb772c97189f43dadaee7.zip
gcc-e7ed95a24d005410ee3fb772c97189f43dadaee7.tar.gz
gcc-e7ed95a24d005410ee3fb772c97189f43dadaee7.tar.bz2
Pad short functions with NOPs for Atom.
gcc/ 2010-09-17 H.J. Lu <hongjiu.lu@intel.com> Richard Henderson <rth@redhat.com> * config/i386/i386.c (initial_ix86_tune_features): Add X86_TUNE_PAD_SHORT_FUNCTION. (ix86_code_end): Pad with 8 NOPs for TARGET_PAD_SHORT_FUNCTION. (ix86_count_insn): New. (ix86_pad_short_function): Likewise. (ix86_reorg): Support TARGET_PAD_SHORT_FUNCTION. * config/i386/i386.h (ix86_tune_indices): Add X86_TUNE_PAD_SHORT_FUNCTION. (TARGET_PAD_SHORT_FUNCTION): New. * config/i386/i386.md (UNSPEC_NOPS): New. (nops): Likewise. gcc/testsuite/ 2010-09-17 H.J. Lu <hongjiu.lu@intel.com> * gcc.target/i386/pad-1.c: New. * gcc.target/i386/pad-2.c: Likewise. * gcc.target/i386/pad-3.c: Likewise. * gcc.target/i386/pad-4.c: Likewise. * gcc.target/i386/pad-5a.c: Likewise. * gcc.target/i386/pad-5b.c: Likewise. * gcc.target/i386/pad-6a.c: Likewise. * gcc.target/i386/pad-6b.c: Likewise. * gcc.target/i386/pad-7.c: Likewise. * gcc.target/i386/pad-8.c: Likewise. * gcc.target/i386/pad-9.c: Likewise. * gcc.target/i386/pad-10.c: Likewise. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r164379
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r--gcc/ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5301e8d..dcfc7e6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,4 +1,21 @@
2010-09-17 H.J. Lu <hongjiu.lu@intel.com>
+ Richard Henderson <rth@redhat.com>
+
+ * config/i386/i386.c (initial_ix86_tune_features): Add
+ X86_TUNE_PAD_SHORT_FUNCTION.
+ (ix86_code_end): Pad with 8 NOPs for TARGET_PAD_SHORT_FUNCTION.
+ (ix86_count_insn): New.
+ (ix86_pad_short_function): Likewise.
+ (ix86_reorg): Support TARGET_PAD_SHORT_FUNCTION.
+
+ * config/i386/i386.h (ix86_tune_indices): Add
+ X86_TUNE_PAD_SHORT_FUNCTION.
+ (TARGET_PAD_SHORT_FUNCTION): New.
+
+ * config/i386/i386.md (UNSPEC_NOPS): New.
+ (nops): Likewise.
+
+2010-09-17 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/45234
* calls.c (expand_call): Make sure that all variable sized