From: John M. <ato...@gm...> - 2010-11-02 03:33:54
|
> Another thing, i dont know how feasible is doing this, but should we make > program and data space addrs transparent to the user? > Yes I believe that would be a useful feature. I think we should try as much as possible without, of course, violating any language standards. It would allow users to write more portable/generic code. We probable should have a command line option to enable/disable this so users have more control. LLVM has an address space qualifier mechanism already so I don't think it will take too much work. I think most of the work of making it transparent will need to be done in the front ends and optimizer passes. Either way (like a lot of commercial embedded compilers) we'll need to extend the type qualifiers to include things like *flash*, *eeprom*, *near* / *far *pointers... |