aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386
diff options
context:
space:
mode:
authorCui,Lili <lili.cui@intel.com>2021-11-26 11:16:43 +0800
committerHongyu Wang <hongyu.wang@intel.com>2021-12-10 09:39:32 +0800
commit35a4fe8091896529a19a7c2c2a32e69f3b5efddb (patch)
tree41e8290f1b9c2fc9c3312ed1c1da86c5f752e556 /gcc/config/i386
parent213b7d9cf76d73f7b716a6f9119971cb65bd85e2 (diff)
downloadgcc-35a4fe8091896529a19a7c2c2a32e69f3b5efddb.zip
gcc-35a4fe8091896529a19a7c2c2a32e69f3b5efddb.tar.gz
gcc-35a4fe8091896529a19a7c2c2a32e69f3b5efddb.tar.bz2
x86: Update -mtune=tremont
Silvermont has a special handle in add_stmt_cost function, because it has in order SIMD pipeline. But for Tremont, its SIMD pipeline is out of order, remove Tremont from this special handle. gcc/ChangeLog * config/i386/i386.c (ix86_vector_costs::add_stmt_cost): Remove Tremont.
Diffstat (limited to 'gcc/config/i386')
-rw-r--r--gcc/config/i386/i386.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index f1e41fd..9f4ed34 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -23144,8 +23144,7 @@ ix86_vector_costs::add_stmt_cost (int count, vect_cost_for_stmt kind,
for Silvermont as it has out of order integer pipeline and can execute
2 scalar instruction per tick, but has in order SIMD pipeline. */
if ((TARGET_CPU_P (SILVERMONT) || TARGET_CPU_P (GOLDMONT)
- || TARGET_CPU_P (GOLDMONT_PLUS) || TARGET_CPU_P (TREMONT)
- || TARGET_CPU_P (INTEL))
+ || TARGET_CPU_P (GOLDMONT_PLUS) || TARGET_CPU_P (INTEL))
&& stmt_info && stmt_info->stmt)
{
tree lhs_op = gimple_get_lhs (stmt_info->stmt);