[cfe-dev] Functions in non-default address space.

Eli Friedman eli.friedman at gmail.com
Wed May 6 00:27:23 PDT 2009


On Tue, May 5, 2009 at 11:59 PM, Sanjiv Gupta
<sanjiv.gupta at microchip.com> wrote:
> We emit 'bank selection' insns before any insn that access data memory.  For
> example, a global int a; (GlobalAddress a) should have a banksel emitted
> while anything that access "foo()"  (GlobalAddress foo) need not.
> Are you saying to distinguish GloalAddress that are functions from those
> that are not?

I'm not familiar with the details of the backend, but I think you
should distinguish between calls and loads/stores for that sort of
thing.

-Eli




More information about the cfe-dev mailing list