News for hackers. Stuff that matters.
Re:Intel Licenses ARM Technology to Boost Foundry Business by detaro on Tuesday August 16, 2016 @09:09PM (#12301819)
> If it were just part of the actual compiler wouldn't that save power and heat?

That gives less flexibility to the processor maker for individual optimizations. A CPU can optimize its microcode generation to use its hardware as efficiently as possible. Made a hardware change that can be used for more performance?

Update the microcode generator and ship the new CPU, all updated (complex) instructions build on that are automatically faster/more efficient/whatever you optimized.

If you compile to microcode-equivalent, your compilers don't know about the new detail, so they won't try to use it. So you need to ship a new CPU, and then update all compilers to know about your new microcode, and get software recompiled, and worst case shipped in both a version for your new and all old CPUs, ...

Giving the CPU abilities to change things about how it exactly executes code means the compiler has to know less about the specific CPU running the code later.

AFAIK this is one of the things that killed the Itanium line: they tried to rely on sufficiently smart compilers instead of hardware optimizations, and had a hard time to adapt the code running to innovations on the hardware level.

Re:Intel Licenses ARM Technology to Boost Foundry Business by icebraining on Wednesday August 17, 2016 @04:55AM (#12303245)
There's an alternative: running an optimization step after software installation, like Android's ART does.