From 818d444e12bb57568fbf3bf5f06ee24c6c73a61a Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Sun, 16 Aug 2009 11:50:17 +0100 Subject: llvmpipe: Disassemble generated x86 code. --- src/gallium/drivers/llvmpipe/lp_test_conv.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gallium/drivers/llvmpipe/lp_test_conv.c') 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; -- cgit v1.2.3