[cfe-dev] Functions in non-default address space.
Sanjiv Gupta
sanjiv.gupta at microchip.com
Wed May 6 01:04:11 PDT 2009
Eli Friedman wrote:
> 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
>
Right. That's what I am currently doing, deciding on the basis of
opcode. Was curious, if it possible to get this info from the operands
itself.
Thanks anyways.
- Sanjiv
More information about the cfe-dev
mailing list