<div dir="ltr">Hello,<div><br></div><div>I'm using Mono with experimental LLVM backend support on PowerPC. I noticed that although LLVM's IR contains SIMD instructions the assembly produced doesn't contain any Altivec instructions and my PowerPC970 machine of course has Altivec support. Isn't there some kind of autodetection? I searched in Target sources but only found out that Altivec is disabled by default.</div>

<div><br></div><div>Can I turn Altivec support on (and off, I need both cases) from the code? Some info: Mono's utilizes LLVM in this way:</div><div><br></div><div>LLVMInitializePowerPCTarget ();</div><div>LLVMInitializePowerPCTargetInfo ();</div>

<div>ExecutionEngine *EE = ExecutionEngine::createJIT ( ... );</div><div>fpm = new FunctionPassManager ( ... );</div><div><div>fpm->add(new TargetData(*EE->getTargetData()));</div><div><br></div><div>and then uses ExecutionEngine object for compiling functions.</div>

<div><br></div>-- <br>Regards,<br>Sergei Dyshel<br>
</div></div>