[Mesa-dev] [PATCH 5/6] rtasm: add minimal x86-64 support and new instructions

2010-08-13 Thread Luca Barbieri
This commit adds minimal x86-64 support: only movs between registers are supported for r8-r15, and x64_rexw() must be used to ask for 64-bit operations. It also adds several new instructions for the new translate_sse code. --- src/gallium/auxiliary/rtasm/rtasm_cpu.c|6 +- src/gallium/auxi

Re: [Mesa-dev] [PATCH 5/6] rtasm: add minimal x86-64 support and new instructions

2010-08-12 Thread Luca Barbieri
> Hey Luca -- I have to ask how far you're thinking of going with rtasm on > x86-64...  I can say from experience that while it's a nice utility for > generating very simple assembly (as in translate), as soon as you start > getting into anything more complex, llvm is by far the better choice... T

Re: [Mesa-dev] [PATCH 5/6] rtasm: add minimal x86-64 support and new instructions

2010-08-12 Thread Keith Whitwell
On Thu, 2010-08-12 at 10:09 -0700, Luca Barbieri wrote: > This commit adds minimal x86-64 support: only movs between registers > are supported for r8-r15, and x64_rexw() must be used to ask for 64-bit > operations. Hey Luca -- I have to ask how far you're thinking of going with rtasm on x86-64...

[Mesa-dev] [PATCH 5/6] rtasm: add minimal x86-64 support and new instructions

2010-08-12 Thread Luca Barbieri
This commit adds minimal x86-64 support: only movs between registers are supported for r8-r15, and x64_rexw() must be used to ask for 64-bit operations. It also adds several new instructions for the new translate_sse code. --- src/gallium/auxiliary/rtasm/rtasm_cpu.c|6 +- src/gallium/auxi