From patchwork Thu Sep 10 16:48:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 516334 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id BBE0F140D15 for ; Fri, 11 Sep 2015 02:48:44 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=G4gJYC3U; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:cc:content-type; q=dns; s=default; b=CvdG1GmBIvFHFBD5ji9ytktQ4scgRS8aaknNmipvIzd JgvX6/Db4tYc2RAxQiTZVlDcIxmiJ+HpvZBLBweyLHg3LNN8yfGJcPBYQ0Ezn2x+ VMZdVHTDGZ88fJYCjFicTPnAPFFfEOcKj3WVZ4SpIwZSvIHwTkc4YWoNLKqxP/AQ = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:cc:content-type; s=default; bh=0NNB9q9L9XedK972JCb3wQCBB1A=; b=G4gJYC3UTBvaAhWNe 9Ytp/NwYROzABLDRpZh01eBLc2qYs+OReGqTCUXUBlY73Iy06QVrQbAyRJGOkY9V yJXO7bidQmJikjlU27tgugPGeVIUa6Dv7mo4Mo9Xxua7AJxtqTJYj8oowX2QlvCE oI559LiIxkcmQX6q02Zl43y4yc= Received: (qmail 14393 invoked by alias); 10 Sep 2015 16:48:37 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 13757 invoked by uid 89); 10 Sep 2015 16:48:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-vk0-f46.google.com Received: from mail-vk0-f46.google.com (HELO mail-vk0-f46.google.com) (209.85.213.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 10 Sep 2015 16:48:35 +0000 Received: by vkao3 with SMTP id o3so616631vka.2 for ; Thu, 10 Sep 2015 09:48:33 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.31.146.203 with SMTP id u194mr1892802vkd.42.1441903713549; Thu, 10 Sep 2015 09:48:33 -0700 (PDT) Received: by 10.103.26.7 with HTTP; Thu, 10 Sep 2015 09:48:33 -0700 (PDT) Date: Thu, 10 Sep 2015 18:48:33 +0200 Message-ID: Subject: Re: [x86 PATCH] Improve performance for Haswell family. From: Uros Bizjak To: "gcc-patches@gcc.gnu.org" Cc: Yuri Rumyantsev , Igor Zamyatin Hello! > Here is updated patch introducing new .md file describing Haswell > pipeline. Reassociation width for float-point instructions was > increased to 4 for Haswell family. > > Regression testing did not show any new failures. > Is it OK for trunk? > > ChangeLog > 2015-09-10 Yuri Rumyantsev > > * config/i386/haswell.md: New file describing Haswell pipeline. > * config/i386/i386.c (processor_alias_table): Use CPU_HASWELL for > haswell-like processors. > (ix86_reassociation_width): Increase reassociation width for 64-bit > Haswell processor family. > * config/i386/i386.md: Introduce haswell cpu and include new md file. OK for mainline with a minor change to haswell.md: diff --git a/gcc/config/i386/haswell.md b/gcc/config/i386/haswell.md new file mode 100644 index 0000000..0e249c4 --- /dev/null +++ b/gcc/config/i386/haswell.md @@ -0,0 +1,618 @@ +;; Scheduling for Core 2 and derived processors. Please update the line above. Thanks, Uros.