From: Borja F. <bor...@gm...> - 2011-05-25 21:55:57
|
Ok John thanks for looking into it. I'm still waiting a reply from the llvmdev list about reserving the Y reg only if accessing the stack, i bumped the issue again to see if somebody replies. Always reserving the Y reg would very bad for memory operations. 2011/5/25 John Myers <ato...@gm...> > > > On Wed, May 18, 2011 at 2:59 PM, Borja Ferrer <bor...@gm...>wrote: > >> PS: John, with clang do you get doubles or long long variables aligned to >> an 8 byte boundary? I've set their alignments to 1 byte in a constructor >> (cant remember now the name, but it's in the clang patch files in svn) but >> they get aligned too much wasting memory. Any ideas there? >> > I've never checked the correctness of what the AVR target info produces. > It's basically a patchwork of other targets like PIC16 and MSP430. There > isn't much clang documentation for creating a port (at least compared to > LLVM). I also think clang is X86 centric and has some hard coded assumptions > of the Target. There are more src files that will need to be modified in > clang but I believe Target.cpp is the minimum that allows it to be compiled. > I'll try to find some time to look into it. > |