aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_test_conv.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-08-16 11:50:17 +0100
committerJosé Fonseca <[email protected]>2009-08-29 09:21:32 +0100
commit818d444e12bb57568fbf3bf5f06ee24c6c73a61a (patch)
tree4abd55212b63a898e8e5d56d77f0a9959ce2ff84 /src/gallium/drivers/llvmpipe/lp_test_conv.c
parenta7f9b915aeade96d8ca58d70a1f1d42cd6a16e3d (diff)
llvmpipe: Disassemble generated x86 code.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_test_conv.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_test_conv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_test_conv.c b/src/gallium/drivers/llvmpipe/lp_test_conv.c
index 7e8b9347c22..91815509b79 100644
--- a/src/gallium/drivers/llvmpipe/lp_test_conv.c
+++ b/src/gallium/drivers/llvmpipe/lp_test_conv.c
@@ -36,6 +36,7 @@
#include "lp_bld_type.h"
#include "lp_bld_conv.h"
+#include "lp_bld_debug.h"
#include "lp_test.h"
@@ -217,6 +218,9 @@ test_one(unsigned verbose,
conv_test_ptr = (conv_test_ptr_t)LLVMGetPointerToGlobal(engine, func);
+ if(verbose >= 2)
+ lp_disassemble(conv_test_ptr);
+
success = TRUE;
for(i = 0; i < n && success; ++i) {
unsigned src_stride = src_type.length*src_type.width/8;