From patchwork Mon Dec 5 11:59:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Zissulescu X-Patchwork-Id: 702713 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 3tXNf411c5z9t14 for ; Mon, 5 Dec 2016 23:01:47 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="SGzSxaIz"; 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:in-reply-to:references :mime-version:content-type; q=dns; s=default; b=YAJAQUU+1dc2ORwz 8du3ZL3oCCsDlEetppC0qTMlDnsB/bmbiBo/Y+IRg9fWMRrDtDfra92WbqwQ2S8l FG3GFHxfIfWNZ9MowUwzWngBeapne9tikWeqa87a2Z0X+UPJ+HkjPq9PGNCSLkuk 7QbQJ058CWW6VlarDVDjzkk2nBU= 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:in-reply-to:references :mime-version:content-type; s=default; bh=Iiell1wBrFMfFE6qTPcxN+ dmrJA=; b=SGzSxaIzjDQKWIZT4naecN8AJ4QXDgQF6sR6sT69eupmTT6ADuJyJg aP//UIkpeNcM+INsRuOy+aN3m/akN1ZSg66STF1RBglXSCa0lMLbJ8jTVWtImUYP 1+43m3GqkcbI5NVp6nnWlQS3L6jF1haDA3kjpwR6vlLyS15Lr6Ksk= Received: (qmail 19288 invoked by alias); 5 Dec 2016 12:01:27 -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 19220 invoked by uid 89); 5 Dec 2016 12:01:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.5 required=5.0 tests=AWL, BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=yesyes, 1.9.1, Hx-languages-length:2522 X-HELO: smtprelay.synopsys.com Received: from smtprelay.synopsys.com (HELO smtprelay.synopsys.com) (198.182.47.9) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 05 Dec 2016 12:01:16 +0000 Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by smtprelay.synopsys.com (Postfix) with ESMTP id 6618E24E0C6D; Mon, 5 Dec 2016 04:01:14 -0800 (PST) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 4FC8B9DC; Mon, 5 Dec 2016 04:01:14 -0800 (PST) Received: from US01WEHTC2.internal.synopsys.com (us01wehtc2-vip.internal.synopsys.com [10.12.239.238]) by mailhost.synopsys.com (Postfix) with ESMTP id 427F59DA; Mon, 5 Dec 2016 04:01:14 -0800 (PST) Received: from IN01WEHTCA.internal.synopsys.com (10.144.199.104) by US01WEHTC2.internal.synopsys.com (10.12.239.237) with Microsoft SMTP Server (TLS) id 14.3.266.1; Mon, 5 Dec 2016 04:01:14 -0800 Received: from IN01WEHTCB.internal.synopsys.com (10.144.199.105) by IN01WEHTCA.internal.synopsys.com (10.144.199.103) with Microsoft SMTP Server (TLS) id 14.3.266.1; Mon, 5 Dec 2016 17:31:13 +0530 Received: from nl20droid1.internal.synopsys.com (10.100.24.228) by IN01WEHTCB.internal.synopsys.com (10.144.199.243) with Microsoft SMTP Server (TLS) id 14.3.266.1; Mon, 5 Dec 2016 17:31:13 +0530 From: Claudiu Zissulescu To: CC: , , Subject: [PATCH 2/2] [ARC] Remove old prof patterns. Date: Mon, 5 Dec 2016 12:59:13 +0100 Message-ID: <1480939153-3785-3-git-send-email-claziss@synopsys.com> In-Reply-To: <1480939153-3785-1-git-send-email-claziss@synopsys.com> References: <1480939153-3785-1-git-send-email-claziss@synopsys.com> MIME-Version: 1.0 Cleanup old patterns. gcc/ 2016-10-10 Claudiu Zissulescu * config/arc/arc.md (call_prof): Remove. (call_value_prof): Likewise. (sibcall_prof): Likewise. (sibcall_value_prof): Likewise. --- gcc/config/arc/arc.md | 63 --------------------------------------------------- 1 file changed, 63 deletions(-) diff --git a/gcc/config/arc/arc.md b/gcc/config/arc/arc.md index 8e26238..0648ff3 100644 --- a/gcc/config/arc/arc.md +++ b/gcc/config/arc/arc.md @@ -4140,20 +4140,6 @@ (set_attr "predicable" "no,no,yes,yes,no,yes,no,yes") (set_attr "length" "*,*,4,4,4,4,4,8")]) -(define_insn "call_prof" - [(call (mem:SI (match_operand:SI 0 "symbolic_operand" "Cbr,Cal")) - (match_operand 1 "" "")) - (clobber (reg:SI 31)) - (use (reg:SI 8)) - (use (reg:SI 9))] - "" - "@ - bl%!%* %P0;2 - jl%! %^%S0" - [(set_attr "type" "call,call_no_delay_slot") - (set_attr "predicable" "yes,yes") - (set_attr "length" "4,8")]) - (define_expand "call_value" ;; operand 2 is stack_size_rtx ;; operand 3 is next_arg_register @@ -4203,22 +4189,6 @@ ; use it for lack of inter-procedural branch shortening. ; Link-time relaxation would help... - -(define_insn "call_value_prof" - [(set (match_operand 0 "dest_reg_operand" "=r,r") - (call (mem:SI (match_operand:SI 1 "symbolic_operand" "Cbr,Cal")) - (match_operand 2 "" ""))) - (clobber (reg:SI 31)) - (use (reg:SI 8)) - (use (reg:SI 9))] - "" - "@ - bl%!%* %P1;1 - jl%! %^%S1" - [(set_attr "type" "call,call_no_delay_slot") - (set_attr "predicable" "yes,yes") - (set_attr "length" "4,8")]) - (define_insn "nop" [(const_int 0)] "" @@ -4713,39 +4683,6 @@ (set_attr "is_SIBCALL" "yes")] ) -(define_insn "sibcall_prof" - [(call (mem:SI (match_operand:SI 0 "call_address_operand" "Cbr,Cal")) - (match_operand 1 "" "")) - (simple_return) - (use (match_operand 2 "" "")) - (use (reg:SI 8)) - (use (reg:SI 9))] - "" - "@ - b%!%* %P0;2 - j%! %^%S0;2" - [(set_attr "type" "call,call_no_delay_slot") - (set_attr "predicable" "yes") - (set_attr "is_SIBCALL" "yes")] -) - -(define_insn "sibcall_value_prof" - [(set (match_operand 0 "dest_reg_operand" "") - (call (mem:SI (match_operand:SI 1 "call_address_operand" "Cbr,Cal")) - (match_operand 2 "" ""))) - (simple_return) - (use (match_operand 3 "" "")) - (use (reg:SI 8)) - (use (reg:SI 9))] - "" - "@ - b%!%* %P1;1 - j%! %^%S1;1" - [(set_attr "type" "call,call_no_delay_slot") - (set_attr "predicable" "yes") - (set_attr "is_SIBCALL" "yes")] -) - (define_expand "prologue" [(pc)] ""