Mike Mestnik wrote:
--- Ian Romanick <[EMAIL PROTECTED]> wrote:

Assembly dispatch stubs are only generated for x86 and SPARC. It looks like the #if test in dispatch.c is wrong, so that stubs don't even get used on SPARC. In any case, Jakub's patch did modify the x86 assembly, not the C version. I wasn't really clear about that before. My proposal is to modify the C version, the x86 assembly version, and the SPARC assembly version. I've worked up a patch to gl_x86_asm.py that I can post on Monday.

Just to get every one on the same page. The SPARC assembly version is only for solaris. It dose not, and can not, even build on linux! Last time I checked DRI would not build on SPARC/Linux, crashing on the Solaris ASM code.

Does the code in src/mesa/glapi/glapi.c (generate_entrypoint specifically) cause the crash or just the code in src/mesa/sparc/glapi_sparc.S? My guess is that Linux uses 32-bit user-mode, but the asm code in glapi_sparc.S defaults to 64-bit on v9. Perhaps we could come up with a better define, such as USE_SPARC_32BIT_USER to determine which stubs to build.





-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to