News for hackers. Stuff that matters.
Re:Libgccjit.so: an embeddable JIT-compiler based on GCC by rayiner on Thursday October 03, 2013 @11:05AM (#6489388)
LLVM's instruction selection/legalization infrastructure is very sophisticated, very generic, table-driven, etc. Most JIT compilers use more ad-hoc and quicker mechanisms to get machine code out of IR.
Re:Libgccjit.so: an embeddable JIT-compiler based on GCC by foobarbazqux on Thursday October 03, 2013 @11:33AM (#6489620)
Yeah okay. Someone else pointed out FastISel.cpp. It's probably true that prettiness competes with performance.
Re:Libgccjit.so: an embeddable JIT-compiler based on GCC by rayiner on Thursday October 03, 2013 @12:46PM (#6490177)
FastISel will quite often kick out to the regular instruction selector because it can't handle particular IR constructs.