This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Different load/store instructions for different types of memory...
- From: Eric Peterson <ericgrog at yahoo dot com>
- To: help-gcc at gnu dot org
- Date: Thu, 5 Sep 2002 09:14:01 -0700 (PDT)
- Subject: Different load/store instructions for different types of memory...
I'm wondering how I could build a version of gcc where
it would emit different types of load/store
instructions based on a (for example) attribute I gave
to a type. For example:
int p1* __attribute__((SRAM)); /* uses instructions
optimized for SRAM */
int p2* __atribute__((DRAM)); /* uses instructions
optimized for DRAM */
Am I on the right track using attributes here? If
so, a pointer to where I would begin to look to tweak
the compiler would be appreciated.
Regards,
Eric
<ericgrog@yahoo.com>
=====
Eric Peterson
ericgrog@yahoo.com
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com