----- Original Message ----- > Hello, > Can we use llvmpipe for arm architecture.(Specifically ARM cortexA-9) > ??
It has never been tried before, so have no idea how close it is of working. > I tried & found below error. > > Unhandled instruction encoding format! > UNREACHABLE executed at ARMCodeEmitter.cpp:534! > Aborted > > Version used : llvmpipe3.0,Mesa-8.0 > > Any hint or info will be helpfull. You should run inside a debugger and see the stack trace when LLVM aborts. You can also see the LLVM IR by setting the following env var: GALLIVM_DEBUG=ir Or dump it to a file by applying this change: diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c index ff78b9d..ab37950 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c @@ -812,7 +812,7 @@ generate_fragment(struct llvmpipe_context *lp, } /* Dump byte code to a file */ - if (0) { + if (1) { LLVMWriteBitcodeToFile(gallivm->module, "llvmpipe.bc"); } Jose _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev