News for hackers. Stuff that matters.
Re:Intel SA-00145: Lazy FP State Restore by ajross on Wednesday June 13, 2018 @10:31PM (#17308801)
Been there, done that, didn't work. VLIW has been tried a dozen times and failed every time.
Re:Intel SA-00145: Lazy FP State Restore by Symmetry on Thursday June 14, 2018 @09:21AM (#17311453)
I think you're being too dismissive here. First of all, VLIW has been hugely successful in DSP cores. Your phone probably has a few in it. Second, Itanium wasn't great but it wasn't terrible either. And the Transmeta/NVidia lineage have also been not terrible. There isn't any reason to choose them over a conventional OoO processor absent security concerns but if they really do help with security concerns then these approaches bear careful investigation.
Re:Intel SA-00145: Lazy FP State Restore by dnautics on Wednesday June 13, 2018 @11:07PM (#17308950)
machine learning has been tried a dozen times and failed every time.

Other developments catch up, like compiler technology. Not directly related to branch prediction, but: We are much better at polyhedral optimization than the last time people tried VLIW, for example.

Besides, the last major VLIW push (itanium) DID have SpecEx AND Branch Prediction, and did NOT have delay slots.

Re:Intel SA-00145: Lazy FP State Restore by ajross on Wednesday June 13, 2018 @11:34PM (#17309077)
Shrug. To paraphrase, your argument for "this can be done" is "THIS time will be different I swear!".

What will actually happen, of course, is that everyone will put a ASID/PCID as a tag word into all the relevant caches, they'll stop being probe-able from other contexts, and we'll all keep our deep pipelines and speculation and the cache crisis of 2018 will be just a story we tell our grandkids.

Much cheaper than a paradigm shift based on long-since tried and rejected technology.

Re:Intel SA-00145: Lazy FP State Restore by dnautics on Wednesday June 13, 2018 @11:37PM (#17309090)
you are fundamentally misunderstanding my argument: sometimes it is different. When it is different, it's usually because associated technologies has changed. For ML, it was GPUs and large amounts of data harvestable from the internet (arguably the second one more than the first). The evolutionary development in compilers is a strong argument that it MIGHT happen to end SpecEx. If it doesn't it's probably mostly due to technical debt and engineering inertia, difficulty convincing end users to adopt. There are definitely cases where non specex (vliw or otherwise) can outperform, I have seen it with my own eyes.
Re:Intel SA-00145: Lazy FP State Restore by ajross on Thursday June 14, 2018 @01:23AM (#17309502)
> If it doesn't it's probably mostly due to technical debt and engineering inertia

You jumped straight from "absence of proof must be proof of the opposite" into as bald a no true scotsmanism as I've seen recently. It's like fallacy central here.

Re:Intel SA-00145: Lazy FP State Restore by Dylan16807 on Thursday June 14, 2018 @03:29AM (#17310005)
An argument of the form "many X failed, but a new X might not" is not a form of no true scotsman. It would only be no true scotsman if the claim was "X always wins, and Itanium wasn't X"

But anyway I think they're making a fair argument. If something takes an enormous technical effort to switch to, and is similar in performance, nobody is going to put in that effort.

This is emphatically not evidence that the idea "doesn't work".

I believe if you could retroactively wipe out the last decade of improvement on x86 and Arm, and redirect all of that development effort to VLIW, the resulting chips and software would perform just fine by current standards.