[LLVMdev] JIT on Intel KNC

Frank Winter fwinter at jlab.org
Mon Dec 2 14:51:40 PST 2013


Hi,

in the past few weeks we were able to confirm that the LLVM's JIT 
compiler can be used for our research project. This was confirmed for 
x86-64 architecture (with very good performance results by the way).

Now, one of our real target architecture is the Intel Xeon Phi (KNC) 
accelerator in a native execution model. When cross-compiling LLVM (3.4 
RC1) for Xeon Phi with CMake following the Intel guidelines (for general 
cross-compilation), the compilation process stops with

[ 88%] Building CXX object 
lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86ISelLowering.cpp.o
[ 88%] Building CXX object 
lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86InstrInfo.cpp.o
[ 88%] Building CXX object 
lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86JITInfo.cpp.o
/tmp/icpcI3Tb9Aas_.s: Assembler messages:
/tmp/icpcI3Tb9Aas_.s:48: Error: `movaps' is not supported on `k1om'
/tmp/icpcI3Tb9Aas_.s:49: Error: `movaps' is not supported on `k1om'
/tmp/icpcI3Tb9Aas_.s:50: Error: `movaps' is not supported on `k1om'
/tmp/icpcI3Tb9Aas_.s:51: Error: `movaps' is not supported on `k1om'

It seems LLVM JIT for KNC is new territory.Can the JIT be used on this 
architecture? Are there only small patches necessary to get this to work?

Frank







More information about the llvm-dev mailing list