From patchwork Mon Jul 16 06:12:01 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans-Peter Nilsson X-Patchwork-Id: 171137 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 0A6692C00BF for ; Mon, 16 Jul 2012 16:12:27 +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=1343023948; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:Received:Received:Date:Message-Id:From:To: In-reply-to:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=1+oFXHC6Kk50o0arbOCRYknxG+w=; b=wuDwrRwqSRaNrBU bN7txkcrtc+o6jFTijiGPORxp8nqdxEqwl4fIKZLTQJ4HCxLOY9gOVHkgSEDDN+d 5RkOvK6FCPTZUKgbjiQL1poMxgzF5Z7uLzAPK9AdHORZ/60Rp2VgMXWOo4YyXF4y zziigrp5z45k8CFIGStDNtoJN9z8= 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:Received:Received:Received:Received:Date:Message-Id:From:To:In-reply-to:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=EJcc60LXB1p/nl25NkAZzMCG+hSQaHNk1Ycugoy5vUGFIRVnSJdu/0iM73dhDV dYQYfp9aIkdx3kIBSzjv6Ny3GCSzPE05P0GIgfEPTSfirzWsWLwE6BNMaD0MXM0U eV/hZN/y6UvzgnS9eVXB/xNaB4c02CzBc/Cb4idP/lJ4U=; Received: (qmail 1014 invoked by alias); 16 Jul 2012 06:12:20 -0000 Received: (qmail 1004 invoked by uid 22791); 16 Jul 2012 06:12:18 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL, BAYES_00, KHOP_THREADED, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from anubis.se.axis.com (HELO anubis.se.axis.com) (195.60.68.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 16 Jul 2012 06:12:04 +0000 Received: from localhost (localhost [127.0.0.1]) by anubis.se.axis.com (Postfix) with ESMTP id 2AB9419DCF for ; Mon, 16 Jul 2012 08:12:03 +0200 (CEST) Received: from anubis.se.axis.com ([127.0.0.1]) by localhost (anubis.se.axis.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id TXnfNoZMh-6I for ; Mon, 16 Jul 2012 08:12:02 +0200 (CEST) Received: from seth.se.axis.com (seth.se.axis.com [10.0.2.172]) by anubis.se.axis.com (Postfix) with ESMTP id 3D5F819D84 for ; Mon, 16 Jul 2012 08:12:02 +0200 (CEST) Received: from ignucius.se.axis.com (ignucius.se.axis.com [10.88.21.50]) by seth.se.axis.com (Postfix) with ESMTP id 1A1A33E093; Mon, 16 Jul 2012 08:12:02 +0200 (CEST) Received: from ignucius.se.axis.com (localhost [127.0.0.1]) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) with ESMTP id q6G6C175022940; Mon, 16 Jul 2012 08:12:01 +0200 Received: (from hp@localhost) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) id q6G6C1Gf022935; Mon, 16 Jul 2012 08:12:01 +0200 Date: Mon, 16 Jul 2012 08:12:01 +0200 Message-Id: <201207160612.q6G6C1Gf022935@ignucius.se.axis.com> From: Hans-Peter Nilsson To: gcc-patches@gcc.gnu.org In-reply-to: <201207160349.q6G3n06W019752@ignucius.se.axis.com> (message from Hans-Peter Nilsson on Mon, 16 Jul 2012 05:49:00 +0200) Subject: Re: CRIS atomics revisited 4/4: give up on alignment of atomic data MIME-Version: 1.0 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 > From: Hans-Peter Nilsson > Date: Mon, 16 Jul 2012 05:49:00 +0200 > gcc: > * config/cris/sync.md ("atomic_fetch_") > ("cris_atomic_fetch__1") > ("atomic_compare_and_swap") > ("cris_atomic_compare_and_swap_1"): Make > conditional on TARGET_ATOMICS_MAY_CALL_LIBFUNCS for > sizes larger than byte. A sync goof (the VC kind): the committed and sent patch, but not the changelog, was missing the first hunk, now committed: brgds, H-P Index: config/cris/sync.md =================================================================== --- config/cris/sync.md (revision 189504) +++ config/cris/sync.md (working copy) @@ -101,7 +101,7 @@ (define_expand "atomic_fetch_") (match_operand 3) (atomic_op:BWD (match_dup 0) (match_dup 1))] - "" + "mode == QImode || !TARGET_ATOMICS_MAY_CALL_LIBFUNCS" { enum memmodel mmodel = (enum memmodel) INTVAL (operands[3]);