search for: fancyaddresspac

Displaying 4 results from an estimated 4 matches for "fancyaddresspac".

Did you mean: fancyaddresspace
2012 May 07
2
[LLVMdev] Address space information dropped
...ugh a target-depend asm directive. >> At the moment, I've overridden EmitGlobalVariable() from AsmPrinter >> because I didn't see any other spot to put this special directive. > Have you thought about always tagging such global variables with > __attribute__((section("fancyaddresspace"))) as well? That seems to be > the sanest way I can think of. Yes, but it seems a little odd to me. Is it correct to assume that different sections imply different address spaces ? I rather wanted to have a special asm directive on the top of section definitions to switch between memor...
2012 May 07
0
[LLVMdev] Address space information dropped
...rmation > through a target-depend asm directive. > At the moment, I've overridden EmitGlobalVariable() from AsmPrinter > because I didn't see any other spot to put this special directive. Have you thought about always tagging such global variables with __attribute__((section("fancyaddresspace"))) as well? That seems to be the sanest way I can think of. Joerg
2012 May 07
2
[LLVMdev] Address space information dropped
Thanks for your quick response Joerg. We have a very small test case where there is global array and its address space attribute specified like in the following code const int __attribute__((address_space(256))) fangle[13] = {2341, 4681, 7022, 9362, 11703, 1403,16384, 18725, 21065, 23406, 25746, 28087, 30427}; I need to put its initializer in another memory because it has a different
2012 May 08
0
[LLVMdev] Address space information dropped
...end asm directive. > >>At the moment, I've overridden EmitGlobalVariable() from AsmPrinter > >>because I didn't see any other spot to put this special directive. > >Have you thought about always tagging such global variables with > >__attribute__((section("fancyaddresspace"))) as well? That seems to be > >the sanest way I can think of. > > Yes, but it seems a little odd to me. Is it correct to assume that > different sections imply different address spaces ? > I rather wanted to have a special asm directive on the top of > section definiti...