summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/rtasm
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-04-21 19:48:21 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2008-04-21 19:48:21 +0100
commita945420ae6f96f0d7024f97e37ffd31329865a84 (patch)
tree717d05d758335dd43c805a3df03d0313afd2a713 /src/gallium/auxiliary/rtasm
parent73706deef59c35472d2410411403f30c9603f22f (diff)
rtasm: debug some missing funcs
Diffstat (limited to 'src/gallium/auxiliary/rtasm')
-rw-r--r--src/gallium/auxiliary/rtasm/rtasm_x86sse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/rtasm/rtasm_x86sse.c b/src/gallium/auxiliary/rtasm/rtasm_x86sse.c
index 10796c540d..3cd45d7dd9 100644
--- a/src/gallium/auxiliary/rtasm/rtasm_x86sse.c
+++ b/src/gallium/auxiliary/rtasm/rtasm_x86sse.c
@@ -364,6 +364,7 @@ void x86_jcc( struct x86_function *p,
unsigned char *label )
{
intptr_t offset = pointer_to_intptr( label ) - (pointer_to_intptr( x86_get_label(p) ) + 2);
+ DUMP_I(cc);
if (offset <= 127 && offset >= -128) {
emit_1ub(p, 0x70 + cc);
@@ -381,6 +382,7 @@ void x86_jcc( struct x86_function *p,
unsigned char *x86_jcc_forward( struct x86_function *p,
enum x86_cc cc )
{
+ DUMP_I(cc);
emit_2ub(p, 0x0f, 0x80 + cc);
emit_1i(p, 0);
return x86_get_label(p);
@@ -1365,6 +1367,7 @@ void x87_fnstsw( struct x86_function *p, struct x86_reg dst )
void mmx_emms( struct x86_function *p )
{
+ DUMP();
assert(p->need_emms);
emit_2ub(p, 0x0f, 0x77);
p->need_emms = 0;