From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24307 invoked by alias); 29 Jan 2010 09:49:33 -0000 Received: (qmail 24297 invoked by uid 22791); 29 Jan 2010 09:49:32 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 29 Jan 2010 09:49:29 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NanTj-0006mJ-Es for gcc-help@gcc.gnu.org; Fri, 29 Jan 2010 01:49:27 -0800 Message-ID: <27369674.post@talk.nabble.com> Date: Fri, 29 Jan 2010 09:49:00 -0000 From: noeljohn To: gcc-help@gcc.gnu.org Subject: Re: Emission of store_multiple and load_multiple patterns In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <26739724.post@talk.nabble.com> <26775192.post@talk.nabble.com> <27351551.post@talk.nabble.com> X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2010-01/txt/msg00291.txt.bz2 Ian Lance Taylor-3 wrote: > > noeljohn writes: > >> The array as I have seen is not being treated as a vector. What it does >> is >> it directly loads the integer array data into the stack. This is normally >> done for processors which does not have a support for multiple loading >> and >> storing of words. Is there any way by which we can convey gcc through >> macros >> that our architecture supports this multiple loading and storing >> facility? > > I'm sorry, I don't understand what you mean. What specific > instruction are you trying to generate, and what precisely does it do? > When exact C code would you write that you would expect to generate > this instruction? > > Ian > > Hello Sir, The actual problem is that the array contents are not put in a separate data section we would see in .s file. Suppose we take a arm processor or rs6000 processor, a separate section will be created in which the array contents will be stored and then these array contents are loaded into the stack. I want this data section to be created. How should I go forward ? noeljohn -- View this message in context: http://old.nabble.com/Emission-of-store_multiple-and-load_multiple-patterns-tp26739724p27369674.html Sent from the gcc - Help mailing list archive at Nabble.com.