From patchwork Tue May 24 14:48:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Suchanek X-Patchwork-Id: 625693 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 3rDdZW3Pnyz9t5q for ; Wed, 25 May 2016 00:48:32 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=BuXmenwH; 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:from :to:cc:subject:date:message-id:content-type :content-transfer-encoding:mime-version; q=dns; s=default; b=MIN Lu2+mJE8+SL1fRijwpNfxCI5vK/0S925Iaj/OXm1VQ6GcXSDZdCYxEYhJ7PsgU24 QMabDXkVP+taOE+ob9WU5tEnSv0gjUiN9FwmKF28byEhnpZNFU73e8uKPRg2gtRR YDubZqUyr6Gwzx1Sf3w+JSviuZFhkWsYiwR0bD90= 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:from :to:cc:subject:date:message-id:content-type :content-transfer-encoding:mime-version; s=default; bh=UilsYbZsT yo1KhqKCCGw1b1k/5M=; b=BuXmenwH1X3fdtgELfyuRmoXinXV1uZAwdvqcD73I c8r40H8kVllsgDXGixrBenOewl2gbOgQ5c6chwHpTy7KWCuuMeX68oH0jVa5hwkt ic51D6cBnP3E/R2SBzsUTBfl5dPGxExXTnMNDg49pDjefZkJSAXI7bQOiR8ZDtY4 UQ= Received: (qmail 120754 invoked by alias); 24 May 2016 14:48:22 -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 120704 invoked by uid 89); 24 May 2016 14:48:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=eq_attr X-HELO: mailapp01.imgtec.com Received: from mailapp01.imgtec.com (HELO mailapp01.imgtec.com) (195.59.15.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 24 May 2016 14:48:10 +0000 Received: from HHMAIL01.hh.imgtec.org (unknown [10.100.10.19]) by Websense Email with ESMTPS id F08DE820DB700; Tue, 24 May 2016 15:48:02 +0100 (IST) Received: from hhmail02.hh.imgtec.org ([fe80::5400:d33e:81a4:f775]) by HHMAIL01.hh.imgtec.org ([fe80::710b:f219:72bc:e0b3%26]) with mapi id 14.03.0266.001; Tue, 24 May 2016 15:48:05 +0100 From: Robert Suchanek To: Matthew Fortune , "Catherine_Moore@mentor.com" CC: Simon Dardis , Prachi Godbole , "gcc-patches@gcc.gnu.org" Subject: [PATCH][MIPS] P5600 scheduler fix Date: Tue, 24 May 2016 14:48:05 +0000 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes Hi, The below is a fix for the P5600 scheduler. Ok to commit? Regards, Robert 2016-05-24 Simon Dardis Prachi Godbole gcc/ * config/mips/p5600.md (p5600_fpu_fadd): Remove checking for `fabs' and `fneg' type attributes. (p5600_fpu_fabs): Add `fmove' to the comment. --- gcc/config/mips/p5600.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/mips/p5600.md b/gcc/config/mips/p5600.md index 694a745..4500ceb 100644 --- a/gcc/config/mips/p5600.md +++ b/gcc/config/mips/p5600.md @@ -163,10 +163,10 @@ (define_insn_reservation "msa_long_div" 10 ;; fadd, fsub (define_insn_reservation "p5600_fpu_fadd" 4 (and (eq_attr "cpu" "p5600") - (eq_attr "type" "fadd,fabs,fneg")) + (eq_attr "type" "fadd")) "p5600_fpu_long, p5600_fpu_apu") -;; fabs, fneg, fcmp +;; fabs, fneg, fcmp, fmove (define_insn_reservation "p5600_fpu_fabs" 2 (and (eq_attr "cpu" "p5600") (eq_attr "type" "fabs,fneg,fcmp,fmove"))