From 1a23b861078884027c54ddb27438cf08acc9ef20 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 6 Dec 2010 14:42:56 +0000 Subject: [PATCH] Turn on unaligned SSE load/store for Core i7. 2010-12-06 H.J. Lu * config/i386/i386.c (m_COREI7): New. (initial_ix86_tune_features): Turn on X86_TUNE_SSE_UNALIGNED_LOAD_OPTIMAL and X86_TUNE_SSE_UNALIGNED_STORE_OPTIMAL for Core i7. From-SVN: r167496 --- gcc/ChangeLog | 7 +++++++ gcc/config/i386/i386.c | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6c21b40e242..b2d4d6d175a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2010-12-06 H.J. Lu + + * config/i386/i386.c (m_COREI7): New. + (initial_ix86_tune_features): Turn on + X86_TUNE_SSE_UNALIGNED_LOAD_OPTIMAL and + X86_TUNE_SSE_UNALIGNED_STORE_OPTIMAL for Core i7. + 2010-12-06 H.J. Lu * config.gcc: Allow corei7-avx for --with-arch/--with-cpu. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index c80a4798b23..e9c14d0d95a 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -1644,6 +1644,7 @@ const struct processor_costs *ix86_cost = &pentium_cost; #define m_CORE2_64 (1<