Commit graph

40 commits

Author SHA1 Message Date
Brian Paul
0bb852fa49 gallium: thread wrapper clean-up
In p_thread.h replace _glthread_* functions with new pipe_* functions.
Remove other old cruft.
2008-08-26 16:35:12 -06:00
Brian Paul
4f25420bdd gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h
Also, rename p_tile.[ch] to u_tile.[ch]
2008-08-24 17:48:55 -06:00
José Fonseca
aa1a39d1a7 rtasm: Use enum sse_cc in sse_cmpps. 2008-06-02 20:46:05 +09:00
Jakob Bornecrantz
3869c3c87a Merge branch 'gallium-tex-surfaces' into gallium-0.1
Conflicts:

	src/gallium/drivers/i915simple/i915_context.h
2008-05-30 13:46:18 +02:00
Keith Whitwell
648da5158e rtasm: special case for [ebp] 2008-05-28 17:06:18 +01:00
Jakob Bornecrantz
938d9d5963 Merge branch 'gallium-vertex-linear' into gallium-0.1
Conflicts:

	src/gallium/auxiliary/draw/draw_pt_varray.c
2008-05-28 12:42:42 +02:00
José Fonseca
55d29a8d48 gallium: Windows CE portability fixes. 2008-05-28 16:13:24 +09:00
Keith Whitwell
6b3723ee8d rtasm: add some helpers for calling out from generated code 2008-05-24 13:22:15 +01:00
Keith Whitwell
6f407b0724 rtasm: remove debug 2008-05-23 09:16:57 +01:00
Keith Whitwell
030af06691 rtasm: add x87 instructions and debug-check for x87 stack usage 2008-05-23 09:16:56 +01:00
Keith Whitwell
d3e64caef6 rtasm: export debug reg print function 2008-05-23 09:16:55 +01:00
Keith Whitwell
9232f0c023 rtasm: remove unused struct member 2008-05-23 09:16:55 +01:00
Keith Whitwell
2c89b75e36 rtasm: learn another version of push 2008-05-01 20:49:45 +01:00
Keith Whitwell
fb3623b235 rtasm: fix labels after (not so) recent change to allow dynamic fn growth
Using char * for labels doesn't work if you realloc the function
during assembly and free the old storage...
2008-05-01 20:49:45 +01:00
Keith Whitwell
727257f320 rtasm: assert stack is fully popped in return 2008-05-01 15:37:30 +01:00
Michal Krol
58d3dff0d3 gallium: Generate SSE code to swizzle and unswizzle vs inputs and outputs.
Change SSE_SWIZZLES #define to 0 to disable it.
2008-04-28 18:50:58 +02:00
José Fonseca
e3c4159957 rtasm: Implement x86_retw. 2008-04-27 21:09:45 +09:00
Keith Whitwell
a945420ae6 rtasm: debug some missing funcs 2008-04-21 19:48:21 +01:00
Keith Whitwell
73706deef5 rtasm: quieten sse_enabled debug 2008-04-21 19:48:08 +01:00
Keith Whitwell
73c2711bb1 rtasm: clean up debug dumping a little 2008-04-21 19:43:53 +01:00
Keith Whitwell
b17e123a8f rtasm: propogate errors in x86 emit 2008-04-21 19:12:08 +01:00
Keith Whitwell
b6c9d2ef2c rtasm: add dump facility for x86 (from tgsi_sse2.c) 2008-04-21 13:14:30 +01:00
José Fonseca
40e0439db4 gallium: Centralize SSE usage logic. 2008-04-21 13:02:59 +09:00
Keith Whitwell
af523a5bd7 rtasm: include yet another i386 define varient 2008-04-19 18:27:29 +01:00
Keith Whitwell
363f7abf20 rtasm: add x86_imul 2008-04-18 18:32:37 +01:00
Keith Whitwell
5b97c762ed rtasm: add a couple more insns, clean up x86_mul 2008-04-18 18:32:36 +01:00
Keith Whitwell
4d184cc331 gallium: fix broken x86_call() 2008-04-11 14:19:31 -06:00
Ian Romanick
84d8030735 cell: Float convert-to and convert-from instructions use different shift bias 2008-03-25 18:15:58 -07:00
Ian Romanick
9f106a8683 cell: Don't free NULL code pointers 2008-03-17 16:07:54 -07:00
Ian Romanick
0c715de39f cell: Fix simple register allocator
THere are 64-bits in a uint64_t, not 128.  Duh.
2008-03-17 15:47:45 -07:00
Ian Romanick
b1525662b3 Move SPE register allocator to rtasm code
Move the register allocator to a common location.  There is more code
on the way that will make use of this interface.
2008-03-10 17:00:44 -07:00
Michal Krol
57060bc1fa gallium: Silence compiler warnings on Windows. 2008-02-23 00:51:15 +09:00
José Fonseca
5480a6bc13 Fix windows build. 2008-02-19 18:57:25 +09:00
José Fonseca
5d78212d75 Bring in ppc spe rtasm into gallium's rtasm module.
Moving files since these are not being used outside gallium.
2008-02-19 14:06:11 +09:00
José Fonseca
b0eef0dc25 Add run-time cpu capabilities detection stubs. 2008-02-19 14:06:11 +09:00
José Fonseca
90b2beb661 Simplify makefile boilerplate code.
Don't define ASM_SOURCES variable globally -- reserve that variable to be defined
locally by makefiles, together with C_SOURCES and CPP_SOURCES.
2008-02-19 14:06:11 +09:00
José Fonseca
17158c2f00 Move mm.c code into util module.
Using the u_ prefix to distingish the c source files that support gallium
interfaces and those that have really no relation with gallium itself.
2008-02-19 14:01:49 +09:00
José Fonseca
d2f6c9ab10 Add copyright headers to all rtasm source files. 2008-02-19 14:01:49 +09:00
José Fonseca
39ea030842 Rename rtasm files. 2008-02-19 14:01:49 +09:00
José Fonseca
df8ab3140c Bring rtasm from mesa to gallium. 2008-02-19 14:01:49 +09:00