From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 73273 invoked by alias); 3 Nov 2017 02:26:45 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 73245 invoked by uid 89); 3 Nov 2017 02:26:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:879 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 03 Nov 2017 02:26:42 +0000 Received: from svr-orw-mbx-03.mgc.mentorg.com ([147.34.90.203]) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1eARgs-0002er-Pk from Sandra_Loosemore@mentor.com ; Thu, 02 Nov 2017 19:26:38 -0700 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Thu, 2 Nov 2017 19:26:36 -0700 Subject: Re: [PATCH 5/6] [ARC] Add 'uncached' attribute. To: Claudiu Zissulescu , References: <1509625835-22344-1-git-send-email-claziss@synopsys.com> <1509625835-22344-6-git-send-email-claziss@synopsys.com> CC: , From: Sandra Loosemore Message-ID: <59FBD3DB.7050507@codesourcery.com> Date: Fri, 03 Nov 2017 02:26:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <1509625835-22344-6-git-send-email-claziss@synopsys.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SVR-ORW-MBX-05.mgc.mentorg.com (147.34.90.205) To svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) X-SW-Source: 2017-11/txt/msg00148.txt.bz2 On 11/02/2017 06:30 AM, Claudiu Zissulescu wrote: > From: claziss > > The _Uncached type qualifier can be used to bypass the cache without > resorting to declaring variables as volatile. > > gcc/ > 2017-07-12 Claudiu Zissulescu > > * config/arc/arc-protos.h (arc_is_uncached_mem_p): Function proto. > * config/arc/arc.c (arc_handle_uncached_attribute): New function. > (arc_attribute_table): Add 'uncached' attribute. > (arc_print_operand): Print '.di' flag for uncached memory > accesses. > (arc_in_small_data_p): Do not consider for small data the uncached > types. > (arc_is_uncached_mem_p): New function. > * config/arc/predicates.md (compact_store_memory_operand): Check > for uncached memory accesses. > (nonvol_nonimm_operand): Likewise. I see no documentation here. -Sandra