News for hackers. Stuff that matters.
Re:Author of LuaJIT explains why compilers can't beat hand-c... by kenjackson on Thursday May 26, 2011 @06:20PM (#2589643)
Some of those loads are unexpected. Can you verify that /O2 optimization is on (since release builds can, in theory, have optimizations off).
Re:Author of LuaJIT explains why compilers can't beat hand-c... by chrisb on Thursday May 26, 2011 @06:24PM (#2589656)
Yes - one of the first things I checked - I've tried it with /O2 and /Ox

Same result both times.

Re:Author of LuaJIT explains why compilers can't beat hand-c... by beagle3 on Thursday May 26, 2011 @08:59PM (#2590034)
If you have the time to play with it some more ... I wonder, does gcc or clang or icc do a better job?
Re:Author of LuaJIT explains why compilers can't beat hand-c... by chrisb on Friday May 27, 2011 @10:17AM (#2591508)
Unfortunately I don't have any of these compilers ready to use at the moment, but I may try some of them in a week or two.
Re:Author of LuaJIT explains why compilers can't beat hand-c... by jerhewet on Friday May 27, 2011 @09:36AM (#2591379)
ICC is pretty spectacular (and sometimes awesome!) at optimization.