From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26746 invoked by alias); 2 Jul 2007 05:04:26 -0000 Received: (qmail 26738 invoked by uid 22791); 2 Jul 2007 05:04:25 -0000 X-Spam-Check-By: sourceware.org Received: from ug-out-1314.google.com (HELO ug-out-1314.google.com) (66.249.92.168) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 02 Jul 2007 05:04:23 +0000 Received: by ug-out-1314.google.com with SMTP id m2so533033ugc for ; Sun, 01 Jul 2007 22:04:20 -0700 (PDT) Received: by 10.67.96.1 with SMTP id y1mr2980383ugl.1183352660833; Sun, 01 Jul 2007 22:04:20 -0700 (PDT) Received: from scientist.local ( [213.140.22.65]) by mx.google.com with ESMTP id 31sm14513304fkt.2007.07.01.22.04.18 (version=SSLv3 cipher=RC4-MD5); Sun, 01 Jul 2007 22:04:19 -0700 (PDT) Message-ID: <46888752.2040207@gnu.org> Date: Mon, 02 Jul 2007 05:04:00 -0000 From: Paolo Bonzini User-Agent: Thunderbird 2.0.0.4 (Macintosh/20070604) MIME-Version: 1.0 To: David Daney CC: gcc-patches@gcc.gnu.org Subject: Re: [Patch] 1/3 Add new builtin __builtin_flush_icache(). References: <468734D3.3020908@avtrex.com> <46875F54.8070905@gnu.org> <4687F6C1.6050906@avtrex.com> In-Reply-To: <4687F6C1.6050906@avtrex.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2007-07/txt/msg00068.txt.bz2 > 1) Rename the new builtin to __builtin_clear_cache (char *beg , char > *end), and have it call the function in libgcc if there is not an inline > expansion for it? (And use libgcc's prototype). This would be the cleanest. This, plus, try to see how __clear_cache could use the definition of the builtin. Paolo