From: Borja F. <bor...@gm...> - 2010-11-04 19:21:24
|
Ahh thanks for the replies, this brings to me some other doubts. If gcc doesnt support different ptr sizes, when it comes to the code emission stage, when doing a load or a store for the 8bit ptr case, does it move the whole reg pair addr to X/Y/Z or it knows it only needs the lower half because the upper is always 0, otherwise it is a huge waste. If clang supports named spaces then it's great as Kevin pointed out. I'm a bit concerend about portability in different devices because sizeof(void *) is going to be 1, 2 or 3, do you think this can cause any issues? About what John mentioned, what would you suggest Eric to overcome this issue? you're the libc expert here, so how would you manage different ptr sizes in the library? |