On Tue, May 28, 2002 at 05:46:36PM +0100, Keith Whitwell wrote: > Michael, > > Did you ever come up with a better way of organizing the codegen templates > in radeon_vtxfmt_x86.c ?
I didn't get as far as writing anything unfortunately. My idea was pretty much what you've got below, a .s file that you copy and fixup, so that you can change the assembler easier. We did talk a bit about the fixup, it'd be nice to have the .s file generate the labels without needing to calc offsets, with something like a MOVL(LabelName, reg) macro? I don't know what the assembler gives you to do that. > However I'm getting odd & hard-to-explain results... In that example it looks like you're using %eax for src and dst? I have some code that does this and it has .section blah, "x" .data not .text I don't know how significant that is, if at all. -- Michael. _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
