public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "gjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/49857] Put constant switch-tables into flash
Date: Sun, 29 Jan 2012 16:24:00 -0000	[thread overview]
Message-ID: <bug-49857-4-fPrYMs40NU@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-49857-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49857

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|target                      |tree-optimization

--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-01-29 14:55:48 UTC ---
Changed component from "target" to "tree-optimization" because:

The code in tree-switch-conversion.c needs to be extended by, say, a target
hook that queries the backend for the right address space for the generated
lookup table, i.e. the CSWTCH.num objects.

This is needed for two reasons:

1) The data (CSWTCH.num) has to be located in the preferred section,
   i.e. in Flash and not in RAM.

2) The accesses have to use the right instructions, i.e. instructions to read
from non-generic address space (Flash) and not instructions to access generic
address space (RAM).


  parent reply	other threads:[~2012-01-29 14:56 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-26 20:50 [Bug target/49857] New: " gjl at gcc dot gnu.org
2011-07-26 20:57 ` [Bug target/49857] " eric.weddington at atmel dot com
2011-12-01 12:49 ` eric.weddington at atmel dot com
2012-01-07 12:23 ` gjl at gcc dot gnu.org
2012-01-29 16:24 ` gjl at gcc dot gnu.org [this message]
2012-01-29 17:42 ` [Bug rtl-optimization/49857] " steven at gcc dot gnu.org
2012-01-29 18:32 ` steven at gcc dot gnu.org
2013-03-22 14:45 ` jakub at gcc dot gnu.org
2013-05-31 10:59 ` jakub at gcc dot gnu.org
2013-06-01 13:41 ` gjl at gcc dot gnu.org
2014-04-22 11:37 ` jakub at gcc dot gnu.org
2014-04-22 14:30 ` gjl at gcc dot gnu.org
2015-04-22 12:06 ` jakub at gcc dot gnu.org
2015-07-16  9:18 ` rguenth at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-49857-4-fPrYMs40NU@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).