Re:Intel and AMD Contemplate Different Replacements for x86 ...
by warkdarrior on Friday June 04, 2021 @06:54PM
(#27400001)
Interesting. So what happens if the program does not test for the page? Doesn't the processor have to handle that as an exception of sorts?
[ Parent
| on HN ]
Re:Intel and AMD Contemplate Different Replacements for x86 ...
by rwmj on Saturday June 05, 2021 @02:12AM
(#27402661)
This is why you need a trusted compiler. Basically it's "insecure by design" since the whole point of this optimization is to avoid any asynchronous exception so there's no need to implement that in the pipeline. The machine code must be forced somehow to implement these checks.
There have been architectures which have required a trusted compiler (eg. the Burroughs mainframes) or a trusted verifier (the JVM, NaCl). But it certainly brings along a set of problems.
It's unclear from here whether this is even an optimization. It looked a lot more compelling back in the mid 90s.