Different load/store instructions for different types of memory...
Eric Peterson
ericgrog@yahoo.com
Thu Sep 5 09:14:00 GMT 2002
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
More information about the Gcc-help
mailing list