From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Riadh Elloumi Newsgroups: gmane.emacs.help Subject: Re: How to dissociate constants from text Date: Wed, 19 Apr 2006 18:38:29 +0200 Organization: ImagiNET / Colt Internet Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1145464982 6132 80.91.229.2 (19 Apr 2006 16:43:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Apr 2006 16:43:02 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 19 18:43:00 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FWFlP-0008KB-7p for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Apr 2006 18:42:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FWFlO-0008SH-PE for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Apr 2006 12:42:46 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!colt.net!fr.colt.net!writer!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: 202.91-14-84.ripe.coltfrance.com Original-X-Trace: reader1.imaginet.fr 1145462539 15257 84.14.91.202 (19 Apr 2006 16:02:19 GMT) Original-X-Complaints-To: abuse@imaginet.fr Original-NNTP-Posting-Date: 19 Apr 2006 16:02:19 GMT User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060205 Debian/1.7.12-1.1 X-Accept-Language: en Original-Xref: shelby.stanford.edu gnu.emacs.help:138856 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34476 Archived-At: Sorry for the confusion between emacs and gcc forums. Sure this is not the right place for my post. Riadh Elloumi wrote: > Hi all, > > We are using GCC 3.3.3 cross compilation to ARM9e target. In our ARM9 > chip, we have TCM (tightly coupled memory) which is divided in 32K > instrcutions (I-TCM) and 32K data (D-TCM). As this memory has a Harvard > architecture, we get 1 wait state when loading a data from the > instruction part (I-TCM), and zero wait state when fetching it from > D-TCM. But arm-elf-gcc involves some constants in the end of functions > and this makes the code slower when executed in I-TCM than in cache... > > Is there any option in gcc, or a patch to make him separate these > constants from the functions, and map them in, let's say, a .constants > section that we can load in D-TCM. > > Thank you in advance for your help. > > Riadh. > -- Riadh Elloumi Software Architect PARROT SA 174, quai de Jemmapes 75010 Paris, France Tel +33 (0) 1 48 03 70 14 Fax +33 (0) 1 48 03 06 66 Email: riadh.elloumi@parrot.fr http://www.parrot.biz