From patchwork Fri May 6 10:37:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleg Endo X-Patchwork-Id: 619251 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 3r1Ssl0hK4z9t41 for ; Fri, 6 May 2016 20:37:56 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=ZeSJSS4j; 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 :message-id:subject:from:to:date:content-type:mime-version; q= dns; s=default; b=Mu1w4osVrIQNktCQpZBtvRcOzBIHEyL94hxIrdvVCpTe2H 08d4DhqqiEArxgMzJv7sPUvCCzfCd+xnCRSU7nOrJbcwwt/gPwWHplRT0FCyNSZv r/fb3MgtvZvWmzYN5bYAUgozYa8dWodu/0qIObAK9aHv2MqgT3jDy8+Q1nF6w= 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 :message-id:subject:from:to:date:content-type:mime-version; s= default; bh=nGo/oeFb3m2kZfutEJ0U/EkaG9w=; b=ZeSJSS4jNxxx8cS5+wyS 6OBpJuL6GBerOmOkuCM7qkg13hummeimVT/aJeC77zACFR3r3b0q+L37HbULHxXW Fw0OhRTQb312feRkqd6CbV7jgaIJpICno1NVoSVvCAAx4apAHF8WwUjzWDRL5c3A os4KZw6Bju1xqdON8yddnyQ= Received: (qmail 29356 invoked by alias); 6 May 2016 10:37:48 -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 29335 invoked by uid 89); 6 May 2016 10:37:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 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=Hx-languages-length:739, icbi X-HELO: mailout09.t-online.de Received: from mailout09.t-online.de (HELO mailout09.t-online.de) (194.25.134.84) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 06 May 2016 10:37:37 +0000 Received: from fwd23.aul.t-online.de (fwd23.aul.t-online.de [172.20.26.128]) by mailout09.t-online.de (Postfix) with SMTP id 360B819A8A8 for ; Fri, 6 May 2016 12:37:34 +0200 (CEST) Received: from [192.168.0.16] (GQe1EGZGYh7DlPVjjn+J3oVFkyAevUmkIr9iXVfviEbHVYtuAF+Mh+eyc5MXwkkZ3i@[115.165.93.200]) by fwd23.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1ayd8V-2Jdqxk0; Fri, 6 May 2016 12:37:31 +0200 Message-ID: <1462531049.3864.13.camel@t-online.de> Subject: [SH][committed] Fix length of ic_invalidate_line_sh4a pattern From: Oleg Endo To: gcc-patches Date: Fri, 06 May 2016 19:37:29 +0900 Mime-Version: 1.0 X-IsSubscribed: yes Hi, The attached patch fixes the length of the ic_invalidate_line_sh4a pattern. Tested on sh-elf with make -k check RUNTESTFLAGS="--target_board=sh-sim\{-m2/-ml,-m2/-mb, -m2a/-mb,-m4/-ml,-m4/-mb,-m4a/-ml,-m4a/-mb}" Committed as r235957. Cheers, Oleg gcc/ChangeLog: * config/sh/sh.md (ic_invalidate_line_sh4a): Fix insn length. diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 62a03f3..b054c9e 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -5401,7 +5401,7 @@ " synco" "\n" " icbi @%0"; } - [(set_attr "length" "16") ;; FIXME: Why 16 and not 6? Looks like typo. + [(set_attr "length" "6") (set_attr "type" "cwb")]) (define_expand "mov"