From: Stepan D. <stp...@na...> - 2013-06-22 19:32:53
|
So I suppose, I need analyze Op in SelectInlineAsmMemoryOperand, then create virtual reg of PTRDISPREGS class and use it. -Stepan. Stepan Dyatkovskiy wrote: > Hi Borja, > > Borja Ferrer wrote: >> Resending the email to the list without any previous emails: >> >> Hello Stepan, >> >> 1) This should be fixed now with my last commit. >> 2) I dont really understand what you mean. Can you expand a bit more here? > > Currently for line: > > call void asm "some_instr $0", "=*Q"(i16* @b) > > It does emit: > > ldi r24, lo8(b) > ldi r25, hi8(b) > ;APP > some_instr [r24] > > While it shuold emit Y+q instead of r24 e.g.: > > ldi YL , lo8(b) > ldi YH , hi8(b) > ;APP > some_instr Y+1 > > -Stepan > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > avr-llvm-devel mailing list > avr...@li... > https://lists.sourceforge.net/lists/listinfo/avr-llvm-devel > |