From patchwork Sun Apr 8 10:57:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleg Endo X-Patchwork-Id: 151355 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]) by ozlabs.org (Postfix) with SMTP id 83923B703D for ; Sun, 8 Apr 2012 20:57:57 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1334487478; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Subject:From:To:Content-Type:Date:Message-ID:Mime-Version: Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:Sender:Delivered-To; bh=wVt9GOvPHUQ0BLXlNuaU 8tOB7pU=; b=ZIB/dK4UQGSc7nlAPO0jCVaQivc8tq8sqs501pmX9QzKG9MyQgW+ PhWfGw7arClkTZvaKh9jaACbPI+/2SzguEVX6bIzfK/UMRCoV071IWj4M1iKNW3M y3fM6s9s4tn92xurQJxjF90OKhkG8zvVD0g3M9veAUU/ebkreNp1J7E= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Subject:From:To:Content-Type:Date:Message-ID:Mime-Version:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=EOS/Z3ANDV4UZKUAOqqHFa1APtqafE54gxrQEKfV7C9UzAfwV9PfLfgIyeuKrf jal4OBZ6At+GJ+MeyyAPNqAMvp4X/GTSPNFNn2lQuz+6IRw8fDekoyDV/LA1ecX0 CrYQQTrFIYh+9qI1HIfKxMB61KIRGg/ukCpI77ScQ0LbM=; Received: (qmail 23985 invoked by alias); 8 Apr 2012 10:57:53 -0000 Received: (qmail 23977 invoked by uid 22791); 8 Apr 2012 10:57:52 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_HOSTKARMA_NO, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org Received: from mailout11.t-online.de (HELO mailout11.t-online.de) (194.25.134.85) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 08 Apr 2012 10:57:35 +0000 Received: from fwd12.aul.t-online.de (fwd12.aul.t-online.de ) by mailout11.t-online.de with smtp id 1SGpoM-0003YN-F0; Sun, 08 Apr 2012 12:57:34 +0200 Received: from [192.168.0.104] (GoSYzYZTZhpwOns6cDiKboxk3imcIG+9CDJVVtJVmric9avvSZH0YMyw90FN4FnwIc@[87.157.34.50]) by fwd12.t-online.de with esmtp id 1SGpoJ-1xi47E0; Sun, 8 Apr 2012 12:57:31 +0200 Subject: [SH] Document constraints, remove unused Sr0 constraint From: Oleg Endo To: gcc-patches Date: Sun, 08 Apr 2012 12:57:17 +0200 Message-ID: <1333882637.19154.101.camel@yam-132-YW-E178-FTW> Mime-Version: 1.0 X-IsSubscribed: yes 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 Hi, The attached patch updates the top comment block in constraints.md and removes the unused Sr0 constraint. Tested with 'make all-gcc'. OK? Cheers, Oleg ChangeLog: * config/sh/constraints.md: Update list of constraints in comment block. (Sr0): Remove unused memory constraint. Index: gcc/config/sh/constraints.md =================================================================== --- gcc/config/sh/constraints.md (revision 186224) +++ gcc/config/sh/constraints.md (working copy) @@ -37,10 +37,16 @@ ;; P27: 1 | 2 | 8 | 16 ;; Pso: 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 ;; Psz: ~1 | ~2 | ~4 | ~8 | ~16 | ~32 | ~64 | ~128 +;; G: Floating point 0 +;; H: Floating point 1 ;; Q: pc relative load operand ;; Rxx: reserved for exotic register classes. -;; Sxx: extra memory (storage) constraints -;; Sua: unaligned memory operations +;; Sxx: extra memory constraints +;; Sua: unaligned memory address +;; Sbv: QImode address without displacement +;; Sbw: QImode address with 12 bit displacement +;; Snd: address without displacement +;; Sdd: address with displacement ;; W: vector ;; Z: zero in any mode ;; @@ -251,11 +257,6 @@ (match_test "~ival == 64") (match_test "~ival == 128")))) -(define_memory_constraint "Sr0" - "@internal" - (and (match_test "memory_operand (op, GET_MODE (op))") - (match_test "!refers_to_regno_p (R0_REG, R0_REG + 1, op, (rtx *) 0)"))) - (define_memory_constraint "Sua" "@internal" (and (match_test "memory_operand (op, GET_MODE (op))")